workflows.fit
Back to n8n workflows
n8n templateFreeBy Kris newey

Build an AI agent for WhatsApp with WOZTELL and Google Gemini

✨ What this template does This workflow automatically replies to incoming WhatsApp messages using AI. When a customer sends a text message, the workflow retrieves the recent conversation history, generates a professio...

AILangchainCore NodesDevelopmentWebhookFilterSetAgent
Loading interactive preview...

Template notes

✨ What this template does This workflow automatically replies to incoming WhatsApp messages using AI.

When a customer sends a text message, the workflow retrieves the recent conversation history, generates a professional AI reply based on context, and sends it back through WOZTELL.

Use this to provide instant automated responses without live agents.

👷 Who it’s for Ideal for businesses that receive frequent WhatsApp inquiries and want automated, context aware replies without manual handling. Suitable for teams looking to reduce response workload using AI.

⚙️ How it works 1. Receives an incoming WhatsApp message via webhook. 2. Checks that the message is a text message and not handled by live chat. 3. Retrieves the recent conversation history. 4. Formats the conversation for AI analysis. 5. Generates a professional reply using Google Gemini. 6. Sends the reply back to the customer.

🧭 How to use 1. Import the template into your n8n workspace. 2. Copy the webhook Production URL into your WOZTELL inbound webhook settings. 3. Connect your WOZTELL credentials. 4. Connect your Google Gemini API credentials. 5. Activate the workflow.

🧩 Requirements - n8n account - WOZTELL account with WhatsApp channel configured - Google Gemini API key

🧠 Customization ideas - Modify the AI system prompt to match your brand tone and response style - Add additional IF nodes for routing logic, keyword detection, or data validation - Replace the AI provider with another supported model instead of Google Gemini - Customize the WOZTELL message format, tone rules, or response structure