The flow
Starts it 2Model 6Logic 11Service 3
The steps in the order they run, from what starts it.
- 1OpenAI GPT-5.6 ResponseLm Chat Open AiModel
- 2Parse Response OutputOutput Parser StructuredModel
- 3Capture Webhook LeadsWebhookStarts it
- 4Capture Gmail LeadsGmail triggerStarts it
- 5OpenAI GPT-5.6 AnalyzerLm Chat Open AiModel
- 6Parse AI Analysis OutputOutput Parser StructuredModel
- 7Generate Hot Lead ResponseChain LlmModel
- 8Set Webhook Lead DataCodeLogic
- 9Set Gmail Lead DataSetLogic
- 10Analyze Lead with AIChain LlmModel
- 11Draft Response EmailCodeLogic
- 12Set Lead ConfigurationSetLogic
- 13Calculate Lead ScoreCodeLogic
- 14Create Draft in GmailGmailService
- 15If Lead ValidIfLogic
- 16Route by Lead ScoreSwitchLogic
- 17Build Lead Database EntryCodeLogic
- 18Read Existing Leads from SheetsGoogle SheetsService
- 19Append Lead to SheetsGoogle SheetsService
- 20Check for Duplicate LeadsCodeLogic
- 21If Duplicate LeadIfLogic
- 22Restore Lead DataCodeLogic
How it's built
- Starts on
- Another system calling it
- Steps
- 22, with 3 branches
- Size
- Large: read it before trusting it with anything live
- Connects to
- Gmail, Google Sheets
- Model
- OpenAI
Questions
What does it need to run?
An n8n account, plus your own Gmail and Google Sheets 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 itNothing 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.