Skip to content
FlowHubFluxonLab
A
AI Automationfree

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

by Manik Chandra Dhoradapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentHTTP RequestHTTP RequestOpenAIOpenAI Chat ModelOpenAI Chat ModelSSimple MemoryWhatsApp Business CloudWhatsApp Business Cloud
Share Post Share
WAWhen WhatsApp Message ReceivedWhen WhatsApp M…SeSet Business DetailsSet Business De…SwRoute by WhatsApp Message TypeRoute by WhatsA…SeExtract Text MessageExtract Text Me…Retrieve Voice Note URLRetrieve Voice …HRFetch Voice Note AudioFetch Voice Not…Transcribe Audio to TextTranscribe Audi…SeExtract Text from Voice NoteExtract Text fr…AgAI Support Response AgentAI Support Resp…OpenAI GPT-5 Mini ModelOpenAI GPT-5 Mi…MBMemory for Each ContactMemory for Each…Prompt for Text or Voice MessagePrompt for Text…Send WhatsApp ResponseSend WhatsApp R…12345678910111213
1/5
STEPS · 13
Starts on a Whats App event

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 business information you provide. How it works Triggers when a new WhatsApp message is received. Routes the incoming message by type, sending text messages directly to the support flow, audio messages to a voice-transcription flow, and other message types to a fallback reply. For voice notes, retrieves the WhatsApp media URL, downloads the audio file, and transcribes it to text with OpenAI. Sends the customer’s text (original or transcribed) to an OpenAI chat agent configured to answer only using your provided business information. Stores and reuses a per-contact conversation history keyed by the sender’s WhatsApp number to maintain context across messages. Sends the agent’s response back to the customer as a WhatsApp text message. Setup Connect WhatsApp Business Cloud credentials for both receiving messages (trigger) and sending replies, and ensure your WhatsApp webhook is configured to point to the trigger URL.

Tags

n8nreference-onlyagentlm-chat-open-aimemory-buffer-windowopen-aiwhats-app
Connects
AAI AgentWHTTP RequestOpenAIopenaichatmodelOpenAI Chat ModelSSimple MemorywhatsappbusinesscloudWhatsApp Business Cloud
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes13
AddedJul 18, 2026

Related workflows

See all AI Automation
AopenaichatmodelS
free

Run a voice-enabled AI assistant on Telegram with OpenAI, Gmail and Notion

Quick overview This workflow turns a Telegram bot into a personal assistant that handles text and voice messages using OpenAI, can read Gmail and Google Calendar, looks up tasks and contacts in Notion, and can draft and send emails with a required approval step in Telegram. How it works Triggers when a new Telegram message is received by your bot. Detects whether the message is a voice note or text, and if it is voice, downloads it from Telegram and transcribes it with OpenAI. Sends the resulting user text to an OpenAI-powered agent that keeps a short conversation memory per chat. When needed, the agent fetches recent emails from Gmail, lists upcoming events from Google Calendar, and pulls tasks or contacts from Notion to answer the request. If the agent decides to send an email, it asks for approval in Telegram and only proceeds after you approve within the time limit. Sends the assistant’s final response back to the same Telegram chat. Setup Create a Telegram bot with @BotFather, add the Telegram credentials in n8n, and use the workflow’s Telegram trigger to connect the bot. Add an OpenAI API credential for both chat responses and voice transcription, and set your preferred model

by Dr. Firas
ABembeddingsgooglegeminiW
free

Handle WhatsApp support chats with OpenRouter, Pinecone, and Gemini

Quick overview This template implements a WhatsApp support suite that logs inbound events to a dashboard API, routes conversations through an OpenRouter-powered AI agent with Pinecone RAG and memory, exposes a webhook for human outbound replies, and provides a webhook to summarize recent chats for handoff. How it works Triggers on WhatsApp Cloud API events and routes status updates (sent/delivered/read) to a dashboard API endpoint for storage. For inbound messages, looks up the contact in the dashboard API and normalizes the message into a consistent schema (sender, type, timestamp, and best-effort content). If the message contains media (image/video/audio/document), fetches the WhatsApp media URL, downloads the file, uploads it to the dashboard’s media endpoint, and attaches the resulting media URL and MIME type. Stores inbound messages and reactions in the dashboard API, then checks via the cases endpoint whether the sender already has an open case. If the inbound message is text and no open case is found, queries Pinecone as a tool (using Google Gemini embeddings), uses an OpenRouter chat model with conversation memory to draft a reply or create a new case via the dashboard API,

by Salman Mehboob
AWopenaichatmodel
free

Create AI product video ad Shorts from Telegram photos with OpenAI and AtlasCloud

Quick overview This workflow takes a product photo sent via Telegram, uses OpenAI Vision to describe it and OpenAI to write a short-form video ad prompt, generates a vertical video via AtlasCloud, then (after two approvals in Telegram) publishes the Short to YouTube via Blotato. How it works Triggers when a user sends a product photo (optionally with a caption/campaign) to a Telegram bot. Downloads the image from Telegram and uses OpenAI Vision to extract an advertising-focused product description. Uses OpenAI to generate a single cinematic text-to-video prompt plus a YouTube Shorts title and description. Sends the proposed prompt to Telegram and waits for your approval before proceeding. If approved, requests video generation from AtlasCloud and polls the render status until the video is completed. Sends the generated video back to Telegram for preview and waits for a second approval to publish. If approved, publishes the video to YouTube as an unlisted Short via Blotato and notifies you in Telegram (otherwise it stops and sends a decline message). Setup Create and connect a Telegram bot credential, then start a chat with the bot so it can receive photos and send approval prompts.

by Dr. Firas