WhatsApp AI customer service bot with GPT-4o-mini and Gmail alerts
Needs changesWhat this workflow does
This AI workflow has 11 nodes and runs on WhatsApp events. Along the way it connects WhatsApp Business Cloud, OpenAI Chat Model and Gmail.
How it runs
Trigger: On WhatsApp events.
- Signpost (If): checks a condition and branches into true / false
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
- Is Text Message? (If): checks a condition and branches into true / false
- WhatsApp Reply Sender (WhatsApp Business Cloud): uses WhatsApp Business Cloud
- Fallback Text (WhatsApp Business Cloud): uses WhatsApp Business Cloud
- Gmail Output Set (Edit Fields (Set)): sets or maps fields
- Send Gmail Notifications (Gmail): uses Gmail
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- AI Agent
@n8n/n8n-nodes-langchain.agent - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - If
n8n-nodes-base.if - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - No Operation, do nothing
n8n-nodes-base.noOp - Edit Fields (Set)
n8n-nodes-base.set - Gmail
n8n-nodes-base.gmail
From the author
Who is this for? This workflow is intended for WhatsApp admins, customer service, individual users or teams in businesses who want to automate their small business or medium to large businesses on WhatsApp practically by automatically replying about your…