# Create personalized news digests with OpenAI and SerpAPI: n8n workflow

> Started by a clock, and works across Telegram and n8n data table. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/create-personalized-news-digests-with-openai-and-serpapi (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Chat assistants](https://millionrounds.com/workflows?category=Chat+assistants#library)

# Create personalized news digests with OpenAI and SerpAPI

Started by a clock, and works across Telegram and n8n data table. It hands the judgement calls to OpenAI. 26 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-personalized-news-digests-with-openai-and-serpapi)

**26 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 4 Logic 15 Service 6

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

- 1 **GPT-5.1** Lm Chat Open Ai *Model*
- 2 **Tavily web search tool** Tavily Tool *Service*
- 3 **Parse enriched article JSON** Output Parser Structured *Model*
- 4 **Schedule Trigger** Schedule trigger *Starts it*
- 5 **AI: enrich & write article** Agent *Model*
- 6 **Set topics and language** Set *Logic*
- 7 **Aggregate enriched articles** Aggregate *Logic*
- 8 **Build topic queries** Code *Logic*
- 9 **Get previous newsletters** Data Table *Service*
- 10 **Insert newsletter content into Newsletters table** Data Table *Service*
- 11 **Fetch news from SerpAPI (DuckDuckGo News)** Http Request *Service*
- 12 **Sort newsletters by newest first** Sort *Logic*
- 13 **Send newsletter to Telegram** Telegram *Service*
- 14 **Split SerpAPI results into articles** Split Out *Logic*
- 15 **Get most recent newsletter** Limit *Logic*
- 16 **Limit previous newsletters to last 5** Limit *Logic*
- 17 **Upsert articles into News table** Data Table *Service*
- 18 **Combine articles with last newsletter metadata** Merge *Logic*
- 19 **Aggregate previous newsletters into list** Aggregate *Logic*
- 20 **Filter articles newer than last newsletter** Filter *Logic*
- 21 **Combine candidate articles with past newsletters** Merge *Logic*
- 22 **Stop if last newsletter is too recent** If *Logic*
- 23 **AI: decide send + select articles** Open Ai *Model*
- 24 **Aggregate candidate articles for AI** Aggregate *Logic*
- 25 **If AI decided to send newsletter** If *Logic*
- 26 **Split selected articles for enrichment** Split Out *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 26, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Telegram, n8n data table
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Telegram account, and a key for OpenAI. 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 OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 26 steps it is large: read it before trusting it with anything live.

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 26 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%2Fcreate-personalized-news-digests-with-openai-and-serpapi)
- **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.

[Telegram](https://millionrounds.com/workflows?service=Telegram#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also chat assistants, with the same services where possible, closest in size first.

- [**AI-powered credit card recommendation system with OpenAI** 26 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/ai-powered-credit-card-recommendation-system-with-openai)
- [**Generate move-out deposit statements with Gmail** 26 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/generate-move-out-deposit-statements-with-gmail)
- [**Manage dental patients with Telegram and OpenAI** 26 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/manage-dental-patients-with-telegram-and-openai)
- [**Process data rights requests and governance compliance** 26 steps · calls a model · Email, Slack](https://millionrounds.com/workflow/process-data-rights-requests-and-governance-compliance)
- [**Smart email manager with Gmail and OpenAI** 26 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/smart-email-manager-with-gmail-and-openai)
- [**Telegram chatbot with OpenAI** 26 steps · calls a model · Google Sheets, Supabase vectors](https://millionrounds.com/workflow/telegram-chatbot-with-openai-2)
