Quick overview
This workflow runs every 6 hours to scan Webz.io for recent news about a stock ticker watchlist, uses OpenAI GPT-4.1-mini to keep only market-moving stories, deduplicates alerts by URL, and posts a grouped summary to a Slack channel.
How it works
- Runs every 6 hours on a schedule trigger.
- Reads the watchlist settings (tickers, lookback window, article count, and Slack channel) and splits the comma-separated tickers into one item per symbol.
- For each ticker, calls Webz.io news search and uses OpenAI (gpt-4.1-mini) to judge which returned articles are materially market-moving, outputting a structured list of stories.
- Removes any stories whose URLs have already been alerted in previous active runs by storing and checking a workflow-level URL history.
- If any new material stories remain, formats them grouped by ticker and event type and posts the alert message to the configured Slack channel.
- If the news check fails for a ticker, stops the run with a readable error message instead of silently skipping alerts.
Setup
- Create a Webz.io API token and add it as a Bearer Auth credential on the Webz.io news search tool node.
- Add an OpenAI credential for the Chat Model node (or swap in another tool-calling chat model you have credentials for).
- Add a Slack credential with permissions to post messages (for example, chat:write and channels:read) and invite the bot/app to the target channel.
- Update the Monitor settings values for your ticker list (uppercase), lookbackDays, articleCount, and slackChannel, and set the workflow timezone so the schedule matches your market hours.
- Activate the workflow so URL deduplication persists across production executions (it does not persist the same way in manual test runs).