Reply to missed calls and triage SMS responses with Twilio, OpenAI and Sheets
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Twilio, Google Sheets and OpenAI Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Reply to Twilio (Respond to Webhook): sends the response back to the webhook caller
- Acknowledge Twilio (Respond to Webhook): sends the response back to the webhook caller
- Your settings (Edit Fields (Set)): sets 7 fields: businessName, twilioNumber, ownerMobile…
- Your settings (replies) (Edit Fields (Set)): sets 4 fields: businessName, twilioNumber, ownerMobile…
- Was the call missed? (If): checks a condition and branches into true / false
- Classify reply (AI) (Text Classifier): classifies text into categories with AI, with model: OpenAI Chat Model
- Business hours? (Code): runs custom JavaScript code
- Alert owner now (Twilio): uses Twilio
- Send booking link (Twilio): uses Twilio
- Shape call-back row (Edit Fields (Set)): sets 3 fields: caller, message, receivedAt
…plus 4 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Twilio + Google Sheets templates (89) · Other OpenAI + Twilio templates (54)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Twilio
n8n-nodes-base.twilio - Google Sheets
n8n-nodes-base.googleSheets - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow uses Twilio webhooks to detect missed calls and send an immediate text-back, logs each missed call to Google Sheets, and then uses OpenAI (via the n8n LangChain Text Classifier) to categorize incoming SMS replies and route them to…