Templates / Qualify inbound leads with OpenRouter, Google Sheets and Gmail

Qualify inbound leads with OpenRouter, Google Sheets and Gmail

Ready for 3.0

by Hemant Acharya · 0 views · created 2026-11-25

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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.

  1. Normalize Lead Payload (Edit Fields (Set)): sets 5 fields: lead_name, lead_email, lead_company…
  2. Qualify Inbound Lead (LLM) (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model
  3. Parse AI JSON Response (Code): runs custom JavaScript code
  4. Log Lead to Google Sheets (Google Sheets): append
  5. Is High-Priority Lead? (If): checks a condition and branches into true / false
  6. Notify Sales via Gmail (Gmail): uses Gmail
  7. Return Webhook Result (Respond to Webhook): sends the response back to the webhook caller

Services it uses

OpenRouter Chat ModelGoogle SheetsGmail

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)

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…

Excerpt from Hemant Acharya's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.