AutomationFlowsGeneral › Send Automated Appointment Reminders via SMS with Twilio Webhook

Send Automated Appointment Reminders via SMS with Twilio Webhook

ByDavid Olusola @dae221 on n8n.io

The workflow is an automated appointment reminder system built on n8n. Here is a step-by-step breakdown of its process:

Webhook trigger★★★★☆ complexity3 nodesTwilio
General Trigger: Webhook Nodes: 3 Complexity: ★★★★☆ Added:

This workflow corresponds to n8n.io template #6932 — we link there as the canonical source.

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 →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "9e7a0fea-06bb-4067-9643-ade20a9b3e94",
      "name": "Reminder Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        80,
        240
      ],
      "parameters": {
        "path": "appointment-reminder",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 1
    },
    {
      "id": "670667bb-06eb-4db0-8976-1f7edcbd9f42",
      "name": "Extract Appointment Data",
      "type": "n8n-nodes-base.code",
      "position": [
        304,
        240
      ],
      "parameters": {
        "jsCode": "// This node extracts and formats the appointment data from the incoming webhook.\n// The expected webhook payload from your booking software should look something like this:\n// {\n//   \"customer_name\": \"John Doe\",\n//   \"customer_phone\": \"+1234567890\",\n//   \"appointment_id\": \"appt_12345\",\n//   \"appointment_service\": \"Consultation\",\n//   \"appointment_time\": \"2025-08-04 14:00:00\"\n// }\n\nconst webhookData = $input.item.json.body || {};\n\n// Basic data extraction and validation\nconst customerName = webhookData.customer_name || 'Valued Customer';\nconst customerPhone = webhookData.customer_phone;\nconst appointmentTime = webhookData.appointment_time || 'today';\nconst serviceName = webhookData.appointment_service || 'your appointment';\nconst appointmentId = webhookData.appointment_id || 'no-id-provided';\n\nif (!customerPhone) {\n  throw new Error('No customer phone number found in webhook data');\n}\n\n// Format the appointment time for the SMS message\n// You can customize the date formatting here if needed.\nconst formattedTime = new Date(appointmentTime).toLocaleString('en-US', {\n  weekday: 'short',\n  month: 'short',\n  day: 'numeric',\n  hour: 'numeric',\n  minute: 'numeric'\n});\n\nreturn {\n  json: {\n    customer_name: customerName,\n    customer_phone: customerPhone,\n    appointment_time: formattedTime,\n    service_name: serviceName,\n    appointment_id: appointmentId,\n    raw_data: webhookData\n  }\n};\n"
      },
      "typeVersion": 2
    },
    {
      "id": "a50e0125-c361-48b7-8f6c-b001e548ccfb",
      "name": "Send SMS Reminder",
      "type": "n8n-nodes-base.twilio",
      "position": [
        544,
        240
      ],
      "parameters": {
        "to": "={{ $json.customer_phone }}",
        "message": "={{ 'Hi ' + $json.customer_name + ', this is a friendly reminder for your ' + $json.service_name + ' appointment on ' + $json.appointment_time + '. We look forward to seeing you! - ' + $('Send SMS Reminder').parameters.from }}",
        "options": {}
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Reminder Webhook": {
      "main": [
        [
          {
            "node": "Extract Appointment Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Appointment Data": {
      "main": [
        [
          {
            "node": "Send SMS Reminder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

The workflow is an automated appointment reminder system built on n8n. Here is a step-by-step breakdown of its process:

Source: https://n8n.io/workflows/6932/ — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

This workflow receives new consult bookings via webhook (Calendly v2 or a generic scheduling tool), generates timed confirmation and reminder messages, runs each SMS through a separate compliance work

Twilio, Email Send
General

This workflow uses webhooks, Twilio SMS, SMTP email, and a Bar-Compliance Guardrail sub-workflow to request client ratings 48 hours after matters close. It routes replies so 4–5 star clients get a Goo

Twilio, Email Send
General

This workflow receives missed-call webhooks from Twilio or CallRail, normalizes call details, and instantly sends a compliant text-back via Twilio when allowed, then emails your firm a delivery-status

Twilio, Email Send
General

CredIQ — Loan Application Notification. Uses twilio. Webhook trigger; 4 nodes.

Twilio
General

CredIQ — Suspicious Transaction. Uses twilio. Webhook trigger; 4 nodes.

Twilio