Ai-powered lead research & qualification using Relevance AI
Ready for 3.0What 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”).
- Edit Fields (Edit Fields (Set)): sets 3 fields: full_name, email, company_url
- score individual (Relevance) (HTTP Request): calls api-d7b62b.stack.tryrelevance.com (POST)
- score company (Relevance) (HTTP Request): calls api-d7b62b.stack.tryrelevance.com (POST)
- Merge: merges the data from its input branches
- Summarize_N_score (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini
- Structured Output (Code): runs custom JavaScript code
- Set data (Edit Fields (Set)): sets 16 fields: label, Lead_Name, lead_score…
- Router (Switch): routes items into 3 branches
- Update CRM (Google Sheets): append or update
- Merge: merges the data from its input branches
…plus 7 more steps. See the full node list below.
Services it uses
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)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack - Merge
n8n-nodes-base.merge
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…