Classify cold email replies and route leads with Gmail, Gemini, Slack and Sheets
Ready for 3.0Ready 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 9 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini, Google Sheets and Slack.
How it runs
Trigger: On Gmail events.
- Fetch Full Reply Body (Gmail): get many
- Extract Email Details (Code): runs custom JavaScript code
- Classify Reply with AI (Google Gemini): uses Google Gemini
- Parse AI Classification (Code): runs custom JavaScript code
- Log Lead to Tracker (Google Sheets): append
- Is Lead Actionable? (If): checks a condition and branches into true / false
- Draft AI Suggested Reply (Gmail): work with draft
- Alert Sales Rep (Slack): uses Slack
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.
Nodes used (7)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Code
n8n-nodes-base.code - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow polls Gmail for labeled outreach replies, cleans and classifies each reply with Google Gemini, logs results to Google Sheets, and for actionable messages, creates a Gmail draft response and alerts a Slack channel with the draft…