workflows.fit
Back to n8n workflows
n8n templateFreeBy WeblineIndia

Score macro news impact with Groq, SerpAPI, Google Sheets and Gmail

Macro News: AI-Driven Market Impact Scoring Automation This workflow is a high-precision financial intelligence engine that monitors macroeconomic news to identify high-impact trading opportunities. It retrieves real-...

Data & StorageProductivityDevelopmentCore NodesCommunicationHITLAILangchain
Loading interactive preview...

Template notes

Macro News: AI-Driven Market Impact Scoring Automation

This workflow is a high-precision financial intelligence engine that monitors macroeconomic news to identify high-impact trading opportunities. It retrieves real-time data via SerpAPI, processes it through a dual-layered engine—combining a custom weighted Rule Engine with Groq-powered AI analysis—to calculate a final "Market Impact Score". By filtering out noise and focusing only on high-confidence signals, it stores critical events in Google Sheets and delivers formatted trade bias alerts (Forex, Crypto, Stocks) directly to your inbox.

Quick Implementation Steps

[Import: Upload the JSON file into your n8n workspace](https://n8n.partnerlinks.io/om1efg2qgvwi). Authenticate: Connect your Google Sheets, SerpAPI, Groq and Gmail credentials. Setup Rules: Fill your "Macro Rules" Google Sheet with keywords (e.g., "Repo Rate") and their corresponding weights. Configure News: In the Fetch Macro News node, enter your SerpAPI key and adjust the gl (country) or q (query) parameters to your target market. Deploy: Run once manually to test, then activate the workflow for continuous monitoring.

What It Does

The workflow automates the end-to-end lifecycle of macro-fundamental analysis. It begins by fetching a library of "Macro Rules" from your Google Sheet, which acts as the DNA for your scoring logic. It then scouts for the latest news on topics like GDP, Inflation and Central Bank decisions. To ensure you aren't buried in repetitive data, a normalization script creates a unique fingerprint for every article, allowing a deduplication filter to ignore any story you have already processed.

Once a fresh article is identified, it enters the dual-engine analysis phase. First, a JavaScript-based Rule Engine scans the text for your predefined keywords and tallies a weighted base score. Second, the Groq LLM Engine performs a deep qualitative analysis to determine market sentiment, affected asset classes and specific trade biases.

In the final stage, the workflow synthesizes these two perspectives into a "Final Impact Score". It applies a mathematical boost to high-confidence AI signals and identifies articles that cross a specific "High Impact" threshold (defaulting at 90+). These elite signals are archived in your database and immediately dispatched as a professional HTML alert to your Gmail.