This workflow corresponds to n8n.io template #4456 — we link there as the canonical source.
This workflow follows the Agent → Gmail recipe pattern — see all workflows that pair these two integrations.
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 →
{
"id": "eLe4P1EPCbnvZP1w",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Whatsapp Automation Fix",
"tags": [],
"nodes": [
{
"id": "976144b1-2f68-46b8-b384-18444d312c8c",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1800,
160
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "2f2ff112-50b7-4cbd-977c-a300b1f2927a",
"name": "Input Submissions",
"type": "n8n-nodes-base.whatsAppTrigger",
"position": [
900,
180
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2aacbbb7-d5f5-4ac2-8cb4-53871281b006",
"name": "Signpost",
"type": "n8n-nodes-base.if",
"position": [
1180,
180
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "f657ff33-d305-48fa-8918-402e47dfc313",
"name": "Is Text Message?",
"type": "n8n-nodes-base.if",
"position": [
1500,
440
],
"parameters": {},
"typeVersion": 2
},
{
"id": "117363c3-d1d7-4b28-99c7-9d82907883ea",
"name": "Fallback Text",
"type": "n8n-nodes-base.whatsApp",
"position": [
1480,
760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f9e14861-22e1-48cb-98a7-57c72dd3387e",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1760,
560
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "ac72ac2b-c677-436a-a859-49ff82ad7704",
"name": "Simple Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1980,
560
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "cf3d77d2-65a5-43ca-970e-c7ca185d7472",
"name": "No Operation, do nothing",
"type": "n8n-nodes-base.noOp",
"position": [
2560,
760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4bf7b083-f5de-4b4d-b5e7-e279c119d2fb",
"name": "Gmail Output Set",
"type": "n8n-nodes-base.set",
"position": [
2580,
160
],
"parameters": {},
"typeVersion": 2
},
{
"id": "0730da65-1887-41a7-94bf-93afd8e1beeb",
"name": "Send Gmail Notifications",
"type": "n8n-nodes-base.gmail",
"position": [
2240,
760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "17d106a1-c4d5-4c49-bfd8-c9021161a94e",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
820,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6aadac5e-5b90-485e-9f9c-86605e5b29a3",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1080,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3eea91d7-41de-4249-b728-41e9970c72bb",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1380,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a23493ca-afd9-4eef-8730-9da834a3fb83",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1680,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fb726309-178c-4c6a-bed5-2e6e4242e1f0",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1380,
620
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "dd1df860-554a-4670-942f-2226e2b890d6",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2160,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f25829ac-0218-47c0-bb28-8e1bdc58f1ec",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
2480,
-20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e4d5f2b1-0192-4631-bfed-1bf72c321dec",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
1680,
360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "df60bbea-da37-4183-9d53-a5128391862b",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1920,
360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f66e9ac5-d173-40be-80ff-dfe824334189",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
2160,
360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "673e0ae9-d824-4919-94a5-9a817e5b218f",
"name": "Sticky Note10",
"type": "n8n-nodes-base.stickyNote",
"position": [
2480,
360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d48222ff-b29a-4961-9808-68e497f872b8",
"name": "WhatsApp Reply Sender",
"type": "n8n-nodes-base.whatsApp",
"position": [
2280,
160
],
"parameters": {},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "155c1f87-f41f-41f3-9f44-9f0ff7afda23",
"connections": {
"AI Agent": {
"main": [
[
{
"node": "WhatsApp Reply Sender",
"type": "main",
"index": 0
}
]
]
},
"Signpost": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
},
{
"node": "Is Text Message?",
"type": "main",
"index": 0
}
]
]
},
"Fallback Text": {
"main": [
[
{
"node": "Send Gmail Notifications",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Gmail Output Set": {
"main": [
[
{
"node": "Send Gmail Notifications",
"type": "main",
"index": 0
}
]
]
},
"Is Text Message?": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
],
[
{
"node": "Fallback Text",
"type": "main",
"index": 0
}
]
]
},
"Input Submissions": {
"main": [
[
{
"node": "Signpost",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"WhatsApp Reply Sender": {
"main": [
[
{
"node": "Gmail Output Set",
"type": "main",
"index": 0
}
]
]
},
"Send Gmail Notifications": {
"main": [
[
{
"node": "No Operation, do nothing",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
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 business products or services using Open…
Source: https://n8n.io/workflows/4456/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Transform your salon/service business with this streamlined WhatsApp automation system featuring Claude integration, zero-setup database management, and intelligent conversation handling. Claude MCP I
48_WAgentEnhancement. Uses whatsAppTrigger, whatsApp, openAi, httpRequest. Event-driven trigger; 56 nodes.
This template is designed for anyone who wants to use WhatsApp as a personal AI assistant hub. If you often juggle tasks, emails, calendars, and expenses across multiple tools, this workflow consolida
This n8n-powered workflow automates the entire lifecycle of real estate lead intake, qualification, routing, assignment, and reporting across multiple channels. It brings WhatsApp inquiries and websit
Top Branch Workflow A The Market Intelligence: Patrols the Market: Runs hourly to scrape competitor rates for future days. Gathers Intel: If prices spike, it instantly checks event announcements to se