Skip to main content

Summarize daily Gmail emails with Gemini and send to Slack, WhatsApp and Docs

Workflow preview

Workflow preview
100%
Summarize daily Gmail emails with Gemini and send to Slack, WhatsApp and Docs preview
Open on n8n.io

1. Workflow Overview

AI Daily Email Summary Auto Delivered to Slack, WhatsApp & Docs (Gmail + Gemini) Summary Stop starting your day by drowning in unread emails. This workflow runs every morning and turns your Gmail i...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, n8n-nodes-base.gmail, n8n-nodes-base.code, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.googledocs

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Tricore Infotech Pvt Ltd.

Original n8n.io source

1.1 Workflow description

Title
Summarize daily Gmail emails with Gemini and send to Slack, WhatsApp and Docs
Workflow name
Summarize daily Gmail emails with Gemini and send to Slack, WhatsApp and Docs

AI Daily Email Summary - Auto-Delivered to Slack, WhatsApp & Docs (Gmail + Gemini)

Summary

Stop starting your day by drowning in unread emails. This workflow runs every morning and turns your Gmail inbox into a clean, prioritized briefing — automatically organized into what needs your attention, what meetings are coming up, and what you can read later. The summary lands wherever you already live: Google Docs, Gmail, Slack, or WhatsApp.

Powered by Google Gemini 2.5 Flash, with a built-in privacy layer that scrubs passwords, OTPs, and API keys before they ever leave your n8n instance.

Key features

  • Prioritized daily briefing: Gemini reads your last 24 hours of email and groups it into Action Required, Meetings & Events, and Important Updates — so you know exactly where to focus.
  • Deliver anywhere: Route your summary to Google Docs (as a daily log), Gmail (as a formatted report), Slack (as a DM), or WhatsApp — toggle each channel on or off from a single config node.
  • Safe to use with AI: A regex-based privacy layer scrubs sensitive patterns (OTPs, passwords, API keys, card numbers) inside n8n before anything reaches the AI model.
  • Zero wasted API calls: If your inbox is empty, the workflow skips the AI step entirely and sends a clean "no emails" status instead.
  • Built-in error alerts: If any step fails — expired credentials, API error — you get a diagnostic email automatically so nothing breaks silently.

How it works

  1. Trigger: Runs on a daily schedule (fully configurable).
  2. Fetch & clean: Pulls primary emails from the last 24 hours and scrubs sensitive patterns before processing.
  3. Summarize: Gemini 2.5 Flash generates a formatted text summary, categorized by priority.
  4. Deliver: Your summary is routed to whichever channels you've toggled on in the config node.
  5. Monitor: A global error handler catches failures and emails you a crash report.

Nodes used

  • Gmail (Fetch, Send, Error Alert)
  • Google Gemini (LangChain Native Node)
  • Slack (Post Alert)
  • WhatsApp Business Cloud API
  • Google Docs (Create & Append)
  • Schedule Trigger
  • Error Trigger
  • Code (PII Scrubbing & Formatting)

Setup instructions

  1. Credentials: Connect Gmail, Google Docs, Slack, WhatsApp, and your Google Gemini API key. (Note: You only need one Gmail OAuth2 credential. n8n will use this single connection for both fetching your inbox and sending the final summary email).
  2. Config node & Fallback: Open ⚙️ Set Configuration and fill in your target email, Slack user ID, and WhatsApp number. (Optional: Open the "Gmail: Send Error Alert" node at the bottom and replace PASTE_FALLBACK_EMAIL_HERE with a backup admin email, ensuring you get crash reports even if the config node fails).
  3. Toggle channels: Set each receiveOverviewIn... field to true for the platforms you want to activate.
  4. Test: Click Test Workflow — a sample email with a dummy password is pinned to the trigger so you can see the PII scrubber and summary in action immediately.
  5. Activate: Switch the workflow to Active and your first briefing runs on schedule.

Requirements

  • n8n version 1.0+
  • Google Gemini API key > Note on Model Selection: This template uses gemini-2.5-flash, which is currently in preview. If it is unavailable in your region or you encounter rate limits, simply open the Generate AI Summary node and switch the model to gemini-1.5-flash.
  • API scopes: Gmail (readonly, send), Google Docs (write), Slack (chat:write), WhatsApp Business

Customization ideas

  • Change email scope: Edit the labels in the Gmail fetch node to include Promotions, Updates, or a specific sender.
  • Filter by project: Enable filterBySubject or filterBySender in the config node to build a summary focused on one client or topic.
  • Adjust the tone: Edit the prompt in the Build LLM Prompt node to make summaries more detailed, more concise, or in a different language.
  • Change the schedule: Update the Schedule Trigger to run twice a day, weekly, or on any cadence you need.

Use cases

  • Start every morning with a 60-second read of everything that matters in your inbox.
  • Keep a searchable daily email log in Google Docs without lifting a finger.
  • Stay on top of client communications even when you're away from your inbox.
  • Safely use AI for email management without exposing passwords or OTPs to external model providers.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Template Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Zone 1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Zone 2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Zone 3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Zone 4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Annotation: Scrubbing

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Annotation: Formatting

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 9 - ⚙️ Set Configuration

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Gmail: Fetch Primary Emails

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 11 - Sanitize & Parse Emails

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Inbox Has Emails?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 13 - Build LLM Prompt

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Generate AI Summary

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1.1

Block 15 - Format Populated Summary

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Enable Google Docs?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 17 - Google Docs: Create New Doc

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 18 - Google Docs: Append Summary

Type / Role
n8n-nodes-base.googleDocs - googleDocs
Config choices
Version 2

Block 19 - Enable Gmail Alert?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 20 - Gmail: Send Overview Alert

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 21 - Enable Slack Alert?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 22 - Slack: Post Overview Alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 23 - Enable WhatsApp Alert?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 24 - WhatsApp: Send Overview Alert

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1.1

Showing the first 24 of 28 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Summarize daily Gmail emails with Gemini and send to Slack, WhatsApp and Docs
Complexity advanced
Nodes 28
Categories Document Extraction, AI Summarization
Author Tricore Infotech Pvt Ltd
Published 30 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15403/15403.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Summarize daily Gmail emails with Gemini and send to Slack, WhatsApp and Docs do?

AI Daily Email Summary Auto Delivered to Slack, WhatsApp & Docs (Gmail + Gemini) Summary Stop starting your day by drowning in unread emails. This workflow runs every morning and turns your Gmail i...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.