Automated Gmail classification & response system with GPT and WhatsApp alerts
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model, OpenAI and WhatsApp Business Cloud.
How it runs
Trigger: On Gmail events.
- Email Classifier (Text Classifier): classifies text into categories with AI, with model: OpenAI Chat Model
- High Priority Email (Gmail): add labels
- Customer Support Email (Gmail): add labels
- Promotion Email (Gmail): add labels
- Finance/Billing Email (Gmail): add labels
- Random (General/Other) Email (Gmail): add labels
- Creating a Draft (OpenAI): uses OpenAI
- Create Email (OpenAI): uses OpenAI
- Summarize Promotions (OpenAI): uses OpenAI
- Finance Department (OpenAI): uses OpenAI
…plus 7 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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).
Nodes used (6)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - OpenAI
@n8n/n8n-nodes-langchain.openAi - WhatsApp Business Cloud
n8n-nodes-base.whatsApp
From the author
This n8n template uses AI to automatically classify incoming Gmail messages into five categories and route them to the right people or departments. It can also reply automatically and send WhatsApp alerts for urgent or relevant messages. This helps ensure…