See llms.txt for all machine-readable content.

Back to Templates

Send stock news sentiment digests to Slack with Apify

Quick overview

This workflow runs every weekday morning, uses Apify’s Financial News Sentiment Actor to fetch only new news articles for a stock watchlist, filters for strong sentiment scores, and posts a per-ticker digest to a Slack channel, with an error alert to Slack if the Apify request fails.

How it works

  1. Runs on a weekday schedule at 07:30 UTC.
  2. Sets the watchlist configuration (tickers, watchlist ID, sentiment threshold, and per-ticker article limits).
  3. Calls the Apify Financial News Sentiment Actor synchronously to retrieve only new articles for the watchlist and their composite sentiment scores.
  4. Keeps only articles whose absolute composite score meets or exceeds the configured minimum threshold.
  5. Groups the remaining articles by ticker, formats a Slack-ready digest with score icons and links, and limits headlines per ticker.
  6. Posts the digest to the selected Slack channel, and sends a short Slack error message if the Apify call fails.

Setup

  1. Add an Apify API token and configure the HTTP Header Auth for the Apify request (header name Authorization, value Bearer YOUR_APIFY_TOKEN).
  2. Add a Slack credential and choose the target channel for both Slack messages (digest and error alert).
  3. Update the watchlist values (tickers, watchlistId, minScore, and per-ticker limits) and adjust the weekday schedule time if needed.

Requirements

  • Apify account (the free plan works). The Actor charges $5 per 1,000 new articles to your Apify account; repeat articles aren't charged.

Customization

  • Raise minScore for fewer, stronger alerts, or swap the Slack nodes for Discord, Telegram or email.

Additional info

Tested on n8n 2.47.5 against the live Actor: first run returned 79 articles across AAPL, NVDA and TSLA; a repeat run returned none and posted nothing; an invalid token triggered the error alert. Sentiment is about 78% accurate on headlines, so treat it as a filter, not a trading signal.