Gmail sorting and Slack alerts

Sorts labelled Gmail into four types and drafts replies for support. This n8n template monitors Gmail messages that carry an AI-Agent label and asks an AI agent to sort each one into Inquiry, Support, Newsletter or Action Item. It adds the matching Gmail label, creates draft replies for Support and Inquiry emails, and sends Slack notifications for Action Items and Newsletter summaries. Slack is needed only if notifications are wanted, and the AI provider can be OpenAI or another one. The page names no model. It suits people who already tag the mail they want processed.

n8nRead on 2026-11-165 steps

Steps

  1. Trigger: Monitors emails with the AI-Agent labelGmail
  2. AI classification into Inquiry, Support, Newsletter or action Item
  3. Adds appropriate labels to emails automaticallyGmail
  4. Output: Creates draft replies for Support and Inquiry emailsGmail
  5. Output: Sends Slack notifications for action Items and Newsletter summariesSlack

Limits

  • The page names no AI model.
  • Only mail carrying the AI-Agent label is monitored.

What it does well

  • Slack credentials are needed only if notifications are wanted.

Before you import

You need: Gmail OAuth2, OpenAI API credentials or another AI provider, Slack OAuth2 if notifications are wanted.

Similar templates