Aggregate News Articles from NewsAPI, Mediastack & CurrentsAPI into Database
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 categorized news for content pipelines, research agents, or editorial queues.
What You Must Update Before Running
-
API Keys Replace all placeholder keys: call newsapi.org - Top Headlines → update API_KEY in URL
call newsapi.org - categories → update API_KEY
call mediastack → update "ACCESS_KEY" in JSON
call currentsapi → update "API_KEY" param -
Database Connection Workflow uses NocoDB to store results.
You must:
Update the NocoDB API Token credential to your own
Ensure your table includes the fields used in the create operations
(source_category, title, summary, author, sources, content, images, publisher_date, etc.)
If you prefer Google Sheets, Airtable, or another DB:
Replace each NocoDB node with your equivalent “create row” operation
The Set nodes already provide all normalized fields you need
- Scheduling
All schedulers are disabled by default.
Enable the following so the workflow runs automatically: NewsAPI – Top Headlines** NewsAPI – Categories** Mediastack** CurrentsAPI**
You may change the run times, but all four must be scheduled for the workflow to function as designed.
What You Can Configure
- Categories Defined in: newsapi.org categories mediastack categories
Edit these arrays to pull only the categories you care about or to match your API plan limits.
- Article Limits Adjust article_limit in: newsapi.org categories mediastack categories currentsapi config
Related Templates
Create a Speech-to-Text API with OpenAI GPT4o-mini Transcribe
Description This template provides a simple and powerful backend for adding speech-to-text capabilities to any applicat...
Automate Daily Keyword Research with Google Sheets, Suggest API & Custom Search
Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automa...
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments