This workflow corresponds to n8n.io template #4928 — we link there as the canonical source.
This workflow follows the Error Trigger → Telegram recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "oPfjCB6LU7nwNRiu",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Telegram-n8n-Commander",
"tags": [],
"nodes": [
{
"id": "7e8112a5-41a0-4e2e-b2ee-bef7b4a2a2c0",
"name": "Telegram Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
40,
-180
],
"parameters": {
"updates": [
"message"
],
"additionalFields": {
"chatIds": "123456789",
"userIds": "123456789"
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "2ea34661-3183-4e5b-876b-7d823b15b6e2",
"name": "Cmd Parse",
"type": "n8n-nodes-base.set",
"position": [
260,
-180
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "ce8eebdd-c313-4444-a1bd-dcde56619a0d",
"name": "command",
"type": "string",
"value": "={{\n $json.message.text\n .toLowerCase()\n .replace(/^\\//, '')\n .split(/ (.+)/)[0]\n || ''\n}}"
},
{
"id": "834f7369-52f1-4df3-bfcb-754be0bb11e0",
"name": "arg1",
"type": "string",
"value": "={{\n $json.message.text\n .toLowerCase()\n .replace(/^\\//, '')\n .split(/ (.+)/)[1]\n || ''\n}}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "ac92629e-1a7c-45ed-88e5-cb399ccb97fd",
"name": "Cmd Switch",
"type": "n8n-nodes-base.switch",
"position": [
480,
-320
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "start",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": false,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d5b702ed-dcaf-461a-a148-04b231d55617",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $('Cmd Parse').item.json.command }}",
"rightValue": "start"
}
]
},
"renameOutput": true
},
{
"outputKey": "help",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": false,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "e9ac521f-9416-4756-9f3c-9be5dd5a5ccb",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $('Cmd Parse').item.json.command }}",
"rightValue": "help"
}
]
},
"renameOutput": true
},
{
"outputKey": "backup",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": false,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "e20bdf17-2418-43ad-8b37-a4a5f4e46b2a",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $('Cmd Parse').item.json.command }}",
"rightValue": "backup"
}
]
},
"renameOutput": true
},
{
"outputKey": "cleanup",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": false,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "b1dfbc98-aac0-483c-a386-79180e96d0bb",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $('Cmd Parse').item.json.command }}",
"rightValue": "cleanup"
}
]
},
"renameOutput": true
},
{
"outputKey": "workflows",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": false,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "2524d410-a971-4a1f-b8a1-c30d363c6be6",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $('Cmd Parse').item.json.command }}",
"rightValue": "workflows"
}
]
},
"renameOutput": true
},
{
"outputKey": "execute",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": false,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "a27bd761-d2d6-4768-9449-ca5380db38ce",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $('Cmd Parse').item.json.command }}",
"rightValue": "execute"
}
]
},
"renameOutput": true
},
{
"outputKey": "activate",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": false,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "593d46f5-40ce-468a-b834-c2376dca1684",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $('Cmd Parse').item.json.command }}",
"rightValue": "activate"
}
]
},
"renameOutput": true
},
{
"outputKey": "deactivate",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": false,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "0ff85afd-02f8-42ad-b892-59b3dcf025a9",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $('Cmd Parse').item.json.command }}",
"rightValue": "deactivate"
}
]
},
"renameOutput": true
},
{
"outputKey": "executions",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": false,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "f5dee847-2c55-427f-a1f9-3f038f19e30e",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $('Cmd Parse').item.json.command }}",
"rightValue": "executions"
}
]
},
"renameOutput": true
}
]
},
"options": {
"ignoreCase": true,
"fallbackOutput": "extra",
"renameFallbackOutput": "Error"
}
},
"executeOnce": false,
"typeVersion": 3.2
},
{
"id": "3982240a-01cf-4e67-b342-3d93db95823e",
"name": "Execute Arg",
"type": "n8n-nodes-base.if",
"position": [
840,
-160
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d760c8fa-65bc-4ef5-a0b0-9bf1ef711db6",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "={{ $('Cmd Parse').item.json.arg1 }}",
"rightValue": "="
}
]
}
},
"typeVersion": 2.2
},
{
"id": "89cd3673-334b-48dd-9a7c-cf75fb057731",
"name": "Activate Workflow",
"type": "n8n-nodes-base.n8n",
"onError": "continueErrorOutput",
"position": [
2440,
20
],
"parameters": {
"operation": "activate",
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "21192505-acee-40cf-9919-f45ad47889d1",
"name": "Deactivate Workflow",
"type": "n8n-nodes-base.n8n",
"onError": "continueErrorOutput",
"position": [
2440,
200
],
"parameters": {
"operation": "deactivate",
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "c20275b8-d100-4337-8c3e-4a14753a65e0",
"name": "Activate Arg",
"type": "n8n-nodes-base.if",
"position": [
840,
20
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d760c8fa-65bc-4ef5-a0b0-9bf1ef711db6",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "={{ $('Cmd Parse').item.json.arg1 }}",
"rightValue": "="
}
]
}
},
"typeVersion": 2.2
},
{
"id": "0b7ae6dc-20bf-49ef-80cc-811f9c403654",
"name": "Deactivate Arg",
"type": "n8n-nodes-base.if",
"position": [
840,
200
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d760c8fa-65bc-4ef5-a0b0-9bf1ef711db6",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "={{ $('Cmd Parse').item.json.arg1 }}",
"rightValue": "="
}
]
}
},
"typeVersion": 2.2
},
{
"id": "16672e7a-0c6d-4c16-b908-de68ce41d686",
"name": "Arg Error",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
1140,
660
],
"parameters": {
"text": "=\u274c This command requires an argument!",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "f512c74c-e552-472f-ba4f-aa02a4bed45c",
"name": "Cmd Error",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
840,
660
],
"parameters": {
"text": "=\u274c Invalid command!",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "409139e8-69b0-48c9-9e79-0d46a3f8b538",
"name": "Executed",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
-160
],
"parameters": {
"text": "=\u2705 Workflow executed.",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "a3065a7d-3306-46a4-948f-2b055ed7705b",
"name": "Activated",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
20
],
"parameters": {
"text": "=\u2705 Workflow activated.",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "8fb19383-e6de-4f59-a780-11c8092a9240",
"name": "Deactivated",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
200
],
"parameters": {
"text": "=\u2705 Workflow deactivated.",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "4dba4e0e-e012-4cbf-8a44-aadb0e27240a",
"name": "Workflow Name Error",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
1920,
660
],
"parameters": {
"text": "=\u274c Workflow name not found!",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1.2
},
{
"id": "b9aec466-d089-443c-b282-4c1892eebc32",
"name": "List Workflows 1",
"type": "n8n-nodes-base.n8n",
"position": [
1140,
-160
],
"parameters": {
"filters": {},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1
},
{
"id": "773f2140-a5c9-4744-9874-92fb3da5c7c8",
"name": "List Workflows 2",
"type": "n8n-nodes-base.n8n",
"position": [
1140,
20
],
"parameters": {
"filters": {},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1
},
{
"id": "e752a9b4-dda9-4ed9-be63-8c47f376fabe",
"name": "List Workflows 3",
"type": "n8n-nodes-base.n8n",
"position": [
1140,
200
],
"parameters": {
"filters": {},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1
},
{
"id": "efb0a48f-5ab8-4e2a-afc4-8508f557e3f6",
"name": "If Inactive",
"type": "n8n-nodes-base.if",
"position": [
1920,
20
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "43882ae1-cf25-46d2-9702-7035590b517c",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.active }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "b4392db6-84e2-46c5-9e0b-0d8aae707e05",
"name": "If Active",
"type": "n8n-nodes-base.if",
"position": [
1920,
200
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "43882ae1-cf25-46d2-9702-7035590b517c",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.active }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "3f700f24-d9fb-4e9d-81b9-51941dbd865f",
"name": "Workflow Active Error",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2220,
660
],
"parameters": {
"text": "=\u274c Workflow is already active!",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1.2
},
{
"id": "a078cf85-7ae3-41ca-8707-ea2732ebc683",
"name": "Workflow Inactive Error",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2220,
840
],
"parameters": {
"text": "=\u274c Workflow is already inactive!",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1.2
},
{
"id": "0d111278-5067-4340-933f-8aca588fd880",
"name": "List Workflows ",
"type": "n8n-nodes-base.n8n",
"position": [
840,
-340
],
"parameters": {
"filters": {},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "39d952ee-0a7e-4c3b-b5a1-1e2a27dd8abc",
"name": "Help",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
840,
-900
],
"parameters": {
"text": "=My commands are:\n\n\n\u2796 help\nList of commands.\n\n\u2796 cleanup\nDeletes all archived workflows.\n\n\u2796 backup\nBackup workflows and credentials.\n\n\u2796 workflows\nList all workflows.\n\n\u2796 execute <workflow-name>\nExecute a workflow.\n\n\u2796 activate <workflow-name>\nActivate a workflow.\n\n\u2796 deactivate <workflow-name>\nDeactivate a workflow.\n\n\u2796 executions <workflow-name>\nList last executions.\n\n\n\ud83d\udca1 To execute a workflow, it must have a trigger node of type \"When Executed by Another Workflow\". To activate a workflow, it must have a trigger node that supports activation.",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "eb4ef3de-ac0d-4387-9066-3d5297409158",
"name": "Workflow List",
"type": "n8n-nodes-base.set",
"position": [
1380,
-340
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "43a779d0-acf5-49d8-920a-590af435b7d1",
"name": "name",
"type": "string",
"value": "={{ $json.name }}"
},
{
"id": "09a74ca9-26fe-490f-b4db-c9c40200e2a5",
"name": "active",
"type": "boolean",
"value": "={{ $json.active }}"
}
]
}
},
"typeVersion": 3.4,
"alwaysOutputData": true
},
{
"id": "b9153d0c-24fe-44d7-9d6a-ad4f235d304c",
"name": "Workflows",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
-340
],
"parameters": {
"text": "={{ $json.msg }}",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "02e0030f-743f-4491-bf86-c5c39e4db4ba",
"name": "Workflow Found 1",
"type": "n8n-nodes-base.if",
"position": [
1620,
-160
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "18dab2ca-c722-4d2f-8d91-f24a12e28d91",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.isEmpty() }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "6dd81360-e878-4ee3-b73f-8f078824f536",
"name": "Workflow Found 2",
"type": "n8n-nodes-base.if",
"position": [
1620,
20
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "18dab2ca-c722-4d2f-8d91-f24a12e28d91",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.isEmpty() }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "4c2aad63-9d8a-4f45-8633-92b9742b0029",
"name": "Workflow Found 3",
"type": "n8n-nodes-base.if",
"position": [
1620,
200
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "18dab2ca-c722-4d2f-8d91-f24a12e28d91",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.isEmpty() }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "bdce9b81-d4a0-4be3-9abe-df48b2e8d633",
"name": "Not Archived",
"type": "n8n-nodes-base.filter",
"position": [
1140,
-340
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "075dd1e2-2580-4016-ba11-3b271049a718",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.isArchived }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2,
"alwaysOutputData": true
},
{
"id": "2fb0bf45-2f2f-4c3a-a6ef-4077c5f1a0de",
"name": "Find Workflow 1",
"type": "n8n-nodes-base.filter",
"position": [
1380,
-160
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "278fa2d1-3d8a-48b3-b898-0d81779bcb11",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.name.toLowerCase() }}",
"rightValue": "={{ $('Execute Arg').item.json.arg1 }}"
},
{
"id": "83bc1669-a58f-45c9-a6f3-4d3a94d72fa5",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.isArchived }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2,
"alwaysOutputData": true
},
{
"id": "e6532b4b-5791-4469-add8-49a23076d63e",
"name": "Find Workflow 2",
"type": "n8n-nodes-base.filter",
"position": [
1380,
20
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "278fa2d1-3d8a-48b3-b898-0d81779bcb11",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.name.toLowerCase() }}",
"rightValue": "={{ $('Activate Arg').item.json.arg1 }}"
},
{
"id": "ca761ff5-d7ac-4c11-b844-c10d34062fc4",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.isArchived }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2,
"alwaysOutputData": true
},
{
"id": "17f4b9aa-c855-4a40-9364-3c71db43c48c",
"name": "Find Workflow 3",
"type": "n8n-nodes-base.filter",
"position": [
1380,
200
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "278fa2d1-3d8a-48b3-b898-0d81779bcb11",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.name.toLowerCase() }}",
"rightValue": "={{ $('Deactivate Arg').item.json.arg1 }}"
},
{
"id": "6eec9d79-2ad2-40af-8baf-38ab772f6f0b",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.isArchived }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2,
"alwaysOutputData": true
},
{
"id": "6b8abadf-6bbf-4332-bd95-c1f2b8b29e62",
"name": "Executions Arg",
"type": "n8n-nodes-base.if",
"position": [
840,
380
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d760c8fa-65bc-4ef5-a0b0-9bf1ef711db6",
"operator": {
"type": "string",
"operation": "notEmpty",
"singleValue": true
},
"leftValue": "={{ $('Cmd Parse').item.json.arg1 }}",
"rightValue": "="
}
]
}
},
"typeVersion": 2.2
},
{
"id": "3ee440a3-db15-4398-b337-246dccda4032",
"name": "List Workflows 4",
"type": "n8n-nodes-base.n8n",
"position": [
1140,
380
],
"parameters": {
"filters": {},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1
},
{
"id": "8391a4ec-b382-4062-92b5-0e174c606fd5",
"name": "Find Workflow 4",
"type": "n8n-nodes-base.filter",
"position": [
1380,
380
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "278fa2d1-3d8a-48b3-b898-0d81779bcb11",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.name.toLowerCase() }}",
"rightValue": "={{ $('Executions Arg').item.json.arg1 }}"
},
{
"id": "6eec9d79-2ad2-40af-8baf-38ab772f6f0b",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.isArchived }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2,
"alwaysOutputData": true
},
{
"id": "e6f15777-a0d8-4f2b-a086-f97887b1844a",
"name": "Workflow Found 4",
"type": "n8n-nodes-base.if",
"position": [
1620,
380
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "18dab2ca-c722-4d2f-8d91-f24a12e28d91",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.isEmpty() }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "1527438a-4600-4255-9034-0e5af7bd5581",
"name": "List Workflow Executions",
"type": "n8n-nodes-base.n8n",
"position": [
1920,
380
],
"parameters": {
"limit": 50,
"filters": {
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
}
},
"options": {},
"resource": "execution",
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "d9d7c222-ea4c-412a-98da-cd35f86f10f2",
"name": "Executions Fields",
"type": "n8n-nodes-base.set",
"position": [
2220,
380
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "0ec10b59-a57e-4b6d-a13a-9d2674fb39b3",
"name": "id",
"type": "string",
"value": "={{ $json.id }}"
},
{
"id": "18038ae8-3a18-4c6b-b97a-1f222bbe2547",
"name": "mode",
"type": "string",
"value": "={{ $json.mode }}"
},
{
"id": "90484316-e73a-41ff-9cb0-dbdfeaf6da11",
"name": "started",
"type": "string",
"value": "={{ $json.startedAt?.toDateTime().toLocal().format(\"dd/MM/yyyy HH:mm\") }}"
},
{
"id": "a56880cb-3c81-48fc-bd96-ec018e43ec5e",
"name": "workflow",
"type": "string",
"value": "={{ $('Workflow Found 4').item.json.name }}"
},
{
"id": "d89a11d0-2abd-4fad-ba64-510e9d922158",
"name": "finished",
"type": "boolean",
"value": "={{ $json.finished }}"
}
]
}
},
"typeVersion": 3.4,
"alwaysOutputData": true
},
{
"id": "589ffd48-f9d6-464d-93ff-a0bed5ccf528",
"name": "Executions",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
380
],
"parameters": {
"text": "={{ $json.msg }}",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "00bf4b6a-ec2f-4adb-a14c-38bafe69d7f2",
"name": "Executions Message",
"type": "n8n-nodes-base.code",
"position": [
2440,
380
],
"parameters": {
"jsCode": "let msg = \"Executions:\\n\\n\"\nif ($input.first().json.id === null) {\n return {\n json: {\n msg: \"No executions.\"\n }\n }\n}\nfor (const item of $input.all()) {\n let status = item.json.finished ? '\u2705' : '\u274c'\n let mode = item.json.mode === 'manual' ? ' (manual)' : ''\n msg = msg + (status + \" \" + item.json.workflow + \" - \" + item.json.id + \" - \" + item.json.started + mode + \"\\n\")\n}\nreturn {\n json: {\n msg: msg\n }\n}"
},
"typeVersion": 2
},
{
"id": "ec1c2591-4733-4057-9b0c-066b48514df8",
"name": "Workflows Message",
"type": "n8n-nodes-base.code",
"position": [
2440,
-340
],
"parameters": {
"jsCode": "let msg = \"Workflows:\\n\\n\"\nif ($input.first().json.name === null) {\n return {\n json: {\n msg: \"No workflows.\"\n }\n }\n}\nfor (const item of $input.all()) {\n let status = item.json.active ? '\ud83d\udfe2' : '\u26ab'\n msg = msg + (status + \" \" + item.json.name + \"\\n\")\n}\nreturn {\n json: {\n msg: msg\n }\n}"
},
"typeVersion": 2
},
{
"id": "003b5a55-64e4-4cf6-9f8a-8cf94a8e515b",
"name": "Execute Workflow",
"type": "n8n-nodes-base.executeWorkflow",
"onError": "continueErrorOutput",
"position": [
2440,
-160
],
"parameters": {
"options": {},
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}",
"cachedResultName": "={{ $json.id }}"
},
"workflowInputs": {
"value": {},
"schema": [],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": true
}
},
"typeVersion": 1.2
},
{
"id": "9687696c-62ec-4df1-a693-2da19675e6f1",
"name": "Execution Error",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
840
],
"parameters": {
"text": "=\u274c Workflow execution failed!",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "6af5662a-61dc-430c-8508-d910b2dc5617",
"name": "Activation Error",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
1020
],
"parameters": {
"text": "=\u274c Workflow activation failed!",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "77ab60c5-a1ef-4db7-8432-aece8a15ff17",
"name": "Deactivation Error",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
1200
],
"parameters": {
"text": "=\u274c Workflow deactivation failed!",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "d969f0a8-3589-4087-87b6-9404fec6a231",
"name": "List Archived",
"type": "n8n-nodes-base.n8n",
"position": [
840,
-520
],
"parameters": {
"filters": {
"activeWorkflows": false
},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "ef67572a-b733-4c5b-9783-a71638ebc597",
"name": "Only Archived",
"type": "n8n-nodes-base.filter",
"position": [
1140,
-520
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "075dd1e2-2580-4016-ba11-3b271049a718",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.isArchived }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2,
"alwaysOutputData": true
},
{
"id": "937ee3d9-3604-454b-86f6-ab069bdc3caf",
"name": "Archived Message",
"type": "n8n-nodes-base.code",
"position": [
2440,
-520
],
"parameters": {
"jsCode": "let msg = \"Archived Workflows Deleted:\\n\\n\"\nif ($('Archived List').first().json.name === null) {\n return {\n json: {\n msg: \"No archived workflows.\"\n }\n }\n}\nfor (const item of $('Archived List').all()) {\n msg = msg + (\"\ud83d\uddd1\" + \" \" + item.json.name + \"\\n\")\n}\nreturn {\n json: {\n msg: msg\n }\n}"
},
"typeVersion": 2
},
{
"id": "d344e304-fb23-4d2f-8bec-def3cab224e9",
"name": "Cleanup",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
-520
],
"parameters": {
"text": "={{ $('Archived Message').item.json.msg }}",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "f9dfff04-c969-4198-b541-9f7f1d00fd2c",
"name": "Archived List",
"type": "n8n-nodes-base.set",
"position": [
1380,
-520
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "c0da97ee-d423-48a7-8c79-58c43969a539",
"name": "name",
"type": "string",
"value": "={{ $json.name }}"
},
{
"id": "cba865ac-9909-4a1a-a6ae-58958135920c",
"name": "id",
"type": "string",
"value": "={{ $json.id }}"
}
]
}
},
"typeVersion": 3.4,
"alwaysOutputData": true
},
{
"id": "b21a04cc-93d2-418f-84d3-e1b48c3b3e8d",
"name": "Delete Archived",
"type": "n8n-nodes-base.n8n",
"onError": "continueRegularOutput",
"position": [
1620,
-520
],
"parameters": {
"operation": "delete",
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $('Archived List').item.json.id }}"
},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "fa38c779-7c83-442b-a5d0-7b69890abab9",
"name": "Backup Workflows",
"type": "n8n-nodes-base.executeCommand",
"onError": "continueRegularOutput",
"position": [
840,
-700
],
"parameters": {
"command": "n8n export:workflow --backup --output=/home/node/backup/workflows"
},
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "0313329a-6d7a-41fa-a34c-7267f20a1e60",
"name": "Backup Credentials",
"type": "n8n-nodes-base.executeCommand",
"onError": "continueRegularOutput",
"position": [
1140,
-700
],
"parameters": {
"command": "n8n export:credentials --backup --decrypted --output=/home/node/backup/credentials"
},
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "153ce344-c050-4ff9-a012-d69e7b80006d",
"name": "Backup Tarball",
"type": "n8n-nodes-base.executeCommand",
"onError": "continueRegularOutput",
"position": [
1380,
-700
],
"parameters": {
"command": "tar -czf /home/node/backup.tar.gz -C /home/node/backup workflows credentials"
},
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "91b1718a-197e-409d-b564-0618d271bb6b",
"name": "Backup",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
-700
],
"parameters": {
"chatId": "123456789",
"operation": "sendDocument",
"binaryData": true,
"additionalFields": {
"fileName": "backup.tar.gz"
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "dd089984-95f3-4093-8a42-679534411186",
"name": "Cleanup Files",
"type": "n8n-nodes-base.executeCommand",
"onError": "continueRegularOutput",
"position": [
2740,
-860
],
"parameters": {
"command": "rm -rf /home/node/backup /home/node/backup.tar.gz"
},
"typeVersion": 1
},
{
"id": "62dc0a94-036e-4872-b571-9e850dcb29c7",
"name": "Read File",
"type": "n8n-nodes-base.readWriteFile",
"onError": "continueErrorOutput",
"position": [
2440,
-700
],
"parameters": {
"options": {},
"fileSelector": "/home/node/backup.tar.gz"
},
"typeVersion": 1
},
{
"id": "f715531e-cd42-41c3-92c7-4a6d9230f84c",
"name": "Backup Error",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
2740,
660
],
"parameters": {
"text": "=\u274c Backup failed!",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "0d647969-f6e8-4e48-86dd-a359a1797609",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-100,
-1280
],
"parameters": {
"width": 680,
"height": 940,
"content": "# Telegram n8n Commander\nRemotely manage and operate your n8n instance from Telegram with powerful admin commands.\n\nThis workflow connects your n8n instance with a Telegram Bot, giving you remote control over key admin operations through simple chat commands.\n\n## Commands\n- List your workflows (**workflows**)\n\n- Execute a workflow (**execute** [name])\n\n- Activate/deactivate workflows (**activate** [name], **deactivate** [name])\n\n- List past executions (**executions** [name])\n\n- Permanently delete archived workflows (**cleanup**)\n\n- Create backups of all your workflows and credentials (**backup**)\n\n- Get help (**help**)\n\n- Get notified when a workflow fails and when n8n instance starts.\n\n## Notes\n- **execute**, **activate**, **deactivate**, and **executions** require the workflow name as argument.\n\n- To **execute** a workflow, it must have a trigger node of type \"When Executed by Another Workflow\".\n\n- To **activate** a workflow, it must have a trigger node that supports activation.\n\n- **backup** only works on self-hosted setups.\n\n- Your credentials will be decrypted in the backup file. Please take security precautions when using this file.\n\n- In each workflow that fails and you want to receive a warning, configure this workflow as Error Workflow in its settings.\n\n\n\n*(See the Setup note for instructions on how to set up this workflow.)*"
},
"typeVersion": 1
},
{
"id": "2b6e98a5-1197-4d5c-b589-220bce2ecd3e",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-100,
140
],
"parameters": {
"width": 680,
"height": 1260,
"content": "# Setup\nTo set up this workflow you will need credentials for your Telegram bot and for your n8n API. You will need to edit all Telegram Nodes and n8n Nodes.\n\n## Credentials\nFirst of all, let's create the necessary credentials.\nYou can see instructions on how to create credentials [here.](https://docs.n8n.io/credentials/)\n\n### n8n API\n- Go to your n8n settings, in the sidebar go to n8n API.\n- Click on the Create an API Key button. Then you must give the key a name and save it. Your key will only be displayed at this point; copy it for the next steps.\n- Now we can create a credential for the n8n nodes. Create a new n8n API credential and use the key we just created. You will need to configure your server address as well.\n\n### Telegram Bot\n- First you need to have a Telegram bot and its token.\n- In your Telegram application, start a conversation with @BotFather and send him the command /newbot, follow the steps and then he will create your bot and present your token.\n- You will also need your Telegram user's ChatID/UserID. This way we can protect this workflow so that it only responds to you on Telegram. You can use @userinfobot for this, see instructions [here.](https://bigone.zendesk.com/hc/en-us/articles/360008014894-How-to-get-the-Telegram-user-ID#:~:text=1.,The%20Number%20ID)\n- Now in your n8n create a Telegram API type credential using your bot's token.\n\n## Nodes\nNow you have what you need to configure the nodes for this workflow.\n\n### n8n Nodes\n\n\n\n\n\n\n\n\n\n\n\n\n\nEdit each of these nodes and in the \"Credentials to connect with\" field select your n8n credential.\n\n### Telegram Nodes\n\n\n\n\n\n\n\n\n\n\n\n\n\nEdit each of these nodes and in the \"Credentials to connect with\" field select your telegram credential.\nIn the \"Chat ID\", \"Restrict to Chat IDs\" or \"Restrict to User IDs\" fields, enter your ChatID.\n\n\n\n**Your workflow is ready! Activate it and interact with your bot on Telegram!**"
},
"typeVersion": 1
},
{
"id": "6685b9d2-0a0e-4d4c-8312-6efe066fafab",
"name": "Telegram Nodes",
"type": "n8n-nodes-base.telegram",
"position": [
-60,
1100
],
"parameters": {
"text": ".",
"chatId": "123456789",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "1ec533a1-ce20-4dd8-90fd-b983ca3bc9b8",
"name": "n8n Nodes",
"type": "n8n-nodes-base.n8n",
"position": [
-60,
840
],
"parameters": {
"operation": "get",
"workflowId": {
"__rl": true,
"mode": "id",
"value": "1"
},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "b871b30b-eb03-4e95-b0ae-49ad574e1262",
"name": "Error Trigger",
"type": "n8n-nodes-base.errorTrigger",
"position": [
840,
1020
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1dda43c6-2762-4a52-b012-f1e718e52f2b",
"name": "If not manual exec",
"type": "n8n-nodes-base.if",
"position": [
1060,
1020
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "732da136-33e9-47fa-9729-65afd9670f4d",
"operator": {
"type": "string",
"operation": "notEquals"
},
"leftValue": "={{ $json.execution.mode }}",
"rightValue": "manual"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "de2db9a3-4070-470f-b72d-f0fc74abc43a",
"name": "n8n Started Trigger",
"type": "n8n-nodes-base.n8nTrigger",
"position": [
840,
1200
],
"parameters": {
"events": [
"init"
]
},
"typeVersion": 1
},
{
"id": "09f5a744-1292-4b8b-a042-ce9a0818863f",
"name": "Workflow Error Msg",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
1320,
1020
],
"parameters": {
"text": "=\u274c Execution failed!\n{{ $now.format(\"dd/MM/yyyy HH:mm:ss\") }}\n\n\nWorkflow: \n{{ $json.workflow.name }}\n\nExecution Id:\n{{ $json.execution.id }}\n\nNode: \n{{ $json.execution.lastNodeExecuted }}\n\nError: \n{{ $json.execution.error.message }}",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "28847e14-5313-42cf-9c08-512c34118264",
"name": "n8n Started Msg",
"type": "n8n-nodes-base.telegram",
"onError": "continueRegularOutput",
"position": [
1320,
1200
],
"parameters": {
"text": "=\u2757 Instance started!\n{{ $now.format(\"dd/MM/yyyy HH:mm:ss\") }}",
"chatId": "123456789",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
}
],
"active": false,
"settings": {
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": "oPfjCB6LU7nwNRiu",
"executionOrder": "v1"
},
"versionId": "baf25eeb-efc3-4fdd-9ee0-fa2f3f5928b6",
"connections": {
"Cmd Parse": {
"main": [
[
{
"node": "Cmd Switch",
"type": "main",
"index": 0
}
]
]
},
"If Active": {
"main": [
[
{
"node": "Deactivate Workflow",
"type": "main",
"index": 0
}
],
[
{
"node": "Workflow Inactive Error",
"type": "main",
"index": 0
}
]
]
},
"Read File": {
"main": [
[
{
"node": "Backup",
"type": "main",
"index": 0
},
{
"node": "Cleanup Files",
"type": "main",
"index": 0
}
],
[
{
"node": "Backup Error",
"type": "main",
"index": 0
}
]
]
},
"Cmd Switch": {
"main": [
[
{
"node": "Help",
"type": "main",
"index": 0
}
],
[
{
"node": "Help",
"type": "main",
"index": 0
}
],
[
{
"node": "Backup Workflows",
"type": "main",
"index": 0
}
],
[
{
"node": "List Archived",
"type": "main",
"index": 0
}
],
[
{
"node": "List Workflows ",
"type": "main",
"index": 0
}
],
[
{
"node": "Execute Arg",
"type": "main",
"index": 0
}
],
[
{
"node": "Activate Arg",
"type": "main",
"index": 0
}
],
[
{
"node": "Deactivate Arg",
"type": "main",
"index": 0
}
],
[
{
"node": "Executions Arg",
"type": "main",
"index": 0
}
],
[
{
"node": "Cmd Error",
"type": "main",
"index": 0
}
]
]
},
"Execute Arg": {
"main": [
[
{
"node": "List Workflows 1",
"type": "main",
"index": 0
}
],
[
{
"node": "Arg Error",
"type": "main",
"index": 0
}
]
]
},
"If Inactive": {
"main": [
[
{
"node": "Activate Workflow",
"type": "main",
"index": 0
}
],
[
{
"node": "Workflow Active Error",
"type": "main",
"index": 0
}
]
]
},
"Activate Arg": {
"main": [
[
{
"node": "List Workflows 2",
"type": "main",
"index": 0
}
],
[
{
"node": "Arg Error",
"type": "main",
"index": 0
}
]
]
},
"Not Archived": {
"main": [
[
{
"node": "Workflow List",
"type": "main",
"index": 0
}
]
]
},
"Archived List": {
"main": [
[
{
"node": "Delete Archived",
"type": "main",
"index": 0
}
]
]
},
"Error Trigger": {
"main": [
[
{
"node": "If not manual exec",
"type": "main",
"index": 0
}
]
]
},
"List Archived": {
"main": [
[
{
"node": "Only Archived",
"type": "main",
"index": 0
}
]
]
},
"Only Archived": {
"main": [
[
{
"node": "Archived List",
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
n8nApitelegramApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
Source: https://n8n.io/workflows/4928/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This template is ideal for users managing Telegram channels who want to automate the process of posting messages, including text and images, directly from an bot.
This template is for developers and automation specialists looking to create a Telegram bot that enables users to select items from a predefined list and save their choices to a Postgres database.
This workflow is for Telegram bot developers or marketers who want to verify user subscriptions to specific Telegram channels and optionally reward them with downloadable files.
This workflow is ideal for businesses or individuals who want to run Telegram-based giveaways that require users to subscribe to certain channels in order to participate.
Try on any outfit virtually - right inside Telegram. A user sends a person photo, then a garment photo (captioned ), and the bot replies with an AI-generated try-on result image using a dedicated Virt