This workflow builds an AI-powered email triage system using n8n, Gmail, Azure OpenAI, Slack, and Google Sheets.
It triggers on new Gmail emails and extracts sender, subject, body, links, and attachment signals.
A guarded AI agent analyzes intent without guesswork or assumptions.
Emails are classified by urgency and required action.
Attachment and non-attachment flows are handled separately and safely.
Structured JSON output is validated before any routing.
Relevant emails are pushed to the correct Slack channels.
All activity is logged to Google Sheets for audit and traceability.