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 →
{
"name": "Automa\u00e7\u00e3o Whatsapp",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "incoming",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
0,
0
],
"id": "e3ca72ee-242d-4878-87e7-1a650a35aabf",
"name": "Webhook"
},
{
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 3
},
"conditions": [
{
"leftValue": "={{ $json.body.text }}",
"rightValue": "1",
"operator": {
"type": "string",
"operation": "equals"
},
"id": "c9756e2a-411b-4dd6-a5e9-87e0e07a4166"
}
],
"combinator": "and"
},
"renameOutput": true,
"outputKey": "1"
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 3
},
"conditions": [
{
"id": "6a42c766-c19d-4dfa-acb4-420c1100db3b",
"leftValue": "={{ $json.body.text }}",
"rightValue": "2",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
},
"renameOutput": true,
"outputKey": "2"
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 3
},
"conditions": [
{
"id": "d1ba2866-1353-41e8-8a2c-1eef2f570cec",
"leftValue": "={{ $json.body.text }}",
"rightValue": "3",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
},
"renameOutput": true,
"outputKey": "3"
}
]
},
"options": {
"fallbackOutput": "extra"
}
},
"type": "n8n-nodes-base.switch",
"typeVersion": 3.4,
"position": [
208,
0
],
"id": "9e6723f5-09bf-4604-bcb0-6daa8dfdfbf1",
"name": "Switch"
},
{
"parameters": {
"method": "POST",
"url": "http://evolution:8080/message/sendText/tenant_1",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "apikey",
"value": "={{ $env.AUTHENTICATION_API_KEY }}"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "number",
"value": "={{ $json.body.remote_jid }}"
},
{
"name": "text",
"value": "Ol\u00e1! \ud83d\udc4b Seja bem-vindo(a). Como posso ajudar? Digite o n\u00famero: 1 \u2014 Agendar um hor\u00e1rio 2 \u2014 Tirar uma d\u00favida sobre um atendimento 3 \u2014 Endere\u00e7o e hor\u00e1rio de funcionamento Ou escreva sua mensagem que encaminho para um atendente."
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4,
"position": [
416,
272
],
"id": "cb413142-771f-4838-b792-c6eefe61c5bd",
"name": "Resp Menu"
},
{
"parameters": {
"method": "POST",
"url": "http://evolution:8080/message/sendText/tenant_1",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "apikey",
"value": "={{ $env.AUTHENTICATION_API_KEY }}"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "number",
"value": "={{ $json.body.remote_jid }}"
},
{
"name": "text",
"value": "\ud83d\udccd Estamos na [endere\u00e7o]. Atendemos de segunda a sexta, das 9h \u00e0s 18h. At\u00e9 logo!"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4,
"position": [
416,
96
],
"id": "009a3a6e-a3ee-4079-87fb-d66cef55eee8",
"name": "Resp 3"
},
{
"parameters": {
"method": "POST",
"url": "http://evolution:8080/message/sendText/tenant_1",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "apikey",
"value": "={{ $env.AUTHENTICATION_API_KEY }}"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "number",
"value": "={{ $json.body.remote_jid }}"
},
{
"name": "text",
"value": "Claro! Me conte rapidamente do que voc\u00ea precisa que j\u00e1 te ajudo. \ud83d\ude0a"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4,
"position": [
416,
-64
],
"id": "a74e654c-7093-4458-a113-0298dcc68215",
"name": "Resp 2"
},
{
"parameters": {
"method": "POST",
"url": "http://evolution:8080/message/sendText/tenant_1",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "apikey",
"value": "={{ $env.AUTHENTICATION_API_KEY }}"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "number",
"value": "={{ $json.body.remote_jid }}"
},
{
"name": "text",
"value": "Perfeito! Me diga o dia e o per\u00edodo de sua prefer\u00eancia (manh\u00e3 ou tarde) que confirmo a disponibilidade. \ud83d\udcc5"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.4,
"position": [
416,
-224
],
"id": "8c48e170-6fd9-4b4a-a90f-7dfd43f434b0",
"name": "Resp 1"
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "Resp 1",
"type": "main",
"index": 0
}
],
[
{
"node": "Resp 2",
"type": "main",
"index": 0
}
],
[
{
"node": "Resp 3",
"type": "main",
"index": 0
}
],
[
{
"node": "Resp Menu",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1",
"binaryMode": "separate"
},
"versionId": "a084e867-5f34-450a-b933-9f4128fa3210",
"nodeGroups": [],
"id": "L2XnB53hLbZ4zyS6",
"tags": []
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Automação Whatsapp. Uses httpRequest. Webhook trigger; 6 nodes.
Source: https://github.com/AlexandreCaribe/ZapSaaS/blob/9b1db43bdc80be0d7eb5e74b6fac1f12b18ea5ce/n8n/menu-flow.json — 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.
Add A Bug To Linear Via Slack Command. Uses httpRequest, stickyNote. Webhook trigger; 10 nodes.
When building a product it's important to discover and eliminate bugs as quickly as possible. Since we're using our product at n8n a lot, we wanted to make it as easy as possible for everyone to add b
Proxmox VM Lifecycle Automation. Uses telegram, httpRequest. Webhook trigger; 9 nodes.
Add Product Ideas To Notion Via A Slack Command. Uses stickyNote, notion, httpRequest. Webhook trigger; 8 nodes.
In most companies, employees have a lot of great ideas. That was the same for us at n8n. We wanted to make it as easy as possible to allow everyone to add their ideas to some formatted database - it s