Send commodity investment briefings from CNBC RSS with Gemini and Slack
Quick Overview This workflow pulls commodity-related headlines from the CNBC RSS feed, filters and ranks the most relevant items, uses Google Gemini to generate an actionable commodity investment briefing, and posts the briefing to a Slack channel with error notifications if the RSS fetch or AI step fails.
How it works Runs manually and reads the latest items from the CNBC News RSS feed. Extracts the key fields (title, link, description, date) and removes duplicate articles by title. Filters for commodity and macro keywords (for example oil, crude, gold, inflation), excludes blacklisted terms, and assigns a relevance score to each remaining item. Sorts the news by score, keeps the top three articles, and combines them into a single text block for analysis. Sends the combined news to Google Gemini to generate a daily briefing with key drivers, market impact, investor actions, and supporting commodity price/trend data. Formats the Gemini output and posts it to a selected Slack channel, or sends a Slack alert if the RSS feed fetch or Gemini request errors.
Setup Add a Google Gemini (Google PaLM) API credential and select the model you want to use. Add a Slack OAuth credential and choose the channel where the briefing and error alerts should be posted. Confirm the CNBC RSS feed URL is correct and customize the keyword/blacklist lists and scoring logic to match the commodities you track. Replace the manual trigger with a Schedule trigger if you want the briefing to run automatically (for example daily each morning).
Related Templates
Track OpenAI Token Usage and AI Agent Metrics with Google Sheets Dashboard
What it does Captures token usage and cost from your AI Agent/LLM. Logs model, tokens, cost, tool use, and conversation ...
Summarize SERPBear data with AI (via Openrouter) and save it to Baserow
Who's this for? If you own a website and need to analyze your keyword rankings If you need to create a keyword report on...
Send Daily Weather Forecasts from OpenWeatherMap to Telegram with Smart Formatting
🌤️ Daily Weather Forecast Bot A comprehensive n8n workflow that fetches detailed weather forecasts from OpenWeatherMap...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments