workflows.fit
Back to n8n workflows
n8n templateFreeBy Davide Boizza

AI-powered WhatsApp chatbot 🤖📲 for text, voice, images & PDFs with memory 🧠

This workflow is a highly advanced multimodal AI assistant designed to operate through WhatsApp. It can understand and respond to text, images, voice messages, and PDF documents by combining OpenAI models with smart l...

DevelopmentCore NodesCommunicationHITLAILangchainWhats App TriggerHttp Request
Loading interactive preview...

Template notes

This workflow is a highly advanced multimodal AI assistant designed to operate through WhatsApp. It can understand and respond to text, images, voice messages, and PDF documents by combining OpenAI models with smart logic to adapt to the content received.

---

🎯 Core Features

📥 1. Automatic Message Type Detection Using the Input type node, the bot detects whether the user has sent: - Text - Voice messages - Images - Files (PDF) - Other unsupported content

💬 2. Smart Text Message Handling - Text messages are processed by an OpenAI GPT-4o-mini agent with a customized system prompt. - Replies are concise, accurate, and formatted for mobile readability.

🖼️ 3. Image Analysis & Description - Images are downloaded, converted to base64, and analyzed by an image-aware AI model. - The output is a rich, structured description, designed for visually impaired users or visual content interpretation.

🎙️ 4. Voice Message Transcription & Reply - Audio messages are downloaded and transcribed using OpenAI Whisper. - The transcribed text is analyzed and answered by the AI. - Optionally, the AI reply can be converted back to voice using OpenAI's text-to-speech, and sent as an audio message.

📄 5. PDF Document Extraction & Summary - Only PDFs are allowed (filtered via MIME type). - The document’s content is extracted and combined with the user's message. - The AI then provides a relevant summary or answer.