Templates / Route supplier risk alerts from Gmail to Slack with Gemini and Google Sheets

Route supplier risk alerts from Gmail to Slack with Gemini and Google Sheets

Ready for 3.0

by WeblineIndia ✓ · 9 views · created 2026-07-14 · Market Research, 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 13 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini, Slack and Google Sheets.

How it runs

Trigger: On Gmail events.

  1. Filter Valid Supplier Emails (If): checks a condition and branches into true / false
  2. Structure Email Data (Code): runs custom JavaScript code
  3. Data Processing Buffer (Wait): waits 2 seconds
  4. Analyze Sentiment & Intent (Google Gemini): uses Google Gemini
  5. Extract & Normalize Insights (Edit Fields (Set)): sets 10 fields: sentiment_score, raw_text, sentiment_label…
  6. Detect Supplier Risk (If): checks a condition and branches into true / false
  7. Pre-Analysis Pause (Wait): waits 3 seconds
  8. Generate Engagement Strategy (Google Gemini): uses Google Gemini
  9. Parse Strategy Output (Code): runs custom JavaScript code
  10. Build Slack Alert Message (Code): runs custom JavaScript code

…plus 2 more steps. See the full node list below.

Services it uses

GmailGoogle GeminiSlackGoogle Sheets

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 Incoming Emails).

Nodes used (8)

From the author

Quick overview This workflow monitors incoming Gmail messages from suppliers, uses Google Gemini to analyze sentiment and relationship risk, generates an engagement strategy for risky emails, sends an alert to Slack, and logs the analysis and recommended…

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