Automation library · Lead generation

Reactivate solar leads with Google Sheets

Started by another system calling it, and works across Email, Google Sheets and Twilio. It hands the judgement calls to OpenAI. 22 steps, 5 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

22 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
5Loops or waits
3Services it connects to

The flow

Starts it 2Model 1Logic 8Service 11

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

  1. 1SMS Reply WebhookWebhookStarts it
  2. 2Schedule TriggerSchedule triggerStarts it
  3. 3Parse ReplyCodeLogic
  4. 4Get row(s) in sheetGoogle SheetsService
  5. 5Find Lead DataGoogle SheetsService
  6. 6Filter Ready LeadsCodeLogic
  7. 7AI Generate ResponseOpen AiModel
  8. 8Process One Lead at a TimeSplit In BatchesLogic
  9. 9Send AI ReplyTwilioService
  10. 10Mark Sequence ActiveGoogle SheetsService
  11. 11Analyze Response IntentCodeLogic
  12. 12Week 1 SMSTwilioService
  13. 13Update Response StatusGoogle SheetsService
  14. 14Wait 1 WeekWaitLogic
  15. 15Week 2 SMSTwilioService
  16. 16Wait 2 WeeksWaitLogic
  17. 17Week 3 EmailEmail SendService
  18. 18Wait 3 WeeksWaitLogic
  19. 19Week 4 SMSTwilioService
  20. 20Wait 4 WeeksWaitLogic
  21. 21Final SMSTwilioService
  22. 22Mark Sequence CompleteGoogle SheetsService

How it's built

Starts on
Another system calling it
Steps
22, 5 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Email, Google Sheets, Twilio
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Email, 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?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

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 22 steps before you point it at anything that matters.