Templates / Handle WhatsApp support text and voice messages with OpenAI GPT-5 Mini

Handle WhatsApp support text and voice messages with OpenAI GPT-5 Mini

Ready for 3.0

by Manik Chandra Dhor ✓ · 97 views · created 2026-07-18 · Support Chatbot, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs on WhatsApp events (messages). Along the way it connects WhatsApp Business Cloud, OpenAI and OpenAI Chat Model.

How it runs

Trigger: On WhatsApp events (messages).

  1. Set Business Details (Edit Fields (Set)): sets 4 fields: businessName, aboutBusiness, senderPhoneNumberId…
  2. Route by WhatsApp Message Type (Switch): routes items into 2 branches
  3. Extract Text Message (Edit Fields (Set)): sets 1 field: userMessage
  4. Retrieve Voice Note URL (WhatsApp Business Cloud): media url get
  5. Prompt for Text or Voice Message (WhatsApp Business Cloud): send (message)
  6. AI Support Response Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-5 Mini Model; memory: Memory for Each Contact
  7. Fetch Voice Note Audio (HTTP Request): calls an HTTP API (GET)
  8. Send WhatsApp Response (WhatsApp Business Cloud): send (message)
  9. Transcribe Audio to Text (OpenAI): transcribe (audio)
  10. Extract Text from Voice Note (Edit Fields (Set)): sets 1 field: userMessage

Services it uses

WhatsApp Business CloudOpenAIOpenAI Chat Model

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 (9)

From the author

Quick overview This workflow responds to incoming WhatsApp Business messages, handling both text and voice notes by transcribing audio with OpenAI and replying with an OpenAI chat agent that uses per-contact conversation memory and answers only from the…

Excerpt from Manik Chandra Dhor's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.