# Speed to Lead: SMS Qualification (Solar Installers): n8n workflow

> Started by another system calling it, and works across Supabase and Twilio. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/speed-to-lead-sms-qualification-solar-installers (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Lead generation](https://millionrounds.com/workflows?category=Lead+generation#library)

# Speed to Lead: SMS Qualification (Solar Installers)

Started by another system calling it, and works across Supabase and Twilio. It hands the judgement calls to OpenAI. 25 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fspeed-to-lead-sms-qualification-solar-installers)

**25 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 3 Model 1 Logic 7 Service 14

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

- 1 **New Lead, Website Form** Webhook *Starts it*
- 2 **Incoming SMS Reply** Webhook *Starts it*
- 3 **Parse Lead Data** Set *Logic*
- 4 **Parse SMS Reply** Set *Logic*
- 5 **Save Lead to Supabase** Supabase *Service*
- 6 **Fetch Conversation History** Supabase *Service*
- 7 **Initialise Conversation Memory** Supabase *Service*
- 8 **Save User Message** Supabase *Service*
- 9 **Send Greeting SMS** Twilio *Service*
- 10 **Respond to Webhook** Respond To Webhook *Starts it*
- 11 **Build AI Prompt** Code *Logic*
- 12 **Send Q1, Ownership** Twilio *Service*
- 13 **Message a model** Open Ai *Model*
- 14 **Check if Complete** Code *Logic*
- 15 **Conversation Complete?** If *Logic*
- 16 **Disqualified?** If *Logic*
- 17 **Save Assistant Reply** Supabase *Service*
- 18 **Mark Disqualified in Supabase** Supabase *Service*
- 19 **Hot Lead?** If *Logic*
- 20 **Send Next Question** Twilio *Service*
- 21 **Hot, Book Consultation SMS** Twilio *Service*
- 22 **Warm/Cold, Soft Booking SMS** Twilio *Service*
- 23 **Update Lead Score in Supabase** Supabase *Service*
- 24 **Send to CRM** Http Request *Service*
- 25 **Alert Sales Rep via SMS** Twilio *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 25, with 3 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Supabase, Twilio
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Supabase 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 25 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 25 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fspeed-to-lead-sms-qualification-solar-installers)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Supabase](https://millionrounds.com/workflows?service=Supabase#library)[Twilio](https://millionrounds.com/workflows?service=Twilio#library)

## Workflows like it

Also lead generation, with the same services where possible, closest in size first.

- [**Qualify mortgage leads and collect documents with Gemini** 24 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/qualify-mortgage-leads-and-collect-documents-with-gemini)
- [**Smarter RAG agents with Gemini and Supabase** 24 steps · calls a model · Supabase, Supabase vectors](https://millionrounds.com/workflow/smarter-rag-agents-with-gemini-and-supabase)
- [**Speed to Lead: SMS Qualification (Real Estate) with OpenAI** 24 steps · calls a model · Supabase, Twilio](https://millionrounds.com/workflow/speed-to-lead-sms-qualification-real-estate-with-openai)
- [**Qualify Facebook leads with ElevenLabs and Supabase** 24 steps · Gmail, Slack](https://millionrounds.com/workflow/qualify-facebook-leads-with-elevenlabs-and-supabase)
- [**Reddit lead finder: prospecting with OpenAI and Supabase** 23 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/reddit-lead-finder-prospecting-with-openai-and-supabase)
- [**AI website scraper & company intelligence with Mistral** 28 steps · calls a model · Google Drive, Supabase](https://millionrounds.com/workflow/ai-website-scraper-and-company-intelligence-with-mistral)
