# Summarize daily Gmail emails with Gemini and WhatsApp: n8n workflow

> Started by a clock, and works across Gmail, Google Docs, Slack and WhatsApp. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/summarize-daily-gmail-emails-with-gemini-and-whatsapp (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Summarize daily Gmail emails with Gemini and WhatsApp

Started by a clock, and works across Gmail, Google Docs, Slack and WhatsApp. It hands the judgement calls to Gemini. 20 steps, 5 branches: a working afternoon to understand properly.

Medium Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsummarize-daily-gmail-emails-with-gemini-and-whatsapp)

**20 steps** Medium: a working afternoon

**5** Branches: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 2 Model 1 Logic 10 Service 7

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **Error Trigger** Error trigger *Starts it*
- 3 **⚙️ Set Configuration** Set *Logic*
- 4 **Gmail: Send Error Alert** Gmail *Service*
- 5 **Gmail: Fetch Primary Emails** Gmail *Service*
- 6 **Sanitize & Parse Emails** Code *Logic*
- 7 **Inbox Has Emails?** If *Logic*
- 8 **Build LLM Prompt** Code *Logic*
- 9 **Format Empty Summary** Code *Logic*
- 10 **Generate AI Summary** Google Gemini *Model*
- 11 **Enable Google Docs?** If *Logic*
- 12 **Enable Gmail Alert?** If *Logic*
- 13 **Enable Slack Alert?** If *Logic*
- 14 **Enable WhatsApp Alert?** If *Logic*
- 15 **Format Populated Summary** Code *Logic*
- 16 **Google Docs: Create New Doc** Google Docs *Service*
- 17 **Gmail: Send Overview Alert** Gmail *Service*
- 18 **Slack: Post Overview Alert** Slack *Service*
- 19 **WhatsApp: Send Overview Alert** Whats App *Service*
- 20 **Google Docs: Append Summary** Google Docs *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 20, with 5 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, Google Docs, Slack, WhatsApp
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Docs, Slack 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 a clock.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

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 20 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%2Fsummarize-daily-gmail-emails-with-gemini-and-whatsapp)
- **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 Docs](https://millionrounds.com/workflows?service=Google+Docs#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**AI research paper analysis & documentation with Decodo** 20 steps · calls a model · Google Docs, Google Sheets](https://millionrounds.com/workflow/ai-research-paper-analysis-and-documentation-with-decodo)
- [**Advanced market trends & competitor GPT-4o intelligence hub** 20 steps · calls a model · Google Sheets, WhatsApp](https://millionrounds.com/workflow/advanced-market-trends-and-competitor-gpt-4o-intelligence-hu)
- [**Analyze Google Business Reviews & send sentiment reports to Slack** 20 steps · calls a model · Google Business Profile, Slack](https://millionrounds.com/workflow/analyze-google-business-reviews-and-send-sentiment-reports-t)
- [**Analyze YouTube comments with OpenAI** 20 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/analyze-youtube-comments-with-openai)
- [**Analyze, classify, and summarize Gmail with OpenAI RAG** 20 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/analyze-classify-and-summarize-gmail-with-openai-rag)
- [**Generate internet research PDF reports with OpenAI and Gmail** 20 steps · calls a model · Gmail](https://millionrounds.com/workflow/generate-internet-research-pdf-reports-with-openai-and-gmail)
