Templates / Route critical out-of-office emails with Gmail, Gemini, Slack and Sheets

Route critical out-of-office emails with Gmail, Gemini, Slack and Sheets

Ready for 3.0

by iamvaar ✓ · 2 views · created 2026-08-04 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs on Gmail events. Along the way it connects Gmail, Slack and Google Sheets. It also calls generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: On Gmail events.

  1. Set Configuration Fields (Edit Fields (Set)): sets 8 fields: backupPersonName, backupPersonEmail, backupSlackUserId…
  2. Prepare Email Data (Edit Fields (Set)): sets 5 fields: fromEmail, subject, bodyText…
  3. Post to Gemini API (HTTP Request): calls generativelanguage.googleapis.com (POST)
  4. Build Urgency Data (Edit Fields (Set)): sets 4 fields: isCritical, category, urgencyReason…
  5. If: checks a condition and branches into true / false
  6. Post to Slack Channel (Slack): uses Slack
  7. Reply to Client via Gmail (Gmail): reply
  8. Append to Sheets (Google Sheets): append
  9. Add Label in Gmail (Gmail): add labels

Services it uses

GmailSlackGoogle Sheets

HTTP calls to: generativelanguage.googleapis.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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (When Email Received).

Nodes used (8)

From the author

Quick overview This workflow monitors a Gmail inbox for new unread emails, uses Google Gemini to classify whether each message is critical during out-of-office coverage, and for critical items alerts a backup on Slack, replies to the sender via Gmail, logs…

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