HΓ©bergement VPS n8n | Automatisation sΓ©curisΓ©e et Γ©volutive
Formation n8n en FranΓ§ais : Automatisation & Agents IA
A multimodal AI assistant that lives on your WhatsApp Business number. It understands text, voice notes, images and videos, remembers the conversation per contact, can look things up on Wikipedia, and replies straight back in the chat.
<aside> π―
This page is a filming script. Everything is copy-paste ready so you can rebuild the whole workflow live, node by node, without opening the finished template.
</aside>
WhatsApp Trigger
ββ> Split out messages
ββ> Configuration (Set)
ββ> Route by message type (Switch)
ββ 0 Audio β> Get audio URL β> Download audio β> Transcribe audio with OpenAI ββ
ββ 1 Video β> Get video URL β> Download video β> Describe video with Gemini β> Extract video description ββ€
ββ 2 Image β> Get image URL β> Download image β> Analyze image with GPT ββ€
ββ 3 Text β> Get text message ββββββββββββββββββββββββββββββββββββββββββ€
βΌ
Normalize user message
βΌ
AI Agent
(OpenAI Chat Model + Conversation Memory + Wikipedia)
βΌ
Format reply for WhatsApp
βΌ
Send WhatsApp reply
| Decision | Reason |
|---|---|
| GPT-5 for chat, vision and transcription | One provider, one API key, best reasoning quality. Whisper handles voice notes natively. |
| Gemini only for video | Gemini is one of the very few models that accepts raw video input. The free tier is enough for testing. |
| Text messages skip the LLM pre-processing | The original template summarised text before the agent β that wastes tokens and loses nuance. |
| A single Configuration node | A beginner changes the model, the memory size or the persona in ONE place. |
| Format reply node | WhatsApp does not render Markdown. Without cleaning, users see **bold** and ## headers as raw text. |
| Credential | Type | Used by |
|---|---|---|
| WhatsApp OAuth account | whatsAppTriggerApi | WhatsApp Trigger |
| WhatsApp account | whatsAppApi | Get audio/video/image URL, Download audio/video/image, Send WhatsApp reply |
| OpenAi account | openAiApi | Transcribe audio, OpenAI Vision Model, OpenAI Chat Model |
| Google Gemini(PaLM) Api account | googlePalmApi | Describe video with Gemini |