đź’¬ Deploy a Google Gemini AI assistant on WhatsApp with email & calendar tools

⚡ 652 views · 💬 Support Chatbots

Description

Deploy a Multi-Tool AI Assistant on WhatsApp with Google Gemini

Deploy a true AI assistant on WhatsApp. This n8n workflow uses a sophisticated hierarchical agent structure to not only handle conversations but also manage your emails and calendar directly from your chat, all powered by Google Gemini.


Key Features


How It Works

The workflow uses an advanced agent-based model to process incoming messages:

  1. The Whatsapp Trigger node listens for and receives new messages sent to your WhatsApp Business number.
  2. The message is passed to the main Manager Agent.
  3. The Personal Agent analyzes the message to understand the user’s intent (e.g., “send an email,” “check my schedule,” or just “hello”).
  4. Based on the intent, it routes the task to the appropriate sub-agent: the Email Tool, the Calendar Tool, or the general Chatbot Model.
  5. The selected sub-agent executes the task using its own dedicated tools (e.g., the Email Tool uses Gmail nodes to send a message).
  6. The result or response from the sub-agent is passed back to the Send message (WhatsApp) node, which delivers the reply to the user.

Prerequisites


Step-by-Step Setup Guide

1. Configure WhatsApp Credentials:

2. Set Up the WhatsApp Trigger:

3. Configure the Google Gemini Nodes:

4. Configure the Google Tools (Email & Calendar):

5. Activate and Test:

đź”— Nodes Used

WhatsApp Business Cloud, AI Agent, Simple Memory, WhatsApp Trigger, Google Gemini Chat Model, AI Agent Tool

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup