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": "Somar.IA SaaS - Fluxo Avan\u00e7ado WhatsApp",
"nodes": [
{
"parameters": {
"path": "saas-agendamentos",
"responseMode": "responseNode",
"options": {}
},
"name": "Entrada Plataforma (Webhook)",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
100,
300
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "{\n \"status\": \"processando\",\n \"message\": \"Agendamento recebido e enfileirado nas automa\u00e7\u00f5es\"\n}",
"options": {}
},
"name": "Responder Plataforma",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
300,
150
]
},
{
"parameters": {
"dataType": "string",
"value1": "={{ $json.tipo }}",
"rules": {
"rules": [
{
"value2": "NOVO_AGENDAMENTO",
"output": 0
},
{
"value2": "LEMBRETE",
"output": 1
}
]
}
},
"name": "Roteador (Switch)",
"type": "n8n-nodes-base.switch",
"typeVersion": 1,
"position": [
300,
300
]
},
{
"parameters": {
"method": "POST",
"url": "https://sua-api-whatsapp.com.br/message/sendText/clinica_ID",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "apikey",
"value": "SUA_CHAVE_AQUI"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "number",
"value": "={{ $json.paciente.telefone }}"
},
{
"name": "options.delay",
"value": "1200"
},
{
"name": "textMessage.text",
"value": "Ol\u00e1 {{ $json.paciente.nome }}! Seu agendamento foi marcado para {{ $json.dataHora }}. Para confirmar responda *SIM*, ou *NAO* para cancelar."
}
]
},
"options": {}
},
"name": "Disparar WhatsApp (Novo)",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
550,
200
]
},
{
"parameters": {
"resume": "webhook",
"path": "confirmar-agendamento",
"options": {}
},
"name": "Aguardar Resposta Paciente",
"type": "n8n-nodes-base.wait",
"typeVersion": 1,
"position": [
750,
200
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.somar.ia.br/appointments/confirm",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "eventoId",
"value": "={{ $json.eventoId }}"
},
{
"name": "status",
"value": "CONFIRMADO"
}
]
},
"options": {}
},
"name": "Atualizar Status Backend",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
950,
200
]
},
{
"parameters": {
"resume": "time",
"timeAmount": 1,
"timeUnit": "days"
},
"name": "Espera Inteligente (24h antes)",
"type": "n8n-nodes-base.wait",
"typeVersion": 1,
"position": [
550,
400
]
},
{
"parameters": {
"method": "POST",
"url": "https://sua-api-whatsapp.com.br/message/sendText/clinica_ID",
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "textMessage.text",
"value": "Passando para lembrar da sua consulta amanh\u00e3 as {{ $json.dataHora }}. Nos vemos l\u00e1!"
}
]
},
"options": {}
},
"name": "Disparar WhatsApp (Lembrete)",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
750,
400
]
}
],
"connections": {
"Entrada Plataforma (Webhook)": {
"main": [
[
{
"node": "Responder Plataforma",
"type": "main",
"index": 0
},
{
"node": "Roteador (Switch)",
"type": "main",
"index": 0
}
]
]
},
"Roteador (Switch)": {
"main": [
[
{
"node": "Disparar WhatsApp (Novo)",
"type": "main",
"index": 0
},
{
"node": "Espera Inteligente (24h antes)",
"type": "main",
"index": 0
}
],
[
{
"node": "Disparar WhatsApp (Lembrete)",
"type": "main",
"index": 0
}
]
]
},
"Disparar WhatsApp (Novo)": {
"main": [
[
{
"node": "Aguardar Resposta Paciente",
"type": "main",
"index": 0
}
]
]
},
"Aguardar Resposta Paciente": {
"main": [
[
{
"node": "Atualizar Status Backend",
"type": "main",
"index": 0
}
]
]
},
"Espera Inteligente (24h antes)": {
"main": [
[
{
"node": "Disparar WhatsApp (Lembrete)",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Somar.IA SaaS - Fluxo Avançado WhatsApp. Uses httpRequest. Webhook trigger; 8 nodes.
Source: https://github.com/graphwell/synka/blob/fa9ef705b296a7543b69196a5a5abf2334d6306a/n8n/flow-avancado.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.
Flujowhatsapp. Uses @aldinokemal2104/n8n-nodes-gowa, postgres, httpRequest. Webhook trigger; 65 nodes.
HR teams, IT Operations, and System Administrators managing employee onboarding at scale. It’s perfect if you use Odoo 18 to trigger account requests and need Redmine + GitLab accounts created instant
This workflow is a complete, production-ready solution for recovering abandoned carts in Shopify stores using a multi-channel, multi-touch approach. It automates personalized follow-ups via Email, SMS
WF_UNIFIED_LEGAL_AUTOMATION. Uses googleSheets, httpRequest, telegram, telegramTrigger. Webhook trigger; 53 nodes.
Backbrief: transcripts (Zoom webhook -> Slack + vault). Uses httpRequest, slack. Webhook trigger; 52 nodes.