Qualify and reply to new leads with Gemini, OpenAI, Claude and Sheets
Ready for 3.0What this workflow does
This AI workflow has 28 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Gemini Chat Model, OpenAI Chat Model, Anthropic Chat Model and Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Set Business Details (Edit Fields (Set)): sets 13 fields: ai_provider, business_name, business_description…
- Validate Lead Data (Code): runs custom JavaScript code
- Route by AI Provider (Switch): routes items into 3 branches
- Gemini AI Agent (AI Agent): runs an AI agent, with model: Gemini Model; 1 tool (Gemini AI Reasoning); output parser: Parse Gemini Output
- OpenAI AI Agent (AI Agent): runs an AI agent, with model: GPT-4.1 Mini Model; 1 tool (OpenAI AI Reasoning); output parser: Parse OpenAI Output
- Claude AI Agent (AI Agent): runs an AI agent, with model: Claude Haiku Model; 1 tool (Claude AI Reasoning); output parser: Parse Claude Output
- Combine AI Results (Code): runs custom JavaScript code
- Append Lead to Sheets (Google Sheets): append
- If: checks a condition and branches into true / false
- Notify Owner of Hot Lead (Send Email): sends an email over SMTP
…plus 8 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Gemini + Google Sheets templates (819) · Other Anthropic + Google Sheets templates (261)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (14)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow receives new leads via a webhook, uses Google Gemini (or optionally OpenAI or Anthropic Claude) to score and summarize the request and draft a reply, logs the lead in Google Sheets, emails you hot-lead alerts, and can…