{"product_id":"n8n-workflow-finnhub-stock-anomaly-alerts-via-gmail","title":"n8n Workflow: Finnhub Stock Anomaly Alerts via Gmail","description":"\u003ch3\u003eGet hourly Gmail alerts when monitored stocks show unusual price moves\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow pulls live stock quotes from \u003cstrong\u003eFinnhub\u003c\/strong\u003e every hour, checks for abnormal percent changes and intraday swings, and emails you a consolidated \u003cstrong\u003eGmail\u003c\/strong\u003e summary only when one or more symbols are flagged as \u003cstrong\u003eWATCH\u003c\/strong\u003e or \u003cstrong\u003eALERT\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns hourly\u003c\/strong\u003e on a schedule using an n8n Schedule Trigger.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMonitors a predefined symbol list\u003c\/strong\u003e (AAPL, TSLA, NVDA, AMD, GME).\u003c\/li\u003e\n  \u003cli\u003eFor each symbol, calls the \u003cstrong\u003eFinnhub Quote API\u003c\/strong\u003e via an HTTP Request node to retrieve the latest price and daily change metrics.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eApplies rule-based anomaly checks\u003c\/strong\u003e to classify each stock as \u003cem\u003eNORMAL\u003c\/em\u003e, \u003cem\u003eWATCH\u003c\/em\u003e, or \u003cem\u003eALERT\u003c\/em\u003e based on percent change and intraday high\/low swing.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilters out NORMAL\u003c\/strong\u003e results so your inbox only receives actionable information.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCompiles a single text summary\u003c\/strong\u003e listing each flagged stock and the reason for its flag.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends an email through Gmail\u003c\/strong\u003e, with the number of flagged stocks included in the email subject.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS operators\u003c\/strong\u003e and analysts who want automated “market watch” notifications without building dashboards.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomation engineers\u003c\/strong\u003e testing rule-based alerting using external APIs (Finnhub) and email delivery (Gmail).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eActive traders\u003c\/strong\u003e who monitor a small set of high-interest tickers and want consolidated anomaly alerts.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSchedule Trigger\u003c\/strong\u003e for hourly execution\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHTTP Request\u003c\/strong\u003e to the \u003cstrong\u003eFinnhub Quote API\u003c\/strong\u003e (replace the hardcoded token in the request URL with your own Finnhub API token)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCode\u003c\/strong\u003e node for symbol list handling and rule-based classification (NORMAL \/ WATCH \/ ALERT)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilter\u003c\/strong\u003e node to remove NORMAL stocks from the final results\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail\u003c\/strong\u003e node with OAuth2 to send the consolidated anomaly email\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup summary\u003c\/h3\u003e\n\u003cp\u003eConnect your Finnhub API token in the Quote API request, set your Gmail OAuth2 credentials, update the recipient email (and optionally thresholds or symbol list), and deploy the workflow.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46029311475891,"sku":"N8N-19614","price":25.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/FMMuLx5ZATkuOV4pZzhgM_KHVOGErz.png?v=1789463060","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-finnhub-stock-anomaly-alerts-via-gmail","provider":"N8N Commerce","version":"1.0","type":"link"}