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
Send structured logs to BetterStack from any workflow using HTTP Request
Send structured logs to BetterStack from any workflow using HTTP Request Who is this for? This workflow is perfect for...
Provide latest euro exchange rates from European Central Bank via Webhook
What is this workflow doing? This simple workflow is pulling the latest Euro foreign exchange reference rates from the E...
Convert Tour PDFs to Vector Database using Google Drive, LangChain & OpenAI
🧩 Workflow: Process Tour PDF from Google Drive to Pinecone Vector DB with OpenAI Embeddings Overview This workflow au...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments