Templates / Reply to WhatsApp text, audio, image, and video with Google Gemini and Wikipedia

Reply to WhatsApp text, audio, image, and video with Google Gemini and Wikipedia

Needs changes

by Redowan Ahmed Farhan ✓ · 143 views · created 2026-07-23 · Support Chatbot, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 24 nodes and runs on WhatsApp events (messages). Along the way it connects WhatsApp Business Cloud, Wikipedia and Google Gemini Chat Model. It also calls generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: On WhatsApp events (messages).

  1. Split Out: splits a list into separate items
  2. Redirect Message Types (Switch): routes items into 3 branches
  3. Get Audio URL (WhatsApp Business Cloud): media url get
  4. Get Video URL (WhatsApp Business Cloud): media url get
  5. Get Image URL (WhatsApp Business Cloud): media url get
  6. Get Text (Wait): waits 0 seconds
  7. Download Audio (HTTP Request): calls an HTTP API
  8. Download Video (HTTP Request): calls an HTTP API
  9. Download Image (HTTP Request): calls an HTTP API
  10. Text Summarizer (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model

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

Services it uses

WhatsApp Business CloudWikipediaGoogle Gemini Chat Model

HTTP calls to: generativelanguage.googleapis.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (12)

From the author

Quick overview This workflow auto-replies to incoming WhatsApp messages (text, audio, video, or images) by downloading any media, converting it to text with Google Gemini, and generating a concise answer with a Gemini-powered agent that can use Wikipedia for…

Excerpt from Redowan Ahmed Farhan'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.