Summarize regulatory news from NewsAPI with Gemini and Google Sheets plus error alerts
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Gemini, Google Sheets and Gmail.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Workflow Config & Variables (Edit Fields (Set)): sets 12 fields: config.newsApiKey, config.searchQuery, config.sortBy…
- Fetch News from NewsAPI (HTTP Request): calls an HTTP API
- Preprocess & Normalize Articles (Code): runs custom Python code
- Collect All Errors (Merge): merges the data from its input branches
- Limit: keeps the first few items
- Format Error Details (Edit Fields (Set)): sets 4 fields: error.nodeName, error.message, error.timestamp…
- Loop Store Each Article (Loop Over Items (Split in Batches)): loops over the items in batches
- Error Alert Delay (Wait): waits 3 seconds
- Filter Valid Articles Only (If): checks a condition and branches into true / false
- Wait: waits 2 seconds
…plus 7 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Gmail templates (518)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Limit
n8n-nodes-base.limit - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Google Sheets
n8n-nodes-base.googleSheets - Merge
n8n-nodes-base.merge - Gmail
n8n-nodes-base.gmail
From the author
News Intelligence Workflow using NewsAPI, AI Model, Google Sheets & Error Alerts This workflow automatically fetches news articles from NewsAPI, processes them using an AI model to generate summaries and key regulatory changes and stores both raw and…