Route and qualify email leads with Gmail, Gemini, Slack, Sheets and Salesforce
Ready for 3.0What this workflow does
This AI workflow has 25 nodes and runs on Evaluation events (plus 1 other trigger). Along the way it connects Gmail, Evaluation, Google Gemini Chat Model and Slack and 2 more.
How it runs
Trigger: On Evaluation events (plus 1 other trigger).
- Loop Evaluation Batch (Loop Over Items (Split in Batches)): loops over the items in batches
- Analyze Email Sentiment (Sentiment Analysis): scores sentiment with AI, with model: Google Gemini 2.5 Flash Lite
- Route by Sentiment (Switch): routes items into 3 branches
- Extract Email Intelligence (Information Extractor): extracts structured fields from text with AI, with model: Google Gemini for Enrichment
- Gate Positive Route (Evaluation): check if evaluating
- Gate Neutral Route (Evaluation): check if evaluating
- Gate Negative Route (Evaluation): check if evaluating
- Prepare Analytics Row (Code): runs custom JavaScript code
- Save Evaluation Output (Evaluation): uses Evaluation
- Send Hot Lead Email (Gmail): uses Gmail
…plus 11 more steps. See the full node list below.
Services it uses
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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Monitor Gmail Inbox).
Nodes used (15)
- Sentiment Analysis
@n8n/n8n-nodes-langchain.sentimentAnalysis - Gmail
n8n-nodes-base.gmail - Gmail Trigger
n8n-nodes-base.gmailTrigger - Evaluation Trigger
n8n-nodes-base.evaluationTrigger - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Evaluation
n8n-nodes-base.evaluation - Slack
n8n-nodes-base.slack - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - Google Sheets
n8n-nodes-base.googleSheets - Salesforce
n8n-nodes-base.salesforce - If
n8n-nodes-base.if
From the author
Email Lead Router: Gmail → Gemini → Salesforce Pipeline Who is this for? Event sales teams & conference organizers processing 100+ sponsor/partner emails weekly who need instant lead qualification, Salesforce automation, & pipeline analytics. What problem is…