Templates / Answer WhatsApp sales queries from text, voice, photos, and video with OpenAI and Gemini

Answer WhatsApp sales queries from text, voice, photos, and video with OpenAI and Gemini

Ready for 3.0

by Dr. Firas ✓ · 6,135 views · created 2026-08-03 · Lead Nurturing, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 29 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Embeddings OpenAI, WhatsApp Business Cloud, OpenAI and Google Gemini and 2 more.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Knowledge Base Settings (Edit Fields (Set)): sets 4 fields: product_brochure_url, chunk_size, chunk_overlap…
  2. Configuration (Edit Fields (Set)): sets 10 fields: openai_model, vision_model, video_model…
  3. Download Product Brochure (HTTP Request): calls an HTTP API
  4. Route by Message Type (Switch): routes items into 4 branches
  5. Extract Brochure Text (Extract from File): extracts data from a file (pdf)
  6. Get Audio Media URL (WhatsApp Business Cloud): media url get
  7. Get Image Media URL (WhatsApp Business Cloud): media url get
  8. Get Video Media URL (WhatsApp Business Cloud): media url get
  9. Prepare Agent Input (Edit Fields (Set)): sets 4 fields: message_type, message_text, message_caption…
  10. Reply Unsupported Message (WhatsApp Business Cloud): send

…plus 9 more steps. See the full node list below.

Services it uses

Embeddings OpenAIWhatsApp Business CloudOpenAIGoogle GeminiOpenAI Chat ModelVector Store Question Answer

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (17)

From the author

Quick overview This workflow indexes a product brochure PDF into an in-memory vector store and then responds to incoming WhatsApp text, voice, image, and video messages using OpenAI and Google Gemini, with per-customer chat memory and retrieval-augmented…

Excerpt from Dr. Firas's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.