Skip to main content

Send AI lead follow-up SMS with GPT-4.1, Google Sheets, Twilio and Gmail

Workflow preview

Workflow preview
100%
Send AI lead follow-up SMS with GPT-4.1, Google Sheets, Twilio and Gmail preview
Open on n8n.io

1. Workflow Overview

How it works Triggered when a lead submits your website contact form via webhook Logs the lead's Name, Phone, Email, and Interest to Google Sheets GPT 4.1 generates a personalised SMS and sends it ...

Best for

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

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.twilio, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.gmail

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Send AI lead follow-up SMS with GPT-4.1, Google Sheets, Twilio and Gmail
Workflow name
Send AI lead follow-up SMS with GPT-4.1, Google Sheets, Twilio and Gmail

How it works

  • Triggered when a lead submits your website contact form via webhook
  • Logs the lead's Name, Phone, Email, and Interest to Google Sheets
  • GPT-4.1 generates a personalised SMS and sends it instantly via Twilio
  • Waits 2 hours, then checks if the lead has replied (via Google Sheets)
  • If replied: notifies you via Gmail. If not: sends an AI follow-up SMS

Set up steps

  • Add your OpenAI API key to both OpenAI nodes (model: GPT-4.1)
  • Connect your Twilio account (Account SID + Auth Token) in both SMS nodes
  • Link Google Sheets via OAuth and set your sheet with columns: Name, Phone, Email, Interest, Replied
  • Connect Gmail via OAuth for owner notifications
  • Paste the webhook URL into your website contact form as the POST endpoint
  • Manually update the Replied column to Yes in Google Sheets when a lead responds

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 - Webhook - Lead Form Trigger

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

Block 2 - Respond to Webhook

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

Block 3 - Google Sheets - Log Lead

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 4 - OpenAI - Generate Personalized SMS

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

Block 5 - Twilio - Send First SMS

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

Block 6 - Wait - 2 Hours

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

Block 7 - Google Sheets - Check Reply Status

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 8 - IF - Has Lead Replied?

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

Block 9 - OpenAI - Generate Follow-Up SMS

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

Block 10 - Twilio - Send Follow-Up SMS

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

Block 11 - Send a message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 12 - Sticky Note

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

Block 13 - Sticky Note1

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

Block 14 - Sticky Note2

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

Block 15 - Sticky Note3

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

Block 16 - Sticky Note4

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

3. Summary Table

Workflow Send AI lead follow-up SMS with GPT-4.1, Google Sheets, Twilio and Gmail
Complexity advanced
Nodes 16
Categories Lead Nurturing, AI Chatbot
Author Meet Soni
Published 27 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15323/15323.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 Send AI lead follow-up SMS with GPT-4.1, Google Sheets, Twilio and Gmail do?

How it works Triggered when a lead submits your website contact form via webhook Logs the lead's Name, Phone, Email, and Interest to Google Sheets GPT 4.1 generates a personalised SMS and sends it ...

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, AI Chatbot use case.