Overview
An n8n workflow picks up newsletters that arrive in Gmail under a chosen label, has a chat model summarise each issue with its links, and saves the summary as a new page in a Notion database.
Problem or Objective
- Which agents run multi-step workflows across your apps?
- Which agents sort email, draft replies and clear the backlog for you?
More in Research and Analysis
AI Agents and Models
Tools and Integrations
- Tools
- n8n · Gmail · Notion
- Prerequisites
- An n8n instance (self-hosted or n8n Cloud), Google credentials for Gmail, a Notion integration with access to the target database, and a chat model API key.
How It Works
In Gmail, set up a filter that puts newsletters under one label. In n8n, start the workflow with a Gmail Trigger node that fires on new messages carrying that label. Send the message body to an AI step with a chat model and ask for a short summary that keeps the main links from the issue. Then use the Notion node to create a page in a database you share with the n8n Notion integration, with the newsletter name, date, original subject and the summary. Check how much text the Notion node can write in one page or block before you send long summaries. Run it on a few past issues and compare the summaries with the originals before leaving it on.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n, Gmail, Notion.
- Check the prerequisitesAn n8n instance (self-hosted or n8n Cloud), Google credentials for Gmail, a Notion integration with access to the target database, and a chat model API key.
- Gather your detailsCollect what the prompt asks for: Summary length, Number of links to keep, Newsletter body.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Summarise one newsletter issue for the archive
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Summarise the newsletter issue below for a private reading archive. Write [Summary length] in plain English, then list the [Number of links to keep] most useful links from the issue with one line each on what they point to. Use only what the issue says; do not add facts, and mark opinions as the author's. Start with the newsletter name and date, and mark the entry as unreviewed so I can review it against the original.
Issue:
[Newsletter body]Use a dedicated Gmail label so only newsletters reach the workflow. Check a handful of summaries against the originals before trusting the archive.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The n8n docs describe a Gmail Trigger that fires on new messages and can filter by label, a Notion node that can create database pages, and an AI Agent node that connects a chat model.
Limitations and Considerations
The Gmail Trigger polls rather than reacting instantly, and fetches up to 50 emails per poll, queuing the rest for later. Summaries can drop or bend details, so keep a link to the original email or web version next to each one. Model calls cost money per issue; check your provider's pricing. Newsletter content belongs to its publisher, so keep the archive private. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Gmail Trigger | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 00:17 UTC
What this source supports
- The Gmail Trigger node can start a workflow based on events in Gmail, and can trigger only on messages with selected labels.
- Max Emails per Poll defaults to 10 with a maximum of 50; if there are more unread emails than the limit, the node queues the rest for the next poll.
- Notion | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 23:44 UTC
What this source supports
- n8n has built-in support for a wide range of Notion features, including getting and searching databases, creating pages, and getting users.
- AI Agent | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- In the AI Agent node you connect a chat model and one or more tools, and the agent decides which tools to call to complete a task.

