workflows.fit
Back to n8n workflows
n8n templateFreeBy Nabin Bhandari

Automated Gmail classification & response system with GPT and WhatsApp alerts

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 o...

CommunicationHITLAILangchainCore NodesGmail TriggerLm Chat Open AiGmail
Loading interactive preview...

Template notes

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 high-priority emails never get missed, while other messages are handled efficiently.

How It Works 1. Trigger A new email in Gmail triggers the workflow.

2. Classification (OpenAI GPT) The email is analyzed by an OpenAI GPT model and classified into one of:

High Priority Customer Support Promotion Finance/Billing Random/Other

3. Conditional Logic & Actions High Priority → Create draft reply + send WhatsApp alert.

Customer Support → Auto-reply + send WhatsApp confirmation alert.

Promotion → Summarize email + send WhatsApp promotional alert.

Finance/Billing → Forward to finance team + send WhatsApp finance alert.