πŸ’¬ Build a WhatsApp customer support bot with OpenAI and CRM integration

⚑ 123 views Β· πŸ’¬ Support Chatbots

Description

Full Customer Support WhatsApp AI Bot (Self-Hosted, Evolution API)

πŸ§‘β€πŸ’Ό Who’s it for

This template is for businesses using WhatsApp for customer communication who want to automate support using AI and real-time CRM data β€” especially in retail, food & beverage, e-commerce, or service sectors. It’s ideal for self-hosted n8n users with access to OpenAI and a CRM with API endpoints.


πŸ’‘ What It Does

This workflow creates a multi-intent AI chatbot that handles WhatsApp conversations and connects to your CRM using HTTP APIs. It uses LangChain’s AI Agent to dynamically classify and respond to customer queries in real time.

πŸ”„ Supported Use Cases:

Each user message is routed using AI to the appropriate path, where a tailored system prompt and real-time API call generate a smart, emoji-rich reply.


πŸš€ Key Advantages


πŸ”§ How It Works

  1. 🧲 A Webhook (via evolution-api node) receives incoming WhatsApp messages.
  2. 🧠 An AI Router Agent classifies the message intent using GPT-4.
  3. 🧰 Based on the intent, a specific system prompt is injected.
  4. 🧠 A LangChain Agent uses tools (CRM APIs) to fetch data.
  5. πŸ’¬ A final reply is generated and sent back via WhatsApp.

Everything is modular, explainable, and built with clarity in mind using sticky notes and renamed nodes.


πŸ› οΈ Requirements


βš™οΈ Setup Instructions

  1. πŸ”Œ Install the evolution-api node via n8n community nodes.
  2. πŸ” Replace all YOUR_AUTHORIZATION_TOKEN_HERE with your real credentials.
  3. 🧠 Add your OpenAI credentials in n8n.
  4. πŸ› οΈ Update all CRM URLs to point to your environment.
  5. πŸ“² Connect the webhook URL to your WhatsApp provider.

🎨 How to Customize


🧠 User Experience & Design


πŸ” SEO Tags

whatsapp support bot, n8n chatbot, gpt-4 ai support, langchain agent, self-hosted n8n, crm integration, customer support automation, evolution-api, loyalty bot, menu chatbot, orders automation, arabic whatsapp bot, real-time crm bot, openai n8n workflow

πŸ”— Nodes Used

Webhook, AI Agent, OpenAI Chat Model, Simple Memory, Structured Output Parser

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup