Templates / Ai-powered lead research & qualification using Relevance AI

Ai-powered lead research & qualification using Relevance AI

Ready for 3.0

by Diptamoy Barman ✓ · 1,036 views · created 2025-09-30 · 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 AI workflow has 21 nodes and runs when someone submits an n8n form (“Contact Us”). Along the way it connects OpenRouter Chat Model, Google Gemini Chat Model, Gmail and Google Sheets and 1 more. It also calls api-d7b62b.stack.tryrelevance.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Contact Us”).

  1. Edit Fields (Edit Fields (Set)): sets 3 fields: full_name, email, company_url
  2. score individual (Relevance) (HTTP Request): calls api-d7b62b.stack.tryrelevance.com (POST)
  3. score company (Relevance) (HTTP Request): calls api-d7b62b.stack.tryrelevance.com (POST)
  4. Merge: merges the data from its input branches
  5. Summarize_N_score (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini
  6. Structured Output (Code): runs custom JavaScript code
  7. Set data (Edit Fields (Set)): sets 16 fields: label, Lead_Name, lead_score…
  8. Router (Switch): routes items into 3 branches
  9. Update CRM (Google Sheets): append or update
  10. Merge: merges the data from its input branches

…plus 7 more steps. See the full node list below.

Services it uses

OpenRouter Chat ModelGoogle Gemini Chat ModelGmailGoogle SheetsSlack

HTTP calls to: api-d7b62b.stack.tryrelevance.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 (13)

From the author

Lead Qualification & Smart Outreach — Automated Scoring System Automate your lead intake, scoring, and outreach pipeline. This workflow collects leads from forms, enriches and scores them using Relevance AI, routes them by quality, and triggers the right…

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