Transform support emails into FAQs with GPT-4o, Gmail, Notion, and Slack
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs on Gmail events. Along the way it connects Azure OpenAI Chat Model, Gmail, Notion and Slack and 1 more.
How it runs
Trigger: On Gmail events.
- Validate Email Payload (If): checks a condition and branches into true / false
- Analyze & Classify Developer Email (AI) (AI Agent): runs an AI agent, with model: Configure GPT-4o Model
- Log Workflow Errors to Google Sheets (Google Sheets): append
- Parse & Clean AI JSON Output (Code): runs custom JavaScript code
- Save FAQ Entry to Notion Database (Notion): work with database page
- Analyze Email Sentiment & Urgency (AI) (AI Agent): runs an AI agent, with model: Configure GPT-4o Model
- Announce New FAQ in Slack (Slack): uses Slack
- Parse AI JSON Output – Sentiment Analysis (Code): runs custom JavaScript code
- Filter Critical or High-Urgency Emails (If): checks a condition and branches into true / false
- Alert Team in Slack – Critical Issue (Slack): uses Slack
…plus 1 more step. 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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Polling Trigger – Developer Support Inbox).
Nodes used (9)
- Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Gmail Trigger
n8n-nodes-base.gmailTrigger - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - Notion
n8n-nodes-base.notion - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
📘 Description: This end-to-end automation transforms developer support emails into actionable FAQs and sentiment insights using Azure OpenAI GPT-4o, Gmail, Notion, Slack, and Google Sheets. It not only classifies and summarizes each email into a Notion…