Transcribe WhatsApp voice notes and auto-reply with OpenAI Whisper and GPT-4o
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).
- If: checks a condition and branches into true / false
- Extract Message Content (Code): runs custom JavaScript code
- Respond Verified (Respond to Webhook): sends the response back to the webhook caller
- Respond Verify Failed (Respond to Webhook): sends the response back to the webhook caller
- If: checks a condition and branches into true / false
- Determine Message Type (If): checks a condition and branches into true / false
- Acknowledge Message (Respond to Webhook): sends the response back to the webhook caller
- Fetch Audio Download URL (HTTP Request): calls an HTTP API
- Set Text Prompt (Edit Fields (Set)): sets or maps fields
- Download Audio Track (HTTP Request): calls an HTTP API
…plus 5 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.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Edit Fields (Set)
n8n-nodes-base.set
From the author
Quick overview This workflow receives WhatsApp Cloud API webhook events, transcribes incoming voice notes with OpenAI Whisper, generates a reply with OpenAI GPT-4o, and sends the response back to the sender via the WhatsApp Graph API while also handling plain…