👉 n8n No Limits Access :

https://www.hostg.xyz/SHHAd

Hébergement VPS n8n | Automatisation sécurisée et évolutive

coupon -15% : DRFIRAS15

👉 Formation n8n en Français

Formation n8n en Français : Automatisation & Agents IA

coupon -20% : LANCEMENT : HERE


Answer WhatsApp text, voice, image and video messages with GPT-5 and Gemini

This course walks you through rebuilding, node by node, a WhatsApp AI assistant that understands text, voice notes, images and videos, and replies in the same language as the user with a memory-backed AI Agent.

<aside> 🎯

Goal: by the end of this course you'll be able to recreate the entire workflow manually, live, from an empty canvas.

</aside>

Flow diagram

flowchart LR
    A["WhatsApp Trigger"] --> B["Configuration"]
    B --> C["Split Out Message Parts"]
    C --> D{"Route by Message Type"}
    D -- Audio --> E1["Get Audio Download URL"] --> E2["Download Audio File"] --> E3["Transcribe Voice Note with OpenAI"]
    D -- Video --> F1["Get Video Download URL"] --> F2["Download Video File"] --> F3["Describe Video with Gemini"]
    D -- Image --> G1["Get Image Download URL"] --> G2["Download Image File"] --> G3["Analyze Image with GPT Vision"]
    D -- Text (fallback) --> H["Prepare Agent Input"]
    E3 --> H
    F3 --> H
    G3 --> H
    H --> I["AI Agent"]
    I --> J["Send Reply on WhatsApp"]

Prerequisites & credentials

You need four things connected in n8n before you start building:

Credential Type Where to get it
WhatsApp Trigger whatsAppTriggerApi Meta App → WhatsApp product → Client ID + Client Secret. In n8n: Credentials → New → "WhatsApp Trigger API".
WhatsApp Business Cloud whatsAppApi Same Meta App → System User access token + Business Account ID. In n8n: Credentials → New → "WhatsApp API".
OpenAI openAiApi platform.openai.com → API keys → Create new secret key. In n8n: Credentials → New → "OpenAi API", paste the key, Save.
Google Gemini (PaLM) googlePalmApi Google AI Studio (aistudio.google.com) → Get API key. In n8n: Credentials → New → "Google Gemini (PaLM) Api", paste the key, Save.

<aside> ⚠️

WhatsApp Trigger verification: there is no user-settable "verify token". n8n auto-generates one from the node's own ID when you activate the workflow — never invent a token or look for a verify-token field in the credential.

</aside>