Templates / Aggregate news articles from NewsAPI, Mediastack & CurrentsAPI into database

Aggregate news articles from NewsAPI, Mediastack & CurrentsAPI into database

Ready for 3.0

by Joel Gamble · 6,815 views · created 2025-12-07 · Market Research

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 29 nodes and runs on a schedule (every day at 06:00) (plus 3 other triggers). Along the way it connects NocoDB. It also calls newsapi.org, api.currentsapi.services and api.mediastack.com over HTTP.

How it runs

Trigger: On a schedule (every day at 06:00) (plus 3 other triggers).

  1. currentsapi config (Edit Fields (Set)): sets 2 fields: article_limit, category
  2. mediastack categories (Edit Fields (Set)): sets 2 fields: article_limit, categories
  3. call newsapi.org - Top Headlines (HTTP Request): calls newsapi.org
  4. newsapi.org categories (Edit Fields (Set)): sets 2 fields: article_limit, categories
  5. call currentsapi (HTTP Request): calls api.currentsapi.services
  6. Itemize Mediastack Categories (Code): runs custom JavaScript code
  7. Split Out: splits a list into separate items
  8. Itemize Newsapi Categories (Code): runs custom JavaScript code
  9. Split Out: splits a list into separate items
  10. Loop Over Mediastack (Loop Over Items (Split in Batches)): loops over the items in batches

…plus 15 more steps. See the full node list below.

Services it uses

NocoDB

HTTP calls to: newsapi.org, api.currentsapi.services, api.mediastack.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

This workflow pulls news articles from NewsAPI, Mediastack, and CurrentsAPI on a scheduled basis. Each provider’s results are normalized into a consistent schema, then written into your database (NocoDB by default). Use case: automated aggregation of…

Excerpt from Joel Gamble's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.