Agente de IA para Telegram y WhatsApp Business
Este es unAIflujo de automatización del dominio deautomatización que contiene 21 nodos.Utiliza principalmente nodos como If, Set, Code, OpenAi, Webhook, combinando tecnología de inteligencia artificial para lograr automatización inteligente. Flujo de trabajo de agente para Telegram y WhatsApp Business impulsado por AI
- •Clave de API de OpenAI
- •Punto final de HTTP Webhook (n8n generará automáticamente)
- •Bot Token de Telegram
- •Pueden requerirse credenciales de autenticación para la API de destino
- •Credenciales de API de Google Sheets
Nodos utilizados (21)
Categoría
{
"name": "AI Telegram & WhatsApp Business Agent",
"tags": [
{
"id": "telegram",
"name": "Telegram",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
},
{
"id": "whatsapp",
"name": "WhatsApp",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
},
{
"id": "ai-agent",
"name": "AI Agent",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
},
{
"id": "customer-service",
"name": "Customer Service",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
],
"nodes": [
{
"id": "intro_sticky",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-240,
180
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "telegram_trigger",
"name": "Bot de Telegram",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
160,
280
],
"webhookId": "telegram-ai-agent",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "whatsapp_webhook",
"name": "WhatsApp Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
160,
420
],
"webhookId": "whatsapp-ai-webhook",
"parameters": {},
"typeVersion": 2
},
{
"id": "normalize_message",
"name": "Normalizar Datos del Mensaje",
"type": "n8n-nodes-base.set",
"position": [
460,
350
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "processing_sticky",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
440,
20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "get_customer_data",
"name": "Obtener Historial del Cliente",
"type": "n8n-nodes-base.googleSheets",
"position": [
760,
350
],
"parameters": {},
"typeVersion": 4.4
},
{
"id": "build_context",
"name": "Construir Contexto de AI",
"type": "n8n-nodes-base.code",
"position": [
1060,
350
],
"parameters": {},
"typeVersion": 2
},
{
"id": "intelligence_sticky",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
740,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ai_assistant",
"name": "Asistente de Negocios con AI",
"type": "n8n-nodes-base.openAi",
"position": [
1360,
350
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "ai_sticky",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1340,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "process_response",
"name": "Procesar Respuesta de AI",
"type": "n8n-nodes-base.code",
"position": [
1660,
350
],
"parameters": {},
"typeVersion": 2
},
{
"id": "platform_router",
"name": "Platform Router",
"type": "n8n-nodes-base.if",
"position": [
1960,
350
],
"parameters": {},
"typeVersion": 2
},
{
"id": "send_telegram",
"name": "Enviar Mensaje de Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
2260,
280
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "send_whatsapp",
"name": "Enviar Mensaje de WhatsApp",
"type": "n8n-nodes-base.httpRequest",
"position": [
2260,
420
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "delivery_sticky",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
2240,
60
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "log_conversation",
"name": "Registrar Conversación",
"type": "n8n-nodes-base.googleSheets",
"position": [
2560,
350
],
"parameters": {},
"typeVersion": 4.4
},
{
"id": "update_customer",
"name": "Actualizar Registro del Cliente",
"type": "n8n-nodes-base.googleSheets",
"position": [
2860,
350
],
"parameters": {},
"typeVersion": 4.4
},
{
"id": "check_escalation",
"name": "Verificar Escalación",
"type": "n8n-nodes-base.if",
"position": [
2560,
200
],
"parameters": {},
"typeVersion": 2
},
{
"id": "notify_team",
"name": "Notificar al Equipo de Soporte",
"type": "n8n-nodes-base.httpRequest",
"position": [
2860,
200
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "analytics_sticky",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2540,
480
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "webhook_response",
"name": "Respuesta Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
3160,
420
],
"parameters": {},
"typeVersion": 1.1
}
],
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"updatedAt": "2025-01-01T00:00:00.000Z",
"versionId": "1",
"staticData": null,
"connections": {
"ai_assistant": {
"main": [
[
{
"node": "process_response",
"type": "main",
"index": 0
}
]
]
},
"build_context": {
"main": [
[
{
"node": "ai_assistant",
"type": "main",
"index": 0
}
]
]
},
"send_telegram": {
"main": [
[
{
"node": "log_conversation",
"type": "main",
"index": 0
}
]
]
},
"send_whatsapp": {
"main": [
[
{
"node": "log_conversation",
"type": "main",
"index": 0
}
]
]
},
"platform_router": {
"main": [
[
{
"node": "send_telegram",
"type": "main",
"index": 0
}
],
[
{
"node": "send_whatsapp",
"type": "main",
"index": 0
}
]
]
},
"update_customer": {
"main": [
[
{
"node": "webhook_response",
"type": "main",
"index": 0
}
]
]
},
"check_escalation": {
"main": [
[
{
"node": "notify_team",
"type": "main",
"index": 0
}
],
[]
]
},
"log_conversation": {
"main": [
[
{
"node": "update_customer",
"type": "main",
"index": 0
}
]
]
},
"process_response": {
"main": [
[
{
"node": "platform_router",
"type": "main",
"index": 0
},
{
"node": "check_escalation",
"type": "main",
"index": 0
}
]
]
},
"telegram_trigger": {
"main": [
[
{
"node": "normalize_message",
"type": "main",
"index": 0
}
]
]
},
"whatsapp_webhook": {
"main": [
[
{
"node": "normalize_message",
"type": "main",
"index": 0
}
]
]
},
"get_customer_data": {
"main": [
[
{
"node": "build_context",
"type": "main",
"index": 0
}
]
]
},
"normalize_message": {
"main": [
[
{
"node": "get_customer_data",
"type": "main",
"index": 0
}
]
]
}
},
"triggerCount": 2
}¿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 - Inteligencia Artificial
¿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
Amanda Benks
@amandaHi loves! I've been making workflows for n8n for two years, and I hope you like my flows <3
Compartir este flujo de trabajo