Qualify inbound leads with OpenRouter, Google Sheets and Gmail
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenRouter Chat Model, Google Sheets and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Normalize Lead Payload (Edit Fields (Set)): sets 5 fields: lead_name, lead_email, lead_company…
- Qualify Inbound Lead (LLM) (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model
- Parse AI JSON Response (Code): runs custom JavaScript code
- Log Lead to Google Sheets (Google Sheets): append
- Is High-Priority Lead? (If): checks a condition and branches into true / false
- Notify Sales via Gmail (Gmail): uses Gmail
- Return Webhook Result (Respond to Webhook): sends the response back to the webhook caller
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + OpenRouter templates (210) · Other Gmail + OpenRouter templates (135)
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 (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow receives inbound lead submissions via webhook, standardizes contact fields, uses OpenRouter to score buyer intent, logs each lead to Google Sheets, emails your sales inbox via Gmail for high-priority leads, and returns a…