Templates / Score inbound leads with Google Gemini and route hot leads to a webhook

Score inbound leads with Google Gemini and route hot leads to a webhook

Ready for 3.0

by Ruan · 0 views · created 2026-09-25 · Lead Generation, AI Summarization

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-10-19.

What this workflow does

This workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Configure (edit me) (Edit Fields (Set)): sets 2 fields: hotLeadWebhookUrl, qualifyThreshold
  2. AI Qualify Lead (HTTP Request): calls generativelanguage.googleapis.com (POST)
  3. Parse AI Score (Edit Fields (Set)): sets 1 field: aiResult
  4. Hot Lead? (If): checks a condition and branches into true / false
  5. Notify Hot Lead (HTTP Request): calls an HTTP API (POST)
  6. Log Cold Lead (Edit Fields (Set)): sets 1 field: loggedAs

HTTP calls to: generativelanguage.googleapis.com

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 (4)

From the author

Quick overview This workflow receives inbound lead submissions via a webhook, uses Google Gemini to score purchase intent and fit, and sends hot leads to a destination webhook while routing lower-scoring leads to a cold-lead branch for further handling. How…

Excerpt from Ruan'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.