Skip to main content

Create an AI chatbot for WhatsApp with Whapi.Cloud and OpenAI GPT-3.5

Workflow preview

Workflow preview
100%
Create an AI chatbot for WhatsApp with Whapi.Cloud and OpenAI GPT-3.5 preview
Open on n8n.io

1. Workflow Overview

How it works: • Receives WhatsApp messages via webhook from Whapi.Cloud • Routes commands: AI chat (/ai), numeric commands (1 9), or help menu • Sends responses: text, images, documents, videos, co...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.switch, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.openai

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jason Mitchell.

Original n8n.io source

1.1 Workflow description

Title
Create an AI chatbot for WhatsApp with Whapi.Cloud and OpenAI GPT-3.5
Workflow name
Create an AI chatbot for WhatsApp with Whapi.Cloud and OpenAI GPT-3.5

How it works: • Receives WhatsApp messages via webhook from Whapi.Cloud • Routes commands: AI chat (/ai), numeric commands (1-9), or help menu • Sends responses: text, images, documents, videos, contacts, product info • Manages WhatsApp groups: create, send messages, list groups • Integrates with OpenAI ChatGPT for AI-powered conversations

Set up steps: Setup takes ~5-10 minutes. Import the workflow, configure Whapi.Cloud credentials (token from dashboard), set up webhook URL in Whapi.Cloud settings, and optionally add OpenAI API key for AI chat. Activate the workflow and start receiving messages.

Key features: • No Meta restrictions or approval • Visual no-code workflow - easy to customize • Production-ready with error handling • Well-documented with sticky notes inside the workflow

Perfect for businesses, developers, and automation enthusiasts who want WhatsApp automation without coding.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - 1️⃣ Receive WhatsApp Message

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 1

Block 2 - 2️⃣ Get Message Info

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - 3️⃣ Ignore Bot's Own Messages

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 4 - 4️⃣ What Type of Command?

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 5 - Extract AI Question

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Format AI Answer

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - 5️⃣ Which Number Command? (1-9)

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 8 - Show Help Menu

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Prepare: Simple Text

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - 📤 Send Text Message

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Prepare: Image (Command 2)

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - 📤 Send Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Prepare: Document (Command 3)

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - 📤 Send Document

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 15 - Prepare: Video (Command 4)

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - 📤 Send Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 17 - 📤 Send Contact

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - Create WhatsApp Group

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Format Group Creation Result

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 20 - Prepare: Group Message (Command 8)

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 21 - Get Groups List (Command 9)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 22 - Format Groups List

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 23 - Workflow Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Webhook Info

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 42 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Create an AI chatbot for WhatsApp with Whapi.Cloud and OpenAI GPT-3.5
Complexity advanced
Nodes 42
Categories Support Chatbot, AI Chatbot
Author Jason Mitchell
Published 15 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12722/12722.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create an AI chatbot for WhatsApp with Whapi.Cloud and OpenAI GPT-3.5 do?

How it works: • Receives WhatsApp messages via webhook from Whapi.Cloud • Routes commands: AI chat (/ai), numeric commands (1 9), or help menu • Sends responses: text, images, documents, videos, co...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.