Summarize newsletters into a Notion database

An n8n workflow retrieves newsletters, summarizes them with an LLM and stores them in Notion, splitting long summaries to fit block limits. Task: Suggested implementation: An n8n workflow reads unread emails via IMAP, filters by date and allowed senders, and uses an OpenAI-backed chain to summarize newsletters into bullet points with source URLs. A code node splits summaries over 1,950 characters, with the first chunk creating a Notion page and subsequent chunks appending to it. Human role: Review IMAP filter rules and verify Notion page creation accuracy.; tools: n8n. Human role: The original post does not say how a person stayed involved.; limitations: Prerequisites include valid IMAP credentials, OpenAI API access, and Notion integration. Constraints: Only OpenAI is suggested for reliability; Claude and local Llama2 may fail due to token limits or errors. Integration uncertainty exists regarding IMAP filter reliability. Human approval is required before deploying to production email accounts..

Tools

n8n

Published on Agent Work Atlas:

Overview

An n8n workflow retrieves newsletters, summarizes them with an LLM and stores them in Notion, splitting long summaries to fit block limits.

Workflow

Suggested implementation: An n8n workflow reads unread emails via IMAP, filters by date and allowed senders, and uses an OpenAI-backed chain to summarize newsletters into bullet points with source URLs. A code node splits summaries over 1,950 characters, with the first chunk creating a Notion page and subsequent chunks appending to it. Human role: Review IMAP filter rules and verify Notion page creation accuracy.

Reported result

Actual outcomes are unknown as the source is inaccessible (HTTP 403). Proposed measurable acceptance check: Run the workflow on a test inbox with 10 known newsletters and verify that 100% of summaries are correctly split and stored in Notion without data loss.

Human role

The original post does not say how a person stayed involved.

Limitations

Prerequisites include valid IMAP credentials, OpenAI API access, and Notion integration. Constraints: Only OpenAI is suggested for reliability; Claude and local Llama2 may fail due to token limits or errors. Integration uncertainty exists regarding IMAP filter reliability. Human approval is required before deploying to production email accounts.

Try it

Act as an automation engineer. I need to set up an n8n workflow to summarize newsletters into Notion. [Replaceable inputs: IMAP credentials, allowed sender list, Notion database ID, OpenAI API key]. Steps: 1. Configure IMAP node to fetch unread emails. 2. Add filter nodes for date and sender whitelist. 3. Use OpenAI node to generate bullet-point summaries with URLs. 4. Add code node to split summaries >1950 chars. 5. Create Notion page with first chunk, append others. 6. Dry run with 3 test emails. 7. Human confirmation of output before enabling. Measure success by verifying all test summaries are complete and correctly formatted in Notion. Handle errors by logging failed emails. Ask clarifying questions only if API keys or database IDs are missing.

Original source

Source reports are not independently verified. Publication date is the catalog publication date, not the original article date.

More cases · Office & operations