Automation library · Lead generation

Send AI lead follow-up SMS with OpenAI and Google Sheets

Started by another system calling it, and works across Gmail, Google Sheets and Twilio. It hands the judgement calls to OpenAI. 11 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI

11 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
3Services it connects to

The flow

Starts it 2Model 2Logic 2Service 5

The steps in the order they run, from what starts it.

  1. 1Webhook - Lead Form TriggerWebhookStarts it
  2. 2Respond to WebhookRespond To WebhookStarts it
  3. 3Google Sheets - Log LeadGoogle SheetsService
  4. 4OpenAI - Generate Personalized SMSOpen AiModel
  5. 5Twilio - Send First SMSTwilioService
  6. 6Wait - 2 HoursWaitLogic
  7. 7Google Sheets - Check Reply StatusGoogle SheetsService
  8. 8IF - Has Lead Replied?IfLogic
  9. 9Send a messageGmailService
  10. 10OpenAI - Generate Follow-Up SMSOpen AiModel
  11. 11Twilio - Send Follow-Up SMSTwilioService

How it's built

Starts on
Another system calling it
Steps
11, with 1 branch, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Gmail, Google Sheets, Twilio
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and Twilio accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 11 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 11 steps before you point it at anything that matters.