Skip to main content

GPT-4o: Twilio integration with auto follow-up features

Workflow preview

Workflow preview
100%
GPT-4o: Twilio integration with auto follow-up features preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

How it works • Twilio webhook detects missed/unanswered calls automatically • Analyzes call context (time of day, business hours, weekend/weekday) • Checks CRM for existing customer data and purcha...

Best for

  • Lead Nurturing automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.stickynote, n8n-nodes-base.twiliotrigger, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Greypillar.

Original n8n.io source

1.1 Workflow description

Title
GPT-4o: Twilio integration with auto follow-up features
Workflow name
GPT-4o: Twilio integration with auto follow-up features

How it works

• Twilio webhook detects missed/unanswered calls automatically • Analyzes call context (time of day, business hours, weekend/weekday) • Checks CRM for existing customer data and purchase history (optional) • AI Chain (GPT-4o) generates personalized recovery messages for SMS and Email • Sends instant apology with booking link via SMS and/or Email • Logs all interactions to Airtable for tracking • Slack alerts sales team with customer priority and context • Waits 24 hours and checks if customer booked • Sends automatic follow-up SMS if no booking detected • Structured output parser ensures reliable JSON formatting

Set up steps

Time to set up: 15-20 minutes • Add Twilio credential and configure phone number in both SMS nodes • Get Slack channel ID for sales team alerts • Create Airtable base with 10 columns (Caller_Number, Customer_Name, Call_Time, Priority, SMS_Sent, Email_Sent, Booking_Link, Status, Urgency_Score, Follow_Up_Date) • Replace booking URL with your Cal.com or Calendly link • Configure business email for SMTP sending • Update business phone and name in follow-up SMS • Add credentials: Twilio API, OpenAI (GPT-4o), Slack OAuth2, Airtable Token, SMTP Email • Replace placeholder IDs in Slack and Airtable nodes • Optional: Configure CRM API for existing customer lookup (or disable those nodes)

What you'll need

Twilio - Phone number with SMS capability • OpenAI API - GPT-4o access for AI message generation • Slack - Standard workspace for sales alerts • Airtable - Free plan works for call tracking • Email SMTP - Gmail, SendGrid, or any SMTP provider • Cal.com or Calendly - Booking link for instant scheduling • CRM API (optional) - HubSpot, Salesforce, or custom CRM

Who this is for

Service businesses, agencies, and sales teams that lose revenue from missed calls. Perfect for businesses with high call volume that need instant personalized follow-up to recover lost opportunities.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Merge Results

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 2 - Track Results

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Missed Call Detected2

Type / Role
n8n-nodes-base.twilioTrigger - twilioTrigger
Config choices
Version 1

Block 5 - Analyze Call Context2

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Check Existing Contact2

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 7 - Merge Customer Data2

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Generate AI Response2

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.4

Block 9 - OpenAI Chat Model8

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1

Block 10 - Structured Output Parser8

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 11 - Prepare Messages2

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Send SMS?2

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 13 - Send SMS2

Type / Role
n8n-nodes-base.twilio - twilio
Config choices
Version 1

Block 14 - Send Email?2

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 15 - Send Email2

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 16 - Log to CRM2

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2

Block 17 - Notify Sales Team3

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.1

Block 18 - Wait 24 Hours2

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 19 - Check if Booked2

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 20 - No Response?2

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 21 - Send Follow-up SMS2

Type / Role
n8n-nodes-base.twilio - twilio
Config choices
Version 1

3. Summary Table

Workflow GPT-4o: Twilio integration with auto follow-up features
Complexity advanced
Nodes 21
Categories Lead Nurturing
Author Greypillar
Published 01 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9166/9166.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does GPT-4o: Twilio integration with auto follow-up features do?

How it works • Twilio webhook detects missed/unanswered calls automatically • Analyzes call context (time of day, business hours, weekend/weekday) • Checks CRM for existing customer data and purcha...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing use case.