AutomationFlowsSlack & Telegram › Whatsapp (waha) -> Rihla-ai

Whatsapp (waha) -> Rihla-ai

WhatsApp (WAHA) -> Rihla-AI. Uses httpRequest. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesHTTP Request
Slack & Telegram Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆ Added:

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 →

Download .json
{
  "name": "WhatsApp (WAHA) -> Rihla-AI",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "waha",
        "options": {}
      },
      "name": "Webhook WAHA",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://host.docker.internal:8000/chat",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"sender\": \"{{$json.body.payload.from}}\",\n  \"message\": \"{{$json.body.payload.body}}\",\n  \"canal\": \"WHATSAPP\",\n  \"nom_client\": \"{{$json.body.payload._data.notifyName}}\"\n}",
        "options": {}
      },
      "name": "Rihla FastAPI",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        470,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "http://waha:3000/api/sendText",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={\n  \"chatId\": \"{{$('Webhook WAHA').item.json.body.payload.from}}\",\n  \"text\": \"{{$json.reply}}\",\n  \"session\": \"default\"\n}",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "68ff5d3b477a4741bd5dbf5345591c21"
            }
          ]
        },
        "options": {}
      },
      "name": "Send WAHA Reply",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        690,
        300
      ]
    }
  ],
  "connections": {
    "Webhook WAHA": {
      "main": [
        [
          {
            "node": "Rihla FastAPI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rihla FastAPI": {
      "main": [
        [
          {
            "node": "Send WAHA Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {}
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

WhatsApp (WAHA) -> Rihla-AI. Uses httpRequest. Webhook trigger; 3 nodes.

Source: https://github.com/Bouazzi1/Rihla-AI/blob/d116a9afb3c6de80fd107258f1e9beb417db8da0/n8n/whatsapp_workflow.json — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

77STF — Slack to CRM (calendar hint). Uses httpRequest. Webhook trigger; 6 nodes.

HTTP Request
Slack & Telegram

This workflow integrates with your Baserow 'Messages' table, triggering on 'Sent' status. Messages fire via WasenderAPI, rigorously logged as 'Outbound' in Baserow. Gain total control; drive results.

HTTP Request, Baserow
Slack & Telegram

Saathi WhatsApp Message. Uses httpRequest. Webhook trigger; 5 nodes.

HTTP Request
Slack & Telegram

OarOre - Payment Chat Start -> WhatsApp. Uses httpRequest. Webhook trigger; 5 nodes.

HTTP Request
Slack & Telegram

🌿 W10 — Contact M&P → Telegram Micha → pause approbation → email famille. Uses httpRequest. Webhook trigger; 4 nodes.

HTTP Request