🎯 Auto-categorize Gmail emails with AI and send prioritized Slack alerts

488 views · 🎯 AI Summarization & Classification

Description

Who is this for?

What does it solve?

How it works

How to setup?

  1. Connect credentials:

    • Gmail (OAuth2)
    • Slack (OAuth2)
    • OpenAI (API Key)
  2. Adjust email polling:

    • Open the Gmail Trigger node and set how frequently it should check for new emails.
  3. Verify routing settings:

    • In the “Routing Map” node, update Slack channel IDs for each category if needed.
  4. Customize AI behavior (optional):

    • Tweak the AI Agent prompt to better match your internal categorization rules.

How to customize this workflow to your needs

🔗 Nodes Used

Slack, Gmail, Gmail Trigger, AI Agent, OpenAI Chat Model, Structured Output Parser

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup