🤙 Llamadas entrantes de Telegram
Este es unautomatización que contiene 35 nodos.Utiliza principalmente nodos como If, Set, Code, Redis, Switch. Centro de llamadas con chatbot de IA: Llamadas entrantes de Telegram (Listo para producción, Parte 1a)
- •Información de conexión del servidor Redis
- •Información de conexión de la base de datos PostgreSQL
- •Bot Token de Telegram
Nodos utilizados (35)
Categoría
{
"id": "pT3WWhziyHqc0Wru",
"meta": {
"instanceId": "daae7bb90c8655b08e0b68de8a52b1178f2812f6a234efb0b0509279dbb70b3e",
"templateCredsSetupCompleted": true
},
"name": "🤙 Telegram Call In",
"tags": [
{
"id": "no8Mb078mvRgw7PS",
"name": "DEMO",
"createdAt": "2025-04-30T05:34:10.330Z",
"updatedAt": "2025-04-30T05:34:10.330Z"
},
{
"id": "M2uPwGVjWmavBPky",
"name": "2.0",
"createdAt": "2025-05-01T16:38:48.524Z",
"updatedAt": "2025-05-01T16:38:48.524Z"
},
{
"id": "WfVDdyMwitySVPfo",
"name": "Input",
"createdAt": "2025-05-05T10:21:45.271Z",
"updatedAt": "2025-05-05T10:21:45.271Z"
}
],
"nodes": [
{
"id": "83a6a0bd-4d48-4a83-9ac4-9c5391267e70",
"name": "Disparador de Telegram",
"type": "n8n-nodes-base.telegramTrigger",
"notes": "@chpy_demo_bot",
"position": [
-1560,
820
],
"webhookId": "dcac86de-74a3-48e4-81b2-7b63c8fac5be",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "604b543f-6eb1-4c3b-88ed-59e21690392d",
"name": "Test Trigger",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-1560,
1560
],
"webhookId": "9ed1eb5f-bfe9-4bd3-8451-b26d11613388",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "da05274e-8d03-47a6-9e6d-4e67e51d4232",
"name": "Test Input",
"type": "n8n-nodes-base.set",
"position": [
80,
1560
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "8fcce9e5-83fe-4d34-a085-18d3236237d5",
"name": "Telegram Input",
"type": "n8n-nodes-base.set",
"position": [
80,
1060
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4ac6e9d3-3a49-49c1-af6e-03dea00a4487",
"name": "Type Interruptor",
"type": "n8n-nodes-base.switch",
"position": [
-180,
800
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "6b11f82b-e996-436f-90b0-02507ded4354",
"name": "Download Audio",
"type": "n8n-nodes-base.telegram",
"notes": "@chpy_demo_bot",
"position": [
80,
360
],
"webhookId": "97df0286-dbe3-46dd-ab54-99c01e73e540",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "6c5b409c-23f1-488c-9be9-36ba7ac20f5c",
"name": "Extract from File",
"type": "n8n-nodes-base.extractFromFile",
"position": [
260,
360
],
"parameters": {},
"typeVersion": 1
},
{
"id": "776fb632-2d0f-4214-be25-e369ec9ab766",
"name": "Google STT",
"type": "n8n-nodes-google-speech.googleSpeech",
"onError": "continueRegularOutput",
"position": [
920,
360
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ed56defb-887e-4950-a72d-1f5e7132b235",
"name": "Telegram Voice Input",
"type": "n8n-nodes-base.set",
"position": [
1320,
340
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "2c34afcc-5936-4009-a3b2-65364f2a4060",
"name": "Input",
"type": "n8n-nodes-base.set",
"position": [
1560,
1060
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4b9e3343-525a-46ee-8164-def8f5603b1b",
"name": "Nota adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "42d7e86f-dd8e-447d-b236-55b6dca3f902",
"name": "If Telegram",
"type": "n8n-nodes-base.if",
"position": [
1540,
1560
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "f9a0a9d3-4c74-4322-af8c-06a90edee657",
"name": "Nota adhesiva1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-20,
1460
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d95c57a9-6c1b-474e-86f7-9f6a4dbbaa54",
"name": "Nota adhesiva2",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
960
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b178b3ca-a944-4d31-a342-a9f1ff6df8e2",
"name": "Nota adhesiva3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1300,
880
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "24a7ffa8-86a2-4800-8557-4bfe57aa9f26",
"name": "If Active",
"type": "n8n-nodes-base.if",
"position": [
-720,
1240
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "a95d2df5-9075-4be7-8428-b67b3ec4e49d",
"name": "Parse Service",
"type": "n8n-nodes-base.code",
"position": [
-720,
800
],
"parameters": {},
"typeVersion": 2
},
{
"id": "5d6c8ab7-95b8-4de8-bc9b-9ef55e96f0ec",
"name": "Nota adhesiva4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1360,
700
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3b38c690-2b14-44ee-884c-62920a35968e",
"name": "Member Cache",
"type": "n8n-nodes-base.redis",
"notes": "member:telegram:{user_id}:data\nTTL 5m",
"onError": "continueRegularOutput",
"position": [
-1160,
820
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "a8e8a046-b1ce-4452-82de-84ade7619f73",
"name": "If Member Cache",
"type": "n8n-nodes-base.if",
"position": [
-940,
820
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "6a45ad3d-4afb-4a27-8ab8-39b564007cac",
"name": "Load Memer Data",
"type": "n8n-nodes-base.postgres",
"onError": "continueRegularOutput",
"position": [
-720,
1000
],
"parameters": {},
"executeOnce": true,
"typeVersion": 2.6,
"alwaysOutputData": true
},
{
"id": "396b03a6-3d31-4440-89cf-4e206017e97a",
"name": "Save Member Cache",
"type": "n8n-nodes-base.redis",
"notes": "TTL 5m",
"onError": "continueRegularOutput",
"position": [
-440,
1220
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "ce6bfd49-5e15-4693-9bb0-165b9ab2658c",
"name": "Member",
"type": "n8n-nodes-base.set",
"notes": "language: English",
"position": [
-440,
800
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "01a5ee20-55b5-46e6-b249-3d8dc666be55",
"name": "Interruptor",
"type": "n8n-nodes-base.switch",
"position": [
440,
320
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "14ec3274-411d-4edf-ba62-20fa251b7632",
"name": "English",
"type": "n8n-nodes-base.set",
"position": [
660,
680
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "04b6d053-f58a-4aed-b973-5b9501e91152",
"name": "yue-Hant-HK",
"type": "n8n-nodes-base.set",
"position": [
660,
40
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "91fb5e72-928e-46cc-b2a1-a99d6a553f65",
"name": "cmn-Hant-TW",
"type": "n8n-nodes-base.set",
"position": [
660,
360
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "a06a0231-81b6-4670-8471-f8cff2d2c91a",
"name": "cmn-Hans-CN",
"type": "n8n-nodes-base.set",
"position": [
660,
200
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "f9a3efca-b539-4c70-92c8-db33641715e9",
"name": "ja-JP",
"type": "n8n-nodes-base.set",
"position": [
660,
520
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4964da4f-3fde-44c2-b214-fdbf914adf18",
"name": "If Transcript",
"type": "n8n-nodes-base.if",
"position": [
1100,
360
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "f34dfa75-979e-44fc-9d73-3312e5cb3c4c",
"name": "No Transcript Input",
"type": "n8n-nodes-base.set",
"notes": "I don't understand",
"position": [
1720,
640
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.4
},
{
"id": "eb90c445-b21f-4265-aba7-a309eb0d498c",
"name": "Nota adhesiva5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1620,
560
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ddfc222b-b617-470e-96c5-779ebe01c9a7",
"name": "Demo Call Back",
"type": "n8n-nodes-base.executeWorkflow",
"position": [
1940,
640
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "09097191-a808-4f35-b111-84604b8ff872",
"name": "Demo Call Center",
"type": "n8n-nodes-base.executeWorkflow",
"notes": "Demo Call Center",
"position": [
1740,
1060
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
},
{
"id": "f313bea0-0346-4011-82a8-b0a0d4bd46a1",
"name": "Telegram Test Output",
"type": "n8n-nodes-base.telegram",
"notes": "@chpy_demo_bot",
"position": [
1720,
1540
],
"webhookId": "ff303e8b-3ed5-429f-b26b-88acf01bc90d",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.2
}
],
"active": false,
"pinData": {},
"settings": {
"timezone": "Etc/UTC",
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": "vuso7W8t402BPcT2",
"executionOrder": "v1"
},
"versionId": "86a4b876-5de9-4f72-afdf-a613d56fe94c",
"connections": {
"2c34afcc-5936-4009-a3b2-65364f2a4060": {
"main": [
[
{
"node": "09097191-a808-4f35-b111-84604b8ff872",
"type": "main",
"index": 0
},
{
"node": "42d7e86f-dd8e-447d-b236-55b6dca3f902",
"type": "main",
"index": 0
}
]
]
},
"f9a3efca-b539-4c70-92c8-db33641715e9": {
"main": [
[
{
"node": "776fb632-2d0f-4214-be25-e369ec9ab766",
"type": "main",
"index": 0
}
]
]
},
"ce6bfd49-5e15-4693-9bb0-165b9ab2658c": {
"main": [
[
{
"node": "Type Switch",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "04b6d053-f58a-4aed-b973-5b9501e91152",
"type": "main",
"index": 0
}
],
[
{
"node": "a06a0231-81b6-4670-8471-f8cff2d2c91a",
"type": "main",
"index": 0
}
],
[
{
"node": "91fb5e72-928e-46cc-b2a1-a99d6a553f65",
"type": "main",
"index": 0
}
],
[
{
"node": "f9a3efca-b539-4c70-92c8-db33641715e9",
"type": "main",
"index": 0
}
],
[
{
"node": "14ec3274-411d-4edf-ba62-20fa251b7632",
"type": "main",
"index": 0
}
]
]
},
"14ec3274-411d-4edf-ba62-20fa251b7632": {
"main": [
[
{
"node": "776fb632-2d0f-4214-be25-e369ec9ab766",
"type": "main",
"index": 0
}
]
]
},
"24a7ffa8-86a2-4800-8557-4bfe57aa9f26": {
"main": [
[
{
"node": "396b03a6-3d31-4440-89cf-4e206017e97a",
"type": "main",
"index": 0
}
],
[
{
"node": "396b03a6-3d31-4440-89cf-4e206017e97a",
"type": "main",
"index": 0
}
]
]
},
"776fb632-2d0f-4214-be25-e369ec9ab766": {
"main": [
[
{
"node": "4964da4f-3fde-44c2-b214-fdbf914adf18",
"type": "main",
"index": 0
}
]
]
},
"da05274e-8d03-47a6-9e6d-4e67e51d4232": {
"main": [
[
{
"node": "2c34afcc-5936-4009-a3b2-65364f2a4060",
"type": "main",
"index": 0
}
]
]
},
"42d7e86f-dd8e-447d-b236-55b6dca3f902": {
"main": [
[
{
"node": "f313bea0-0346-4011-82a8-b0a0d4bd46a1",
"type": "main",
"index": 0
}
]
]
},
"Type Switch": {
"main": [
[
{
"node": "8fcce9e5-83fe-4d34-a085-18d3236237d5",
"type": "main",
"index": 0
}
],
[
{
"node": "6b11f82b-e996-436f-90b0-02507ded4354",
"type": "main",
"index": 0
}
]
]
},
"91fb5e72-928e-46cc-b2a1-a99d6a553f65": {
"main": [
[
{
"node": "776fb632-2d0f-4214-be25-e369ec9ab766",
"type": "main",
"index": 0
}
]
]
},
"04b6d053-f58a-4aed-b973-5b9501e91152": {
"main": [
[
{
"node": "776fb632-2d0f-4214-be25-e369ec9ab766",
"type": "main",
"index": 0
}
]
]
},
"3b38c690-2b14-44ee-884c-62920a35968e": {
"main": [
[
{
"node": "a8e8a046-b1ce-4452-82de-84ade7619f73",
"type": "main",
"index": 0
}
]
]
},
"604b543f-6eb1-4c3b-88ed-59e21690392d": {
"main": [
[
{
"node": "da05274e-8d03-47a6-9e6d-4e67e51d4232",
"type": "main",
"index": 0
}
]
]
},
"4964da4f-3fde-44c2-b214-fdbf914adf18": {
"main": [
[
{
"node": "ed56defb-887e-4950-a72d-1f5e7132b235",
"type": "main",
"index": 0
}
],
[
{
"node": "f34dfa75-979e-44fc-9d73-3312e5cb3c4c",
"type": "main",
"index": 0
}
]
]
},
"a95d2df5-9075-4be7-8428-b67b3ec4e49d": {
"main": [
[
{
"node": "ce6bfd49-5e15-4693-9bb0-165b9ab2658c",
"type": "main",
"index": 0
}
]
]
},
"6b11f82b-e996-436f-90b0-02507ded4354": {
"main": [
[
{
"node": "6c5b409c-23f1-488c-9be9-36ba7ac20f5c",
"type": "main",
"index": 0
}
]
]
},
"8fcce9e5-83fe-4d34-a085-18d3236237d5": {
"main": [
[
{
"node": "2c34afcc-5936-4009-a3b2-65364f2a4060",
"type": "main",
"index": 0
}
]
]
},
"a8e8a046-b1ce-4452-82de-84ade7619f73": {
"main": [
[
{
"node": "a95d2df5-9075-4be7-8428-b67b3ec4e49d",
"type": "main",
"index": 0
}
],
[
{
"node": "6a45ad3d-4afb-4a27-8ab8-39b564007cac",
"type": "main",
"index": 0
}
]
]
},
"6a45ad3d-4afb-4a27-8ab8-39b564007cac": {
"main": [
[
{
"node": "24a7ffa8-86a2-4800-8557-4bfe57aa9f26",
"type": "main",
"index": 0
}
]
]
},
"Telegram Trigger": {
"main": [
[
{
"node": "3b38c690-2b14-44ee-884c-62920a35968e",
"type": "main",
"index": 0
}
]
]
},
"6c5b409c-23f1-488c-9be9-36ba7ac20f5c": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"396b03a6-3d31-4440-89cf-4e206017e97a": {
"main": [
[
{
"node": "ce6bfd49-5e15-4693-9bb0-165b9ab2658c",
"type": "main",
"index": 0
}
]
]
},
"f34dfa75-979e-44fc-9d73-3312e5cb3c4c": {
"main": [
[
{
"node": "ddfc222b-b617-470e-96c5-779ebe01c9a7",
"type": "main",
"index": 0
}
]
]
},
"ed56defb-887e-4950-a72d-1f5e7132b235": {
"main": [
[
{
"node": "2c34afcc-5936-4009-a3b2-65364f2a4060",
"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?
Avanzado
¿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
ChatPayLabs
@chatpaylabsProduction Ready AI n8n Workflow Templates Startup Fundraising 💰 Support Us 🦄
Compartir este flujo de trabajo