# Deploy a Google Gemini AI assistant on WhatsApp with Gmail: n8n workflow

> Started by an incoming WhatsApp message, and works across Gmail, Google Calendar and WhatsApp.

Source: https://millionrounds.com/workflow/deploy-a-google-gemini-ai-assistant-on-whatsapp-with-gmail (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Deploy a Google Gemini AI assistant on WhatsApp with Gmail

Started by an incoming WhatsApp message, and works across Gmail, Google Calendar and WhatsApp. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 24 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdeploy-a-google-gemini-ai-assistant-on-whatsapp-with-gmail)

**24 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 8 Service 15

The steps in the order they run, from what starts it.

- 1 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 2 **Simple Memory** Memory Buffer Window *Model*
- 3 **WhatsApp Trigger** Whats App trigger *Starts it*
- 4 **Send Email** Gmail Tool *Service*
- 5 **Create Draft** Gmail Tool *Service*
- 6 **Email Reply** Gmail Tool *Service*
- 7 **Get Labels** Gmail Tool *Service*
- 8 **Label Emails** Gmail Tool *Service*
- 9 **Mark Unread** Gmail Tool *Service*
- 10 **Gmail** Gmail Tool *Service*
- 11 **Window Buffer Memory2** Memory Buffer Window *Model*
- 12 **Google Gemini Chat Model4** Lm Chat Google Gemini *Model*
- 13 **Get all event** Google Calendar Tool *Service*
- 14 **Delete event** Google Calendar Tool *Service*
- 15 **Get a single event** Google Calendar Tool *Service*
- 16 **Update event** Google Calendar Tool *Service*
- 17 **Availablity operation agent** Google Calendar Tool *Service*
- 18 **Create Event with attendee** Google Calendar Tool *Service*
- 19 **Create Event without attendee** Google Calendar Tool *Service*
- 20 **Google Gemini Chat Model5** Lm Chat Google Gemini *Model*
- 21 **Personal Agent** Agent *Model*
- 22 **email_agent** Agent Tool *Model*
- 23 **calendar_agent** Agent Tool *Model*
- 24 **Send message** Whats App *Service*

## How it's built

- **Starts on:** An incoming WhatsApp message
- **Steps:** 24
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Calendar, WhatsApp
- **Model:** Gemini
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Calendar and WhatsApp accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming WhatsApp message.

Does it use AI?

Yes. It calls Gemini. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fdeploy-a-google-gemini-ai-assistant-on-whatsapp-with-gmail)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Calendar](https://millionrounds.com/workflows?service=Google+Calendar#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**AI Timesheet Generator with Gmail and Calendar** 24 steps · calls a model · GitHub, Gmail](https://millionrounds.com/workflow/ai-timesheet-generator-with-gmail-and-calendar)
- [**Agent personnel with OpenAI and Gmail** 24 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/agent-personnel-with-openai-and-gmail)
- [**Automate meeting summaries from Fireflies transcripts** 24 steps · calls a model · Gmail](https://millionrounds.com/workflow/automate-meeting-summaries-from-fireflies-transcripts)
- [**Automate tenant rent collection with Sheets and Gmail** 24 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-tenant-rent-collection-with-sheets-and-gmail)
- [**Handle healthcare appointments on WhatsApp with Gemini** 24 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/handle-healthcare-appointments-on-whatsapp-with-gemini)
- [**Send rent reminders and weekly AI summaries with OpenAI** 24 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/send-rent-reminders-and-weekly-ai-summaries-with-openai)
