# WhatsApp AI assistant for Q&A & bookings with Gemini: n8n workflow

> Started by an incoming WhatsApp message, and works across Google Drive, Google Sheets, Pinecone and WhatsApp.

Source: https://millionrounds.com/workflow/whatsapp-ai-assistant-for-q-and-a-and-bookings-with-gemini (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 AI assistant for Q&A & bookings with Gemini

Started by an incoming WhatsApp message, and works across Google Drive, Google Sheets, Pinecone and WhatsApp. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 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-ai-assistant-for-q-and-a-and-bookings-with-gemini)

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

**1** Branch: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 2 Model 11 Logic 4 Service 5

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 **Embeddings Google Gemini** Embeddings Google Gemini *Model*
- 4 **Google Gemini Chat Model1** Lm Chat Google Gemini *Model*
- 5 **reservations** Google Sheets Tool *Service*
- 6 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 7 **Recursive Character Text Splitter** Text Splitter Recursive Character Text Splitter *Model*
- 8 **Embeddings Google Gemini1** Embeddings Google Gemini *Model*
- 9 **whatsapp trigger** Whats App trigger *Starts it*
- 10 **AI Agent** Agent *Model*
- 11 **Pinecone Vector Store** Vector Store Pinecone *Model*
- 12 **Pinecone Vector Search** Tool Vector Store *Model*
- 13 **Google Drive** Google Drive *Service*
- 14 **Default Data Loader** Document Default Data Loader *Model*
- 15 **Pinecone Vector Store1** Vector Store Pinecone *Model*
- 16 **Date & Time** Date Time *Logic*
- 17 **conversations log** Google Sheets *Service*
- 18 **24-hour window check** Code *Logic*
- 19 **Check 24-Hour Follow-Up** If *Logic*
- 20 **cleanAnswer** Code *Logic*
- 21 **Send Pre-approved Template Message to Reopen the Conversation** Whats App *Service*
- 22 **Send AI Agent's Answer** Whats App *Service*

## How it's built

- **Starts on:** An incoming WhatsApp message
- **Steps:** 22, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Google Sheets, Pinecone, 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 Google Drive, Google Sheets, Pinecone 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 22 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 22 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-ai-assistant-for-q-and-a-and-bookings-with-gemini)
- **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 Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Pinecone](https://millionrounds.com/workflows?service=Pinecone#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)

## Workflows like it

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

- [**Automate WhatsApp booking system with OpenAI and Cal.com** 22 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/automate-whatsapp-booking-system-with-openai-and-cal-com)
- [**Automate multi-modal appointment booking with WhatsApp** 22 steps · calls a model · WhatsApp](https://millionrounds.com/workflow/automate-multi-modal-appointment-booking-with-whatsapp)
- [**Generate meeting minutes from videos with Whisper** 22 steps · calls a model · Discord, Google Drive](https://millionrounds.com/workflow/generate-meeting-minutes-from-videos-with-whisper)
- [**Handle WhatsApp event bookings with OpenAI and Google Sheets** 22 steps · calls a model · Google Sheets, n8n data table](https://millionrounds.com/workflow/handle-whatsapp-event-bookings-with-openai-and-google-sheets)
- [**Schedule motivational YouTube Shorts with Google Drive** 22 steps · calls a model · Airtable, Google Cloud Storage](https://millionrounds.com/workflow/schedule-motivational-youtube-shorts-with-google-drive)
- [**Telegram AI Personal Assistant with Gemini and Tools** 22 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/telegram-ai-personal-assistant-with-gemini-and-tools)
