AI-powered stock market summary bot
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs on a schedule (cron 0 30 6-14 * * 1-5). Along the way it connects OpenAI and Slack. It also calls paper-api.alpaca.markets over HTTP.
How it runs
Trigger: On a schedule (cron 0 30 6-14 * * 1-5).
- Check Market Status (HTTP Request): calls paper-api.alpaca.markets
- Check if Market is open (If): checks a condition and branches into true / false
- Ticker List (Edit Fields (Set)): sets or maps fields
- Fetch Stock Data (HTTP Request): calls an HTTP API
- Interpret Data (Code): runs custom Python code
- Stock Analysis Assistant (OpenAI): work with assistant
- Send Summary to User(s) (Slack): uses Slack
Services it uses
HTTP calls to: paper-api.alpaca.markets
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.
Nodes used (8)
- Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - Slack
n8n-nodes-base.slack - Schedule Trigger
n8n-nodes-base.scheduleTrigger - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp
From the author
An automated n8n workflow that analyzes stocks using RSI and MACD, summarizes insights with OpenAI, and sends a Slack-ready market update every hour. This workflow: Runs hourly from 6:30 AM to 2:30 PM PT, Mon–Fri Checks if the U.S. stock market is open using…