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": "Vitalis - Envio de Recordatorios WA",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "vitalis-recordatorios",
"responseMode": "onReceived",
"responseData": ""
},
"id": "node-wh-01",
"name": "Webhook Vitalis",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
240,
300
]
},
{
"parameters": {
"jsCode": "// Extrae el array de turnos del body y prepara un item por cada uno\nconst body = $input.first().json.body;\nconst turnos = body.turnos || [];\nconst centroNombre = body.centro_nombre || 'el centro';\n\nreturn turnos.map(t => ({\n json: {\n turno_id: t.turno_id,\n to: 'whatsapp:+' + String(t.celular).replace(/^\\+/, ''),\n from: 'whatsapp:+5493625456570',\n nombre: t.paciente_nombre,\n fecha: t.fecha.split('-').reverse().join('/'),\n hora: t.hora.substring(0, 5),\n servicio: t.servicio || '',\n profesional: t.profesional || '',\n centro_nombre: centroNombre\n }\n}));"
},
"id": "node-code-01",
"name": "Preparar items",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
460,
300
]
},
{
"parameters": {
"url": "https://api.twilio.com/2010-04-01/Accounts/REEMPLAZAR_CON_ACCOUNT_SID/Messages.json",
"authentication": "genericCredentialType",
"genericAuthType": "httpBasicAuth",
"sendBody": true,
"contentType": "form-urlencoded",
"bodyParameters": {
"parameters": [
{
"name": "From",
"value": "={{ $json.from }}"
},
{
"name": "To",
"value": "={{ $json.to }}"
},
{
"name": "ContentSid",
"value": "HX5111b578b335001ca7d64be9222aff02"
},
{
"name": "ContentVariables",
"value": "={{ JSON.stringify({ \"1\": $json.nombre, \"2\": $json.centro_nombre, \"3\": $json.fecha, \"4\": $json.hora, \"5\": $json.profesional, \"6\": $json.servicio }) }}"
}
]
},
"options": {
"response": {
"response": {
"fullResponse": false
}
}
}
},
"id": "node-twilio-01",
"name": "Enviar WA Twilio",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
680,
300
],
"credentials": {
"httpBasicAuth": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Webhook Vitalis": {
"main": [
[
{
"node": "Preparar items",
"type": "main",
"index": 0
}
]
]
},
"Preparar items": {
"main": [
[
{
"node": "Enviar WA Twilio",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
httpBasicAuth
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Vitalis - Envio de Recordatorios WA. Uses httpRequest. Webhook trigger; 3 nodes.
Source: https://github.com/gkovalek/agendavitalis/blob/main/n8n/workflow-1-envio-recordatorios.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.
This n8n template provides enterprise-level version control for your workflows using GitHub integration. Stop losing hours to broken workflows and manual exports – get proper commit history, visual di
This flow creates dummy files for every item added in your *Arrs (Radarr/Sonarr) with the tag .
eek-Go v2 (Batch-Then-Review). Uses httpRequest. Webhook trigger; 75 nodes.
This workflow receives webhook requests from a content calendar and uses the X API v2 to publish text posts, threads, image/video posts, and polls, as well as delete existing posts and run a credentia
This workflow acts as a central API gateway for all technical indicator agents in the Binance Spot Market Quant AI system. It listens for incoming webhook requests and dynamically routes them to the c