Automation

News Agent Email Digest Pipeline

An n8n news intelligence pipeline that stores subscriber preferences in Data Tables, runs daily or weekly domain scrapers, scores article relevancy, and sends formatted HTML email digests.

  • n8n n8n
  • Web Scraping
  • Relevancy Scoring
  • HTML Email
  • Data Tables
News Agent Email Digest Pipeline: case study visual

Operational outcome

News Agent Email Digest Pipeline

Automation

Measured result

Normalizes articles from multiple property and industry sources, scores relevancy, and sends daily or weekly HTML email digests

Who it serves
Real estate and advisory teams tracking regional news
Octacer's role
Full development
Platforms and systems
n8n, n8n Data Tables, Gmail
Status
Shipped

Overview

The project at a glance

Monitoring multiple regional property and industry news sites manually makes it hard to keep teams updated on relevant market moves. Octacer built a modular n8n news agent that captures user preferences (cadence, primary and secondary locations, source URLs, and topics) into n8n Data Tables, executes daily or weekly schedule triggers, dispatches dedicated domain scrapers, normalizes articles into a unified schema, scores relevancy, and sends an HTML digest via email.

What the engagement had to achieve

  1. Capture subscriber frequency, locations, source URLs, and topic preferences through a form into n8n Data Tables
  2. Support both daily (24-hour) and weekly (7-day) automated digest schedules
  3. Route domain URLs to dedicated scraper sub-workflows and normalize articles into one schema
  4. Score scraped articles for relevancy and format top items into an HTML email digest

The story

A link dump is not a briefing

What was at risk

The Challenge

Industry publications use inconsistent page structures, so a single scraper is brittle. Unranked link dumps also overwhelm readers who only care about specific locations and topics, on a daily or weekly cadence.

Failure mode 01
Every source looks different

Publications do not share one page structure. A single scraper that assumes they do becomes brittle as soon as a source changes or a new source is added.

Failure mode 02
Readers do not want every article

A raw list of links is not a briefing. Readers care about particular locations and topics, and they need those matches ranked, not dumped.

Failure mode 03
Cadence differs by reader

Some readers want a daily digest and others want a weekly one. The same pipeline has to honour those preferences instead of sending one schedule to everyone.

How we responded

The Solution

Octacer built an n8n pipeline that starts with a preference form, stores those rules in n8n Data Tables, and then runs daily or weekly branches. Source URLs are routed to domain-specific scrapers, articles are mapped to a shared schema and scored for relevancy, and a formatted HTML email digest is sent to matching readers.

Decision 01
Capture preferences once and reuse them

An n8n form collects frequency, locations, source URLs and topics into a structured payload, and those rules are stored in n8n Data Tables so scheduled runs can filter matching recipients.

“The reader's rules should drive the run, not the other way around.”

Decision 02
Use a scraper that fits the publication

Source URLs are split, normalized and routed to dedicated scrapers per publication, instead of forcing every domain through one brittle workflow.

“Different pages need different scrapers.”

Decision 03
Score articles, then send a digest

Scraped items are mapped to a common schema and scored for relevancy. The scored articles are assembled into a clean HTML email digest and sent through the connected email node.

“Send a briefing, not a pile of links.”

Deliverables

What we delivered

The major capabilities designed, built and shipped in this engagement.

Preference intake form and payload builder

An n8n form collects daily or weekly frequency, primary and secondary locations, source URLs, and topics into a structured payload.

  • An n8n form collects daily or weekly frequency
  • It also collects locations, source URLs and topics
  • Those answers are stored as a structured payload

n8n Data Table preference persistence

Subscriber rules and source lists are stored in n8n Data Tables so scheduled runs can filter matching recipients dynamically.

  • Subscriber rules and source lists are stored in n8n Data Tables
  • Scheduled runs can filter matching recipients from that store
  • Preferences persist between runs instead of being re-entered

Dual daily (24h) and weekly (7d) triggers

Separate schedule branches inspect stored cadence flags so daily and weekly subscribers execute on the right schedule.

  • Separate schedule branches exist for daily and weekly readers
  • Each branch inspects stored cadence flags
  • Daily and weekly subscribers run on the right schedule

Domain-specific scraper sub-workflows

Source URLs are split, normalized, and routed to dedicated scrapers per publication (such as property news domains).

  • Source URLs are split and normalized
  • Each publication is routed to a dedicated scraper
  • A single one-size scraper is not used for every domain

Unified article schema and relevancy scoring

Scraped items are mapped to a common schema (title, URL, description, content, date, source, category, location) and scored for relevancy.

  • Scraped items are mapped to a common schema
  • The schema includes title, URL, description, content, date, source, category and location
  • Articles are scored for relevancy before they go into the digest

Formatted HTML email digest delivery

Scored articles are assembled into a clean HTML email digest and sent through the connected Gmail/email node.

  • Scored articles are assembled into a clean HTML email digest
  • The digest is sent through the connected email node
  • Readers receive a briefing rather than an unranked list of links
In practice

How it works

  1. A reader sets locations, topics and cadence

    The reader submits a form with locations, topics, source URLs and a daily or weekly cadence. Those rules are stored in an n8n Data Table so later runs can find the right recipients.

  2. A scheduled run scrapes, scores and sends the digest

    The daily or weekly trigger starts the matching branch, routes each source to its scraper, maps articles to a shared schema, scores them for relevancy, and sends a formatted HTML email digest.

Real visuals

Screens & evidence

Each one is real, and each caption says what it shows.

The n8n News Agent canvas, with scheduled triggers feeding source fetches, an AI scorer and the digest branch.
Workflow The n8n News Agent canvas, with scheduled triggers feeding source fetches, an AI scorer and the digest branch.
The article-normalization Code node, showing how source items are shaped before scoring.
Workflow The article-normalization Code node, showing how source items are shaped before scoring.
The LLM Relevance Scoring node, with its prompt and JSON output for ranking articles.
Workflow The LLM Relevance Scoring node, with its prompt and JSON output for ranking articles.
The newsletter HTML formatting node, with the schema used to build the digest.
Workflow The newsletter HTML formatting node, with the schema used to build the digest.
The sub-workflow that turns the scored articles into an HTML digest and sends it through Gmail.
Workflow The sub-workflow that turns the scored articles into an HTML digest and sends it through Gmail.
Technology

The stack

The tools behind the build, and the role each one played.

Actual stack
n8n

n8n

Orchestration, form triggers, schedule branches, and sub-workflows

Actual stack
n8n

n8n Data Tables

Preference and subscriber configuration store

Actual stack

Gmail / HTML Email

Formatted digest delivery

Engineering judgment

Key decisions

The choices that affected reliability, usability or maintainability — and the tradeoff behind each.

Give each publication its own scraper

Industry sites do not share one page structure. Source URLs are routed to dedicated sub-workflows so a change on one domain does not break every source.

Store preferences and honour daily or weekly cadence

Rules live in n8n Data Tables, and separate schedule branches inspect those flags so daily and weekly subscribers are not forced onto the same cadence.

Score articles before the email goes out

Items are mapped to a common schema and scored for relevancy so the message is a digest, not an unranked dump of links.

Evidence

Validation & delivery

What was tested, measured or delivered — stated with its conditions, and what is still outstanding.

Tested, measured and delivered

  • A walkthrough verified form submission, Data Table storage, weekly execution, article scraping, relevancy scoring and HTML email delivery.

Still outstanding

  • Test URLs and personal email addresses in the source recording need to be hidden before a public video can be attached.
Outcome

What changed

Outcomes below reflect the verified workflow architecture shown in the V1 walkthrough recordings. No open-rate or time-saved figures are claimed.

Beyond the launch

Lasting improvements

The changes that keep paying off after the engagement ended.

  1. Unified heterogeneous news sources into a single normalized article schema for scoring
  2. Automated both daily and weekly digest branches from one Data Table preference store
  3. Modularized domain scrapers and scoring into reusable n8n sub-workflows
  4. Replaced manual news checks with scored HTML email digests tailored by location and topic

Need something like this? See the related service: AI apps and integrations.

Tell us about your project
Your system next

Are news sources still arriving as an unranked list of links?

Tell us which publications you follow and how daily or weekly preferences should be stored.