Auto-draft professional email replies with Gmail, AI, and Slack
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs on a schedule (every 30 minutes). Along the way it connects Gmail, OpenAI and Slack.
How it runs
Trigger: On a schedule (every 30 minutes).
- Search unreplied emails (Gmail): get many
- Check if new emails exist (If): checks a condition and branches into true / false
- Limit: keeps the first few items
- Gmail: get
- Extract email body for AI (Code): runs custom JavaScript code
- Mark email as AUTO_REPLIED (Gmail): add labels
- AI - Draft professional email reply (OpenAI): uses OpenAI
- Notify draft reply in Slack (Slack): uses Slack
- OPTIONAL – Auto-send reply (If): checks a condition and branches into true / false
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Slack templates (979) · Other Gmail + Slack templates (957)
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 (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Limit
n8n-nodes-base.limit - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - Slack
n8n-nodes-base.slack
From the author
What this workflow does This workflow monitors your Gmail inbox for new, unreplied emails and automatically generates a professional reply draft using AI. Instead of sending the email automatically, the draft is sent to Slack so a human can review and decide…