This n8n workflow automates the curation of a daily tech and startup news digest from articles stored in a Notion database. It filters articles from the past 24 hours, refines them using keyword matching and LLM classification, aggregates them into a single Markdown digest with categorized summaries, and publishes the result as a Notion page. Designed for manual testing or daily scheduled runs, it includes sticky notes (as required by the n8n creator page) to document each step clearly. This original workflow is for educational purposes, showcasing Notion integration, AI classification, and Markdown-to-Notion conversion.
When clicking ‘Execute workflow’
).Schedule Trigger
, disabled by default).Get many database pages
) for articles from the last 24 hours using a date filter.Code in JavaScript
) filters articles containing tech/startup keywords (e.g., "tech," "AI," "startup") in title, summary, or full text.gpt-4.1-mini
(OpenAI Chat Model
) with a text classifier (Text Classifier
) to categorize articles as "Tech/Startup" or "Other," keeping only relevant ones.Code in JavaScript1
) for processing.AI Agent
) with OpenAI’s gpt-4.1-mini
(OpenAI Chat Model1
) creates a Markdown digest with an intro paragraph, categorized article summaries (e.g., AI & Developer Tools, Startups & Funding), clickable links, and a closing note.Code in JavaScript2
) converts the Markdown digest into a Notion-compatible JSON payload, supporting headings, bulleted lists, and links, with a title like “Tech & Startup Daily Digest – YYYY-MM-DD”.HTTP Request
) to the Notion API to create a new page.This workflow is for educational purposes, demonstrating Notion database querying, AI classification, and Markdown-to-Notion publishing.
Enable and adjust the schedule trigger (e.g., 8 PM daily) for production use to create daily digests.
Set up Notion and OpenAI API credentials in n8n before running.
The date filter can be modified (e.g., hours instead of days) to adjust the article selection window.