Manage emails via WhatsApp with Gmail, GPT and voice recognition
Needs changesWhat this workflow does
This AI workflow has 20 nodes and runs on WhatsApp events (messages). Along the way it connects Gmail, OpenAI Chat Model, WhatsApp Business Cloud and OpenAI and 1 more.
How it runs
Trigger: On WhatsApp events (messages).
- Split Out: splits a list into separate items
- Switch: routes items into 2 branches
- WhatsApp Business Cloud: media url get
- Edit Fields (Edit Fields (Set)): sets 1 field: text
- HTTP Request: calls an HTTP API
- Edit Fields (Edit Fields (Set)): sets 1 field: message_type
- OpenAI: transcribe (audio)
- Email Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 3 tools (Get Email, Send Email, Create Draft); memory: Simple Memory
- If: checks a condition and branches into true / false
- OpenAI: work with audio
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Email Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Email Agent (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (14)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail Tool
n8n-nodes-base.gmailTool - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Airtable Tool
n8n-nodes-base.airtableTool
From the author
🔍 How it works This workflow turns WhatsApp into a smart email command center using AI. Users can speak or type instructions like: - "Send a follow-up to Claire” - "Write a draft email to Claire to confirm tomorrow’s meeting at 5 PM” - "What is the name of…