Skip to content
FlowHubFluxonLab
A
AI Automationfree

Run a multimodal WhatsApp AI assistant with OpenAI for text, voice and images

by Dr. Firasadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentCCodeHTTP RequestHTTP RequestOpenAIOpenAI Chat ModelOpenAI Chat ModelSSimple MemoryWhatsApp Business CloudWhatsApp Business Cloud
Share Post Share
WAWhatsApp TriggerSeConfigurationSwInput typeIfIs image request?Is image reques…Generate imageSend imageSeTextAgAI AssistantOpenAI Chat ModelOpenAI Chat Mod…MBSimple MemoryGet Audio UrlHRDownload AudioTranscribe AudioSeAudioGet Image UrlHRDownload ImageAnalyze ImageSeImageIfOnly PDF FileGet File UrlHRDownload FileEFExtract from FileExtract from Fi…SeFileIncorrect formatNot supportedIfFrom audio to audio?From audio to a…Generate Audio ResponseGenerate Audio …CoFix mimeType for AudioFix mimeType fo…Send audioSend message1234567891011121314151617181920212223242526272829303132
1/5
STEPS · 32
Starts on a Whats App event

Quick overview This workflow turns WhatsApp into a multimodal assistant that answers text, voice notes, images, and PDF documents using OpenAI, and can generate images with DALL·E on demand, replying back in WhatsApp with either text, audio, or an image. How it works Triggers when a new WhatsApp message is received. Detects whether the incoming message is text, a voice note, an image, a PDF document, or an unsupported type. For text messages, generates an image with OpenAI DALL·E when the message starts with the configured /image command, and sends the generated image back to the sender. For voice notes, fetches the WhatsApp media URL, downloads the audio, transcribes it with OpenAI, and forwards the transcript to the assistant. For images, fetches the WhatsApp media URL, downloads the image, describes it with OpenAI vision using the configured analysis prompt, and forwards the description (plus any caption) to the assistant. For PDF documents, downloads the file from WhatsApp, extracts the PDF text, and forwards the extracted content (plus any caption) to the assistant, while non-PDF files receive an error message.

Tags

n8nreference-onlyagentlm-chat-open-aimemory-buffer-windowopen-aiwhats-app
Connects
AAI AgentCCodeWHTTP RequestOpenAIopenaichatmodelOpenAI Chat ModelSSimple Memory
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes30
AddedJul 18, 2026

Related workflows

See all AI Automation
AopenaichatmodelserpapigooglesearchS
free

AI agent chat

This workflow employs OpenAI's language models and SerpAPI to create a responsive, intelligent conversational agent. It comes equipped with manual chat triggers and memory buffer capabilities to ensure seamless interactions. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

AI chatbot that can search the web

This workflow is designed for dynamic and intelligent conversational capabilities. It incorporates OpenAI's GPT-4o model for natural language understanding and generation. Additional tools include SerpAPI and Wikipedia for enriched, data-driven responses. The workflow is triggered manually, and utilizes a 'Window Buffer Memory' to maintain the context of the last 20 interactions for better conversational continuity. All these components are orchestrated through n8n nodes, ensuring seamless interconnectivity. To use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
AopenaichatmodelserpapigooglesearchS
free

Slack chatbot powered by AI

This workflow offers an effective way to handle a chatbot's functionality, making use of multiple tools for information retrieval, conversation context storage, and message sending. It's a setup tailored for a Slack environment, aiming to offer an interactive, AI-driven chatbot experience. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team