Templates / Classify cold email replies and route leads with Gmail, Gemini, Slack and Sheets

Classify cold email replies and route leads with Gmail, Gemini, Slack and Sheets

Ready for 3.0

by Hassan ✓ · 148 views · created 2026-07-27 · Ticket Management, 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 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.

  1. Fetch Full Reply Body (Gmail): get many
  2. Extract Email Details (Code): runs custom JavaScript code
  3. Classify Reply with AI (Google Gemini): uses Google Gemini
  4. Parse AI Classification (Code): runs custom JavaScript code
  5. Log Lead to Tracker (Google Sheets): append
  6. Is Lead Actionable? (If): checks a condition and branches into true / false
  7. Draft AI Suggested Reply (Gmail): work with draft
  8. Alert Sales Rep (Slack): uses Slack

Services it uses

GmailGoogle GeminiGoogle SheetsSlack

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)

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…

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