Usa la API de n8n para comparar tu versión de n8n con la última versión publicada
Este es unDevOps, Multimodal AIflujo de automatización del dominio deautomatización que contiene 9 nodos.Utiliza principalmente nodos como If, N8n, Code, Html, HttpRequest. uso n8n API 比较您de n8n 版本与最新publicación
- •Pueden requerirse credenciales de autenticación para la API de destino
Nodos utilizados (9)
Categoría
{
"meta": {
"instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9"
},
"nodes": [
{
"id": "e70dcb2b-184f-4eb1-a9e3-69b0c583d411",
"name": "Nota adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
2128,
6544
],
"parameters": {
"color": 7,
"width": 1936,
"height": 928,
"content": "# 🔑 Test your n8n Version with HTTP Request\n\nThis workflow compares your **current n8n instance version** with the **latest release**. \nTo make it work, you need to set up your **n8n API credentials**.\n"
},
"typeVersion": 1
},
{
"id": "588b400f-76c4-40fa-a488-fa63cabb783e",
"name": "Nota adhesiva23",
"type": "n8n-nodes-base.stickyNote",
"position": [
1680,
6544
],
"parameters": {
"width": 400,
"height": 928,
"content": "\n\n## ⚙️ Setup Instructions\n\n### 1️⃣ Set Up n8n API Credentials\n1. In your **n8n instance** → go to **Admin Panel → API** \n2. Copy your **API Key** \n3. In **n8n → Credentials → New → n8n API** \n - Paste the API Key \n - Save it \n4. Attach this credential to the **n8n node** (`Set up your n8n credentials`) \n\n---\n\n## ✅ How It Works\n- **Get Most Recent n8n Version** → Fetches the latest release info from docs.n8n.io \n- **Extract Version + Clean Value** → Parses the version string \n- **Get your n8n version** → Reads the version of your own instance via API \n- **Compare** → Checks if your instance is up-to-date \n\n---\n\n## 📬 Contact\nNeed help setting up API credentials or running this workflow?\n\n- 📧 **robert@ynteractive.com** \n- 🔗 **[Robert Breen](https://www.linkedin.com/in/robert-breen-29429625/)** \n- 🌐 **[ynteractive.com](https://ynteractive.com)**\n"
},
"typeVersion": 1
},
{
"id": "9b890a79-1052-4bcc-a2d3-500e85ddb511",
"name": "Configurar tus credenciales de n8n",
"type": "n8n-nodes-base.n8n",
"disabled": true,
"position": [
2432,
7264
],
"parameters": {
"options": {},
"resource": "execution",
"operation": "get",
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"id": "fmmFU3Ale1HZvMIL",
"name": "n8n account 2"
}
},
"typeVersion": 1
},
{
"id": "3487da8d-0334-4a25-9fb2-c025677557d6",
"name": "Obtener la versión más reciente de n8n",
"type": "n8n-nodes-base.httpRequest",
"position": [
2656,
6832
],
"parameters": {
"url": "https://docs.n8n.io/release-notes/",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "4b4ae554-2376-4b2a-9a99-4815e532666d",
"name": "Obtener tu versión de n8n",
"type": "n8n-nodes-base.httpRequest",
"position": [
3440,
6992
],
"parameters": {
"url": "https://yourn8nurl.app.n8n.cloud/rest/settings",
"options": {},
"authentication": "predefinedCredentialType",
"nodeCredentialType": "n8nApi"
},
"credentials": {
"n8nApi": {
"id": "fmmFU3Ale1HZvMIL",
"name": "n8n account 2"
}
},
"typeVersion": 4.2
},
{
"id": "71face2b-d555-41e9-ad80-0128d6b56278",
"name": "Extraer versión",
"type": "n8n-nodes-base.html",
"position": [
2944,
7120
],
"parameters": {
"options": {},
"operation": "extractHtmlContent",
"extractionValues": {
"values": [
{
"key": "versions",
"cssSelector": "h2:contains(\"n8n@\")"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "2b506d24-badc-4af6-8d40-27a7ec3336e8",
"name": "Limpiar valor",
"type": "n8n-nodes-base.code",
"position": [
3184,
6816
],
"parameters": {
"jsCode": "// Strip \"n8n@\" prefix and trailing \"#\"\nconst raw = $json.versions || '';\nconst clean = raw.replace(/^n8n@/, '').replace(/#$/, '');\nreturn [{ version: clean }];\n"
},
"typeVersion": 2
},
{
"id": "4c7d9901-72b8-4e22-836e-525c24400729",
"name": "Probar tu versión",
"type": "n8n-nodes-base.if",
"position": [
3696,
6832
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "060eee63-3c1d-485f-bbcd-4d8b59579771",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.versionCli }}",
"rightValue": "={{ $('Clean Value').item.json.version }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "eec0952b-c17b-4961-85d3-92146b64d488",
"name": "Nota adhesiva55",
"type": "n8n-nodes-base.stickyNote",
"position": [
2336,
7008
],
"parameters": {
"color": 3,
"width": 288,
"height": 448,
"content": "### 1️⃣ Set Up n8n API Credentials\n1. In your **n8n instance** → go to **Admin Panel → API** \n2. Copy your **API Key** \n3. In **n8n → Credentials → New → n8n API** \n - Paste the API Key \n - Save it \n4. Attach this credential to the **n8n node** (`Set up your n8n credentials`) \n"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"2b506d24-badc-4af6-8d40-27a7ec3336e8": {
"main": [
[
{
"node": "4b4ae554-2376-4b2a-9a99-4815e532666d",
"type": "main",
"index": 0
}
]
]
},
"71face2b-d555-41e9-ad80-0128d6b56278": {
"main": [
[
{
"node": "2b506d24-badc-4af6-8d40-27a7ec3336e8",
"type": "main",
"index": 0
}
]
]
},
"4b4ae554-2376-4b2a-9a99-4815e532666d": {
"main": [
[
{
"node": "4c7d9901-72b8-4e22-836e-525c24400729",
"type": "main",
"index": 0
}
]
]
},
"3487da8d-0334-4a25-9fb2-c025677557d6": {
"main": [
[
{
"node": "71face2b-d555-41e9-ad80-0128d6b56278",
"type": "main",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - DevOps, IA Multimodal
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Robert Breen
@rbreenProfessional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.
Compartir este flujo de trabajo