Researched: Sourced and summarized, not yet run end-to-end by us Lead generation

Missed-call text-back automation and AI appointment booking (n8n, Twilio)

Last checked: · Sourced and summarized; not yet run end-to-end by us. What this means

At a glance

Setup estimate
2–3 h (ESTIMATE)
Tools
Industries
Home services, Healthcare & wellness
View source template on n8n.io (opens in new tab)

Problem

Missed calls are lost leads for trades and local services

Who it's for

A missed call text back automation for local service businesses that live on the phone: plumbers, salons, clinics and contractors (the template's own list). The trigger: a call goes unanswered while you're on a job, and you want the caller texted straight away with a booking link, the call logged and yourself alerted. A second, optional part turns a voice AI receptionist's (Vapi or Retell) end-of-call summary into a Google Calendar booking and an SMS confirmation.

Skip it if you text US numbers but haven't registered for A2P 10DLC (or don't want to), or if your phones run through a provider other than Twilio. The booking half only makes sense if you already run a Vapi or Retell voice agent; it isn't included.

Tools and what each does

Twilio (webhook source and SMS)
Posts call data to the first webhook; sends the text-back to the caller, the alert to the owner and, in part 2, the booking confirmation.
n8n Webhooks and CONFIG Set nodes
Two webhooks (twilio-call-status and voice-call-summary) and two CONFIG nodes holding your business name, booking link, owner phone, Twilio number, sheet ID and calendar ID.
IF nodes
'Missed call' = CallStatus is not 'completed' and Direction is 'inbound'. 'Booked' = the AI's booked field is true.
Google Sheets
Appends missed calls to a MissedCalls tab and voice-agent calls to a VoiceCalls tab.
Voice AI (Vapi or Retell, not included)
Your AI receptionist; its end-of-call report is posted to the second webhook.
OpenAI gpt-4o-mini via Information Extractor
Pulls caller_name, caller_phone, service, preferred_time, booked and notes out of the transcript.
Code node + Google Calendar
Turns preferred_time into a one-hour slot and creates the event.

Browse by tool: n8n, Twilio, OpenAI, Google Calendar, Google Sheets

Steps

  1. Twilio posts a call event to the first webhook.
  2. If it's inbound and not 'completed', Twilio texts the caller: sorry we missed you, reply or book at your link, reply STOP to opt out.
  3. The missed call is logged to MissedCalls and the owner gets an SMS alert.
  4. Part 2: your voice agent posts its end-of-call report to the second webhook.
  5. The extractor reads the transcript and returns the booking fields.
  6. If booked, the Code node builds the slot (falling back to 24 hours from now if the time can't be parsed), Google Calendar creates the event and Twilio texts the caller a confirmation.
  7. Every voice call (booked or not) is logged to VoiceCalls and the owner gets an SMS summary.

Known problems in the source template

Found by reading the template's JSON, not by running it. Likely fails as shipped.

  • Problem: The voice webhook passes the request body under body, but the extractor reads $json.transcript at the top level, so with Vapi's or Retell's payload the AI likely receives no transcript.

    Fix: Map the transcript field from your provider's actual payload.

  • Problem: CONFIG values include comments, for example '+1234567890 (your Twilio number)'.

    Fix: Replace the whole value, or Twilio will reject the numbers.

Before you start

  • A Twilio account and phone number. For texting US numbers from a local (10DLC) number, Twilio's docs say you must register a Brand and Campaign for A2P 10DLC first; registration time and fees are UNKNOWN here.
  • A Google account connected to n8n for Sheets and Calendar, and a sheet with MissedCalls and VoiceCalls tabs.
  • An OpenAI API key (for part 2 only).
  • For part 2: a Vapi or Retell voice agent that can POST an end-of-call report to a URL.
  • Setup estimate: 2–3 h (ESTIMATE).

What can go wrong

US business texting through Twilio requires A2P 10DLC registration (time and fees UNKNOWN). The booking half needs a separate Vapi or Retell voice agent. Recently published template with a short track record.

  • Silent failureWhich Twilio webhook you use matters. Twilio's docs say the incoming-call webhook fires when someone dials and expects a TwiML reply, while a separate status callback is sent after the call ends. The template's setup says to point the number's voice webhook at it, but that request arrives while the call is still ringing, so the 'not completed' test would likely text every caller, answered or not, and n8n's default reply isn't TwiML. Use the call-status callback and decide which statuses (for example no-answer, busy, failed) count as missed.
  • ReliabilityThe calendar time comes from JavaScript parsing the AI's preferred_time text. Phrases like 'Tuesday afternoon' don't parse, so the event lands 24 hours from now, while the SMS still repeats the caller's wording. Parsing also uses the n8n server's time zone, and nothing checks for clashes.
  • ReliabilityThe texts invite callers to 'Reply here' and 'Reply CANCEL to reschedule', but nothing in the workflow handles incoming SMS. Replies go to the Twilio number unread unless you add a messaging webhook.
  • Data privacyNeither webhook checks that requests come from Twilio or your voice provider, so anyone with the URL can trigger texts at your expense. Twilio's docs recommend HTTPS and validating Twilio's request signature. Call transcripts go to OpenAI.
  • ModelThe CSV lists GPT-4o, but the template uses gpt-4o-mini, which OpenAI's deprecations page lists for removal from the API on Jan 14, 2027 (recommended replacement gpt-6-luna).
  • Source qualityThe template was published on Oct 1, 2026, so it has a short track record.

How to adapt it

  • Use only part 1 (the text-back) if you don't run a voice agent; it needs no OpenAI key.
  • Take caller_phone from the voice platform's caller ID instead of asking the AI to read it from the transcript.
  • Ask the voice agent for an ISO date-time, or add a step that resolves 'next Tuesday 3pm' in your own time zone, and check free/busy before creating the event.
  • Add a Twilio incoming-message webhook so replies and CANCEL texts reach you or update the booking.
  • Swap the Sheets logging for your CRM (the template's customization notes suggest this).

Sources we checked

Status
Researched: Sourced and summarized, not yet run end-to-end by us
Last checked
Details checked

Setup estimates are rough guesses for someone comfortable with the tools who already has the accounts and API keys. Real time is unknown until tested.

Practical AI workflows for small businesses, every Tuesday

A few workflows each issue for lead follow-up, CRM, proposals, onboarding and support, each labeled Researched or Tested.

We'll email you a link to confirm. Unsubscribe in one click. Privacy policy.

Why trust it: every entry links its source and caveats, and nothing is called Tested until we publish the logs. Our method.

More lead generation workflows