Templates / WhatsApp virtual agent with Gemini AI - handles text & voice with knowledge base

WhatsApp virtual agent with Gemini AI - handles text & voice with knowledge base

Ready for 3.0

by Akshay · 2,327 views · created 2025-10-22 · Support Chatbot, 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 15 nodes and runs on WhatsApp events (messages). Along the way it connects Google Gemini Chat Model, Vector Store Question Answer, Pinecone Vector Store and Embeddings Google Gemini and 1 more.

How it runs

Trigger: On WhatsApp events (messages).

  1. Audio/Message (Switch): routes items into 2 branches
  2. Get Audio URL (WhatsApp Business Cloud): media url get
  3. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Answer questions with a vector store); memory: Simple Memory
  4. Audio Download (HTTP Request): calls an HTTP API
  5. Send message (WhatsApp Business Cloud): send
  6. Audio Convert (Code): runs custom JavaScript code
  7. Gemini speech to text (HTTP Request): calls an HTTP API (POST)
  8. Audio Prompt (Edit Fields (Set)): sets 1 field: candidates[0].content.parts[0].text

Services it uses

Google Gemini Chat ModelVector Store Question AnswerPinecone Vector StoreEmbeddings Google GeminiWhatsApp Business Cloud

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 (12)

From the author

Overview This project is an AI-powered WhatsApp virtual agent built using n8n, designed to handle both text and voice-based customer messages automatically. The workflow integrates Google Gemini, Pinecone, and the WhatsApp Business API to provide intelligent,…

Excerpt from Akshay'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.