Home / Plumbing & HVAC / Missed-call text-back
Missed-call text-back
You're elbow-deep in a water heater and miss a call. The caller doesn't leave a voicemail. They call the next plumber.
How it works
- Get a Twilio phone number and set it to forward calls to your cell.
- If you don't answer within ~20 seconds, Twilio tells the n8n workflow the call was missed.
- The workflow texts the caller within seconds: 'Sorry we missed you, what's going on?'
- When they reply, AI writes a short, friendly answer and you get an email alert with their number and message.
- You call back when you're free, already knowing what the job is.
Tools used
How we got this number
- Twilio local number$1.15
- Texting registration (A2P 10DLC) monthly fee$2
- ~200 text segments sent + received$1.66
- carrier fees on ~100 outbound texts$0.50
- ~150 inbound call minutes$1.28
- ~150 minutes forwarded to your cell$2.10
- ~100 AI-written replies$0.04
- Automation platform (or self-host n8n free)β¬20
Assumes ~100 missed calls a month. n8n Cloud Starter is billed in euros; self-hosting n8n removes that line. Prices are list prices checked 2026-10-26; see every source.
Plus one-time texting registration (A2P 10DLC): about $19.50 (low-volume brand + campaign vetting). Source
The full setup, step by step
12 steps in one n8n workflow. Everything below is generated from the template itself, so it always matches.
Before you start
You need an n8n account (n8n, or self-host it free) plus your own logins for: Twilio Gmail / Google Workspace OpenAI API.
How the automation flows
When a call ends
Tap a step to jump to its details.
Each step and what it does
- 1Trigger
Call ended (from Twilio)
Twilio calls this webhook the moment a call to your business number ends, rings out or goes to voicemail. It passes along the caller's number and the call status.
Webhook path
YOUR_N8N_URL/webhook/missed-callThen β 3. Config (edit me)
- 2Trigger
Incoming text
Twilio calls this webhook every time someone texts your business number.
Webhook path
YOUR_N8N_URL/webhook/incoming-smsThen β 3. Config (edit me)
- 3Settings
Config (edit me)
One place for everything specific to your business. Every later step reads from here, so this is the only node you have to edit.
Then β 4. Call or text?
- 4Decision
Call or text?
Both triggers share the same Config, so this splits them: calls go one way, texts the other.
Rulethe call status is filled in
Calls β 5. Tell Twilio what to say Β· Texts β 9. Acknowledge Twilio (text)
- 5Reply to request
Tell Twilio what to say
Answers Twilio right away. If the call was answered it just hangs up; if it was missed the caller hears a short message saying a text is on its way.
Sendsthe message shown under Message copy
Then β 6. Was the call missed?
- 6Decision
Was the call missed?
Only keeps going when nobody picked up. Answered calls stop here, so nobody gets a pointless text.
Rulethe call status is not βcompletedβ
If yes β 7. Text the caller Β· If no β stops here
- 7Send SMS (Twilio)
Text the caller
Sends the missed caller a text within seconds.
Sendsthe message shown under Message copy
π Connect your Twilio login on this node
Then β 8. Email the owner
- 8Send email (Gmail)
Email the owner
Emails you so you know who to call back (and what they were told).
Sendsthe message shown under Message copy
π Connect your Gmail login on this node
End of this path.
- 9Reply to request
Acknowledge Twilio (text)
Tells Twilio the text was received. The reply goes out separately, so this one sends nothing to the customer.
Then β 10. AI writes reply
- 10AI (OpenAI)
AI writes reply
OpenAI drafts a short, on-brand reply using your business info and the customer's message. The instructions (prompt) keep it short and stop it from inventing prices.
Model
gpt-5-miniAI instructions (prompt)
You are the friendly dispatcher for a local plumbing and HVAC company. Write one short, warm SMS reply (under 300 characters) to a new lead. Acknowledge their problem in plain words, say a technician will call them shortly, and if they describe water actively leaking, gas smell, no heat in freezing weather or no AC in extreme heat, tell them to reply URGENT. Never quote prices. Never promise an exact arrival time. Sign off with the business name.
π Connect your OpenAI login on this node
Then β 11. Text the AI reply
- 11Send SMS (Twilio)
Text the AI reply
Texts the AI's reply back to the customer.
Sendsthe message shown under Message copy
π Connect your Twilio login on this node
Then β 12. Email owner about the text
- 12Send email (Gmail)
Email owner about the text
Emails you what the customer wrote and what was sent back.
Sendsthe message shown under Message copy
π Connect your Gmail login on this node
End of this path.
Key settings to change
All of these live in the Config (edit me) node. Change them once and every text and email updates.
| Setting | Placeholder in the template | Change it to |
|---|---|---|
Business namebusiness_name | YOUR BUSINESS NAME | Exactly how customers know you. It appears in every text. |
Booking / calendar linkbooking_link | https://YOUR-BOOKING-LINK | Your online booking page (Calendly, your CRM's scheduler, or your contact page). Use the short public link. |
Hourshours | Mon-Fri 8am-6pm | Short and text-friendly, e.g. Mon-Fri 8am-6pm. |
Your emailowner_email | you@example.com | Where the 'new lead' and 'missed call' alerts go. |
Your cellowner_cell | +15555550100 | In +1 format (+15551234567). |
Twilio numbertwilio_number | +15555550199 | The number you bought in Twilio, in +1 format. Texts are sent from it. |
Message copy: exactly what it sends
Highlighted parts are filled in automatically. Edit the wording right in the node.
Subject Missed call from their phone number
Subject New text from their phone number
We auto-replied: AI-written reply
Hook it up
- Open Config (edit me) and fill in your business name, booking link, hours, email, cell and Twilio number.
- Click each node with a red warning and connect your own Twilio, OpenAI, Gmail credentials.
- In Twilio, on your number: Voice > 'A call comes in' > TwiML Bin with:
<Response><Dial timeout="20" action="YOUR_N8N_URL/webhook/missed-call">+1YOURCELL</Dial></Response> - Messaging > 'A message comes in' > Webhook
YOUR_N8N_URL/webhook/incoming-sms(POST). - Register your number for A2P 10DLC in Twilio before texting customers.
- Activate the workflow.
Test it before you trust it
Skip the clicking
Get the ready-to-import n8n template
Every step above, already wired up. Paste it into n8n, add your logins, fill in your business info and you're live.
β Unlocked. Here's your template.
- In n8n: click New workflow.
- Paste onto the empty canvas (Ctrl/Cmd+V).
- Set your credentials on the red nodes, then fill in Config (edit me).
Download .json instead Β· Using Make instead of n8n? A Make version of this template is coming soon.