Skip to main content

Monitor news sentiment trends with GPT-4o-mini, MrScraper, Slack and Notion

Workflow preview

Workflow preview
100%
Monitor news sentiment trends with GPT-4o-mini, MrScraper, Slack and Notion preview
Open on n8n.io

1. Workflow Overview

Description This n8n template automatically monitors news sources daily, analyzes article sentiment using AI, and delivers structured intelligence reports to your team — all without any manual read...

Best for

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

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.splitinbatches, n8n-nodes-mrscraper.mrscraper, n8n-nodes-base.code, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.slack

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Monitor news sentiment trends with GPT-4o-mini, MrScraper, Slack and Notion
Workflow name
Monitor news sentiment trends with GPT-4o-mini, MrScraper, Slack and Notion

Description

This n8n template automatically monitors news sources daily, analyzes article sentiment using AI, and delivers structured intelligence reports to your team — all without any manual reading. It uses MrScraper to discover and extract articles, GPT-4o-mini to score sentiment and flag urgent issues, and delivers results to both Notion (for archiving) and Slack (for real-time alerts and daily digests).

Whether you're tracking brand reputation, monitoring a competitor, or staying on top of industry trends, this workflow turns the open web into a fully automated radar system that runs every morning before your team starts their day.


How It Works

  • Phase 1 – Trigger & Config: A Schedule Trigger fires daily at 8AM. The workflow reads your list of target news source URLs from a Google Sheet, then loops through each source one by one.
  • Phase 2 – URL Discovery: For each news source, the Map Agent crawls the page and extracts individual article URLs. URLs are filtered using include patterns to keep only actual article links, deduplicated, and capped at your configured maxArticles limit.
  • Phase 3 – Article Extraction: Each article URL is processed by the General Agent, which extracts the full content including title, body text, author, and publication date. Articles with fewer than 50 words or that don't mention your defined brand/topic keywords are automatically filtered out and skipped.
  • Phase 4 – AI Sentiment Analysis: Each relevant article is sent to GPT-4o-mini with a structured prompt. The model returns a complete JSON analysis including sentiment label (positive/neutral/negative), a sentiment score from -1 to 1, a 2–3 sentence summary, key topics, tone classification, the most impactful quote, and whether the article requires an urgent response.
  • Phase 5 – Storage & Reporting: Every analyzed article is saved as a page in your Notion database with full metadata. If an article is flagged as action-required, an immediate Slack alert is fired. At the end of each run, a Daily Digest is compiled with sentiment breakdowns, average scores, flagged items, and top article summaries — then posted to your Slack channel.

How to Set Up

  1. Create 2 scrapers in your MrScraper account:
  • Map Agent Scraper (for discovering article URLs from news pages)
  • General Agent Scraper (for extracting full article content: title, body, date, author)
  • Copy the scraperId for each.
  1. Enable AI Scraper API access in your MrScraper account settings.

  2. Prepare your Google Sheet:

  • Create a sheet with a Domain column listing the news source URLs you want to monitor
  • Add as many sources as needed — each will be looped through on every run
  1. Add your credentials in n8n:
  • MrScraper API token
  • OpenAI API key
  • Slack OAuth
  • Notion OAuth
  1. Configure your Notion database with these properties:
  • Title, Source URL, Sentiment (select), Sentiment Score (number), Tone (select), Key Topics (text), Summary (text), Action Required (checkbox), Action Reason (text), Published At (text), Scraped At (text)
  1. Update the workflow settings:
  • Set your brandName and brandKeywords (comma-separated keywords to filter relevant articles)
  • Set your mapScraperId and generalScraperId
  • Set your slackChannel name (e.g. #brand-monitoring)
  • Set your notionDatabaseId (from your Notion database URL)
  • Set maxArticles to control how many articles are processed per source per run
  1. Adjust the Schedule Trigger to your preferred run time (default: every 24 hours)

  2. Customize the topic/brand keywords inside the Pick Best Content + Filter Irrelevant code node to match your monitoring targets


Requirements

  • MrScraper account with API access enabled
  • OpenAI account (GPT-4o-mini used by default)
  • Slack workspace with OAuth connected
  • Notion workspace with a database set up and OAuth connected
  • Google Sheets (OAuth2 connected) for storing your list of news sources

Good to Know

  • GPT-4o-mini is used by default to keep costs low — processing costs approximately $0.0001 per article. Switch to GPT-4o only if you need higher analysis quality.
  • The workflow has two distinct Slack outputs: an immediate urgent alert fires the moment a high-priority article is detected, while the Daily Digest summarizes the entire run at the end.
  • Articles that are too short (under 50 words) or don't match your defined keywords are silently skipped — the workflow never breaks even if a source returns no usable content.
  • Sentiment scores range from -1.0 (strongly negative) to 1.0 (strongly positive), making it easy to track trends over time in Notion or a connected dashboard.

Customising This Workflow

  • Track multiple brands or topics: Duplicate the keyword filter and AI prompt steps to run parallel analysis pipelines for different subjects in a single workflow.
  • Add email reporting: Insert a Gmail node after the Slack Daily Digest step to also send the daily summary as a formatted email report.
  • Connect to a dashboard: Pipe the Notion database into a tool like Google Looker Studio or Retool to visualize sentiment trends over time with charts and filters.
  • Adjust scrape frequency: Change the Schedule Trigger from daily to hourly for breaking news monitoring, or weekly for slower trend tracking.
  • Expand news sources: Add Google News search URLs (e.g. https://news.google.com/search?q=YOUR_BRAND) to your input sheet for broader coverage beyond specific news sites.

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 - Schedule Trigger (Daily 8AM)

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

Block 2 - Loop Each News Source

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 3 - MrScraper - Discover Article URLs

Type / Role
n8n-nodes-mrscraper.mrscraper - mrscraper
Config choices
Version 1

Block 4 - Loop Each Article URL

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 5 - MrScraper - Extract Article Content

Type / Role
n8n-nodes-mrscraper.mrscraper - mrscraper
Config choices
Version 1

Block 6 - Pick Best Content + Filter Irrelevant

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

Block 7 - Keep Only Relevant Articles

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

Block 8 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 9 - Sentiment & Summary AI Agent

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.5

Block 10 - Parse AI Response & Format Output

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

Block 11 - Needs Urgent Alert?

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

Block 12 - Slack - Urgent Alert

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

Block 13 - Notion - Save Article Analysis

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 14 - Build Daily Digest Summary

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

Block 15 - Slack - Daily Digest

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

Block 16 - Sticky Note - Setup

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

Block 17 - Sticky Note - Phase 1

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

Block 18 - Sticky Note - Phase 2

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

Block 19 - Sticky Note - Phase 3

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

Block 20 - Sticky Note - Phase 4

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

Block 21 - Sticky Note - Phase 5

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

Block 22 - Get Target News Website

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

Block 23 - Sticky Note - Phase

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

Block 24 - Sticky Note - Phase 6

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

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

3. Summary Table

Workflow Monitor news sentiment trends with GPT-4o-mini, MrScraper, Slack and Notion
Complexity advanced
Nodes 28
Categories Market Research, AI Summarization
Author riandra
Published 03 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13818/13818.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 Monitor news sentiment trends with GPT-4o-mini, MrScraper, Slack and Notion do?

Description This n8n template automatically monitors news sources daily, analyzes article sentiment using AI, and delivers structured intelligence reports to your team — all without any manual read...

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.