Automation library · Scheduling

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.

LargeCalls a model: GeminiRetrieval

24 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 8Service 15

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

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2Simple MemoryMemory Buffer WindowModel
  3. 3WhatsApp TriggerWhats App triggerStarts it
  4. 4Send EmailGmail ToolService
  5. 5Create DraftGmail ToolService
  6. 6Email ReplyGmail ToolService
  7. 7Get LabelsGmail ToolService
  8. 8Label EmailsGmail ToolService
  9. 9Mark UnreadGmail ToolService
  10. 10GmailGmail ToolService
  11. 11Window Buffer Memory2Memory Buffer WindowModel
  12. 12Google Gemini Chat Model4Lm Chat Google GeminiModel
  13. 13Get all eventGoogle Calendar ToolService
  14. 14Delete eventGoogle Calendar ToolService
  15. 15Get a single eventGoogle Calendar ToolService
  16. 16Update eventGoogle Calendar ToolService
  17. 17Availablity operation agentGoogle Calendar ToolService
  18. 18Create Event with attendeeGoogle Calendar ToolService
  19. 19Create Event without attendeeGoogle Calendar ToolService
  20. 20Google Gemini Chat Model5Lm Chat Google GeminiModel
  21. 21Personal AgentAgentModel
  22. 22email_agentAgent ToolModel
  23. 23calendar_agentAgent ToolModel
  24. 24Send messageWhats AppService

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.