Templates / Detect stock price anomalies & send news alerts with Marketstack, HackerNews & DeepL

Detect stock price anomalies & send news alerts with Marketstack, HackerNews & DeepL

Ready for 3.0

by noda ✓ · 1,245 views · created 2025-10-30 · Crypto Trading, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 12 nodes and runs on a schedule (every day at 09:00). Along the way it connects Marketstack, Hacker News and Slack.

How it runs

Trigger: On a schedule (every day at 09:00).

  1. Get Stock Data (Marketstack): uses Marketstack
  2. Calculate Deviation (Code): runs custom JavaScript code
  3. Is Anomaly? (status != "normal") (If): checks a condition and branches into true / false
  4. Add Symbol Field (Edit Fields (Set)): sets 1 field: symbol
  5. Send Normal Report to Slack (Slack): uses Slack
  6. Build News Keyword (Code): runs custom JavaScript code
  7. Get Related News (Hacker News): work with all
  8. Compose Slack Message (Code): runs custom JavaScript code
  9. Translate News (DeepL): uses DeepL
  10. Merge: merges the data from its input branches

…plus 1 more step. See the full node list below.

Services it uses

MarketstackHacker NewsSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Rarely used nodes in this template: n8n-nodes-base.marketstack

Nodes used (9)

From the author

Price Anomaly Detection & News Alert (Marketstack + HN + DeepL + Slack) Overview This workflow monitors a stock’s closing price via Marketstack. It computes a 20-day moving average and standard deviation (±2σ). If the latest close is outside ±2σ, it flags an…

Excerpt from noda's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.