Generate Stock Market Insights with Technical Analysis, AI, and Telegram Publishing
📈 AI Stock Analytics & BCS "Profit" Social Network Publishing Workflow
This workflow automatically generates stock market insights for selected tickers (e.g. GAZP, SBER, LKOH) using historical data, technical indicators, and an AI model. The results are then sent to Telegram for quick moderation and publishing.
🔑 What this workflow does
Runs twice a day** on a schedule with a predefined list of tickers.
Fetches historical market data** from a broker API.
Calculates key technical indicators** (RSI, EMA/SMA, MACD, Bollinger Bands, ADX).
Generates an investment post** (title + summary) using an LLM.
Stores results** in a PostgreSQL database.
Sends a draft post to Telegram* with inline buttons “Publish” and “Retry”.
Handles Telegram actions*: publishes the post to the final channel or re-runs the generation process.
📌 Key features
Multi-ticker support in a single run.
Automatic error handling (e.g. missing data or invalid AI JSON output).
Human-in-the-loop moderation through Telegram before publishing.
PostgreSQL integration for history and analytics storage.
Flexible structure: easy to extend with new tickers, indicators, or publishing channels.
🛠️ Nodes used
Trigger:** Schedule (twice daily) + Telegram Trigger (button callbacks).
Data:** HTTP Request (broker API), Function (technical analysis calculations).
AI:** OpenAI / OpenRouter with structured JSON output.
Storage:** PostgreSQL (analytics history).
Messaging:** Telegram (drafts and publishing).
🚀 Who is this for
Fintech startups looking to automate market content.
Investment bloggers posting daily stock analysis.
Analysts experimenting with trading strategies on real market data.
Related Templates
Automate Daily Keyword Research with Google Sheets, Suggest API & Custom Search
Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automa...
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
Add product ideas to Google Sheets via a Slack
Use Case This workflow is a slight variation of a workflow we're using at n8n. In most companies, employees have a lot o...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments