# WhatsApp assistant with Gemini and Evolution API: n8n workflow

> Started by another system calling it, and works across Google Calendar. It puts Gemini behind a retrieval step, so answers are drawn from documents you...

Source: https://millionrounds.com/workflow/whatsapp-assistant-with-gemini-and-evolution-api (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)

# WhatsApp assistant with Gemini and Evolution API

Started by another system calling it, and works across Google Calendar. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 26 steps, 1 branch: 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%2Fwhatsapp-assistant-with-gemini-and-evolution-api)

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

**1** Branch: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 7 Logic 5 Service 12

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

- 1 **Webhook** Webhook *Starts it*
- 2 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 3 **Simple Memory** Memory Buffer Window *Model*
- 4 **MCP Calendar** Mcp Client Tool *Model*
- 5 **Create an event** Google Calendar Tool *Service*
- 6 **Get many events** Google Calendar Tool *Service*
- 7 **Delete an event** Google Calendar Tool *Service*
- 8 **Update an event** Google Calendar Tool *Service*
- 9 **Message Type** Switch *Logic*
- 10 **Archestrator Agent** Agent *Model*
- 11 **MCP Server Google Calendar** Mcp trigger *Starts it*
- 12 **Edit Fields** Set *Logic*
- 13 **Get base64 image** Evolution Api *Service*
- 14 **Get base64 audio** Evolution Api *Service*
- 15 **Get base64 document** Evolution Api *Service*
- 16 **Message not supported** Evolution Api *Service*
- 17 **Send message** Evolution Api *Service*
- 18 **Convert to image** Convert To File *Service*
- 19 **Convert to audio** Convert To File *Service*
- 20 **Convert to document** Convert To File *Service*
- 21 **Analyze an image** Google Gemini *Model*
- 22 **Transcribe a recording** Google Gemini *Model*
- 23 **Analyze document** Google Gemini *Model*
- 24 **Image** Set *Logic*
- 25 **Audio** Set *Logic*
- 26 **Document** Set *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 26, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Calendar
- **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 Google Calendar account, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

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 26 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 26 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%2Fwhatsapp-assistant-with-gemini-and-evolution-api)
- **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.

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

## Workflows like it

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

- [**Prep meeting agendas from Google Calendar with Gmail** 26 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/prep-meeting-agendas-from-google-calendar-with-gmail)
- [**Manage online bookings with Gmail and Google Calendar** 26 steps · Gmail, Google Calendar](https://millionrounds.com/workflow/manage-online-bookings-with-gmail-and-google-calendar)
- [**Orchestrate Full-Lifecycle Event Operations** 26 steps · Gmail, Google Calendar](https://millionrounds.com/workflow/orchestrate-full-lifecycle-event-operations)
- [**AI token tracker for WhatsApp & Telegram – Save AI usage** 25 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/ai-token-tracker-for-whatsapp-and-telegram-save-ai-usage)
- [**AI-powered meeting research & daily agenda** 25 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/ai-powered-meeting-research-and-daily-agenda)
- [**Automate new customer onboarding with HubSpot** 25 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/automate-new-customer-onboarding-with-hubspot)
