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": "Pedido Aceito via WhatsApp",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "pedido-aceito",
"responseMode": "lastNode",
"options": {
"responseData": {
"type": "json"
}
}
},
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
240,
240
]
},
{
"parameters": {
"rules": [
{
"value1": "={{$json[\"status\"]}}",
"operation": "equal",
"value2": "accepted"
}
]
},
"name": "Switch",
"type": "n8n-nodes-base.switch",
"typeVersion": 1,
"position": [
450,
240
]
},
{
"parameters": {
"requestMethod": "POST",
"url": "={{$env.WHATSAPP_API_URL}}",
"jsonParameters": true,
"bodyParametersJson": "={\n \"to\": \"{{$json[\\\"whatsapp\\\"]}}\",\n \"message\": \"Ol\u00e1 {{$json[\\\"customer_name\\\"]}}, seu pedido {{$json[\\\"table_number\\\"] ? 'da mesa ' + $json[\\\"table_number\\\"] : 'de delivery'}} foi aceito e j\u00e1 est\u00e1 em produ\u00e7\u00e3o!\"\n}"
},
"name": "WhatsApp",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
660,
240
]
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "WhatsApp",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Pedido Aceito via WhatsApp. Uses httpRequest. Webhook trigger; 3 nodes.
Source: https://github.com/techcarlosandre/delivery/blob/62cda67730aa327cb5c776dd5918c130799dcf97/n8n/n8n-workflow.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.
77STF — Slack to CRM (calendar hint). Uses httpRequest. Webhook trigger; 6 nodes.
This workflow integrates with your Baserow 'Messages' table, triggering on 'Sent' status. Messages fire via WasenderAPI, rigorously logged as 'Outbound' in Baserow. Gain total control; drive results.
Saathi WhatsApp Message. Uses httpRequest. Webhook trigger; 5 nodes.
OarOre - Payment Chat Start -> WhatsApp. Uses httpRequest. Webhook trigger; 5 nodes.