RSS to Slack Automation via Gemini & n8n
This workflow automates the tedious task of monitoring financial news by converting raw Google News RSS feeds into structured, actionable insights. Using Gemini Pro, it scans the latest earnings headlines to extract Revenue Trends, Guidance and Surprises, logging them into a database and alerting your Slack channel only when significant financial data is detected.
q= parameter with your specific stock tickers or company names.The Earnings News → Key Takeaways Extractor acts as a 24/7 digital financial analyst. Instead of manually scrolling through news aggregators or reading lengthy press releases, this workflow proactively hunts for news related to quarterly results. It doesn't just pass along links; it "reads" the content using Large Language Models (LLMs) to identify the specific numbers that move markets.
The workflow is designed with a "High-Signal" philosophy. It includes a specialized logic filter that distinguishes between a simple announcement (e.g., "Company X to report earnings next week") and actual results (e.g., "Company X beats revenue by 10%"). By filtering out the noise, it ensures that your Slack notifications remain valuable and free of clutter.
Finally, the workflow provides a dual-layer output. Every article processed is archived in a centralized database for historical record-keeping, while the most critical "market-moving" updates are pushed instantly to your communication platform. This ensures you never miss a beat during a busy earnings season.
The workflow is divided into three distinct layers: Data Acquisition, AI Intelligence and Governance/Delivery.
The Fetch: Google News RSS node pulls the latest news based on a search query. By default, it looks for "company earnings" or "quarterly results."
Configuration: You can modify the URL in this node to target specific companies by adding q=APPLE+earnings or similar search terms.
Precondition: The Filter: Top 5 Articles node is set to limit the batch size, preventing excessive API usage and ensuring you only process the most recent news.
The raw RSS data is in XML format, which is hard for machines to read. The Parser converts this to JSON and the Prompt Builder packages the headline and link into a structured request for the AI.
Before any notification is sent, the Formatter cleans the AI text. The data is then saved to the Database: Log Results node.
| Issue | Possible Cause | Solution |
|---|---|---|
| No data in Slack | The High-Signal Filter is blocking "empty" news. | Check the Database: Log Results node to see if articles are being processed but filtered out. |
| AI Node Error | Invalid or expired Google AI API Key. | Verify your credentials in the Model: Gemini Pro node and ensure billing is active. |
| RSS Fetch Failed | Google News URL format is incorrect. | Open the URL in a browser to ensure it returns a valid XML feed. |
| Database Error | The n8n Data Table ID does not match. | Re-select your table in the Database: Log Results node mapping. |
Building complex financial automations can be tricky. If you need a hand setting up this workflow, customizing the AI prompts or building a completely bespoke business process, we are here to help!
Contact WeblineIndia today to speak with our n8n experts and take your business automation to the next level.