Automated email triage with Gmail, GPT-4o, and Slack urgency notifications
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs on a schedule (every 4 hours). Along the way it connects Gmail, OpenAI, Slack and Google Sheets.
How it runs
Trigger: On a schedule (every 4 hours).
- Get many labels (Gmail): work with label
- Get many messages (Gmail): get many
- Message a model (OpenAI): uses OpenAI
- Calculate Intent (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Send a message (Slack): uses Slack
- Add label to message (Gmail): add labels
- Add label to message (Gmail): add labels
- Append row in sheet (Google Sheets): append
- Append row in sheet (Google Sheets): append
…plus 5 more steps. See the full node list below.
Services it uses
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.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Gmail
n8n-nodes-base.gmail - OpenAI
@n8n/n8n-nodes-langchain.openAi - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Wait
n8n-nodes-base.wait
From the author
Hourly Email Summary: This agent scans your inbox every 4 hour and summarizes new emails into a clean, actionable Slack message. Powered by GPT-4, it classifies emails by Urgency (High, Medium, Low) and Intent (Awaiting Reply, To Respond, Comment,…