KI-Telegram- und WhatsApp Business-Agent

Experte

Dies ist ein AI-Bereich Automatisierungsworkflow mit 21 Nodes. Hauptsächlich werden If, Set, Code, OpenAi, Webhook und andere Nodes verwendet, kombiniert mit KI-Technologie für intelligente Automatisierung. KI-gesteuerte Agentenarbeitflows für Telegram und WhatsApp Business

Voraussetzungen
  • OpenAI API Key
  • HTTP Webhook-Endpunkt (wird von n8n automatisch generiert)
  • Telegram Bot Token
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
  • Google Sheets API-Anmeldedaten
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "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": "Notiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "telegram_trigger",
      "name": "Telegram Bot",
      "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": "Nachrichtendaten normalisieren",
      "type": "n8n-nodes-base.set",
      "position": [
        460,
        350
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "processing_sticky",
      "name": "Notiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        440,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "get_customer_data",
      "name": "Kundenhistorie abrufen",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        760,
        350
      ],
      "parameters": {},
      "typeVersion": 4.4
    },
    {
      "id": "build_context",
      "name": "KI-Kontext erstellen",
      "type": "n8n-nodes-base.code",
      "position": [
        1060,
        350
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "intelligence_sticky",
      "name": "Notiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ai_assistant",
      "name": "KI Business Assistant",
      "type": "n8n-nodes-base.openAi",
      "position": [
        1360,
        350
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "ai_sticky",
      "name": "Notiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1340,
        -20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "process_response",
      "name": "KI-Antwort verarbeiten",
      "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": "Telegram Nachricht senden",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2260,
        280
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "send_whatsapp",
      "name": "WhatsApp Nachricht senden",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2260,
        420
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "delivery_sticky",
      "name": "Notiz4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2240,
        60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "log_conversation",
      "name": "Konversation protokollieren",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2560,
        350
      ],
      "parameters": {},
      "typeVersion": 4.4
    },
    {
      "id": "update_customer",
      "name": "Kundendatensatz aktualisieren",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2860,
        350
      ],
      "parameters": {},
      "typeVersion": 4.4
    },
    {
      "id": "check_escalation",
      "name": "Eskalation prüfen",
      "type": "n8n-nodes-base.if",
      "position": [
        2560,
        200
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "notify_team",
      "name": "Support-Team benachrichtigen",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2860,
        200
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "analytics_sticky",
      "name": "Notiz5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2540,
        480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "webhook_response",
      "name": "Webhook Antwort",
      "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
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Experte - Künstliche Intelligenz

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Experte
Anzahl der Nodes21
Kategorie1
Node-Typen11
Schwierigkeitsbeschreibung

Für fortgeschrittene Benutzer, komplexe Workflows mit 16+ Nodes

Autor
Amanda Benks

Amanda Benks

@amanda

Hi loves! I've been making workflows for n8n for two years, and I hope you like my flows <3

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34