Skip to main content

Track commodity news sentiment with Groq, Google Sheets, and Slack

Workflow preview

Workflow preview
100%
Track commodity news sentiment with Groq, Google Sheets, and Slack preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow runs daily at 10:00 and reads commodity news from OilPrice and Invezz RSS feeds, uses a Groq hosted LLM to classify sentiment and extract commodity/impact details, appe...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.rssfeedread, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgroq, n8n-nodes-base.noop, n8n-nodes-base.sort, n8n-nodes-base.limit, n8n-nodes-base.merge

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by WeblineIndia.

Original n8n.io source

1.1 Workflow description

Title
Track commodity news sentiment with Groq, Google Sheets, and Slack
Workflow name
Track commodity news sentiment with Groq, Google Sheets, and Slack

Quick Overview

This workflow runs daily at 10:00 and reads commodity news from OilPrice and Invezz RSS feeds, uses a Groq-hosted LLM to classify sentiment and extract commodity/impact details, appends the results to Google Sheets, and posts a Slack alert when aggregated sentiment crosses a threshold.

How it works

  1. Runs every day at 10:00 on a schedule.
  2. Fetches the latest articles from the OilPrice and Invezz commodities RSS feeds, sorts them by publication date, and keeps the five most recent from each source.
  3. Merges both feeds and normalizes each article into a consistent structure (title, link, date, content, snippet, and source).
  4. Sends the article text to Groq (chat model) to return a JSON sentiment classification with confidence, commodity, impact level, and a one-line summary.
  5. Parses the model response and appends the structured result to a Google Sheets worksheet along with the article URL/title/source and a timestamp.
  6. Converts the sentiment label into a numeric score, aggregates average sentiment per commodity across the processed articles, and formats a Slack message with the trend and latest summary/link.
  7. Posts the Slack message when the average sentiment for a commodity is greater than 0.3 or less than -0.3, otherwise it ends without sending an alert.

Setup

  1. Add Groq API credentials for the Groq chat model used for sentiment classification.
  2. Connect Google Sheets OAuth2 credentials and update the spreadsheet/document ID, sheet name, and column headers to match the fields being appended.
  3. Connect Slack OAuth2 credentials and set the target Slack user/channel configuration used to send alerts.
  4. Review and, if needed, adjust the RSS feed URLs and the alert thresholds (0.3 and -0.3) to fit your news sources and sensitivity.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Energy

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 2 - Invezz

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 3 - Normalize Article

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - AI Sentiment Classification

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 5 - Groq Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

Block 6 - No Operation, do nothing

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 7 - Find Latest News

Type / Role
n8n-nodes-base.sort - sort
Config choices
Version 1

Block 8 - Latest news related to Energy

Type / Role
n8n-nodes-base.sort - sort
Config choices
Version 1

Block 9 - Top 5 News

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 10 - Top 5 news of Enery

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 11 - Put together Both news

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 12 - Format AI Output

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Store in Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 14 - Map Sentiment Score

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Aggregate by Commodity

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Prepare Slack Message

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Checks if need to send alert

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 18 - Send Slack Alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 19 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Executes Everyday at 10AM

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 21 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 25 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Track commodity news sentiment with Groq, Google Sheets, and Slack
Complexity advanced
Nodes 25
Categories Market Research, AI Summarization
Author WeblineIndia
Published 11 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16265/16265.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Track commodity news sentiment with Groq, Google Sheets, and Slack do?

Quick Overview This workflow runs daily at 10:00 and reads commodity news from OilPrice and Invezz RSS feeds, uses a Groq hosted LLM to classify sentiment and extract commodity/impact details, appe...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.