Templates / US stocks earnings calendar AI updates to Telegram (Finnhub + Gemini)

US stocks earnings calendar AI updates to Telegram (Finnhub + Gemini)

Needs changes

by Malik Hashir ✓ · 1,913 views · created 2025-06-26 · Crypto Trading

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (8)

AI AgentStructured Output ParserTelegramGoogle Gemini Chat Model

What it does

Purpose & Audience This n8n workflow is designed for investors, traders, financial analysts, and community managers who want real-time, structured US stocks upcoming earnings calendar updates directly to their Telegram channels or chats. It’s perfect for anyone running a financial community, managing a trading group, or tracking earnings for personal investment decisions. What It Does 1. Fetches upcoming earnings calendar for US-listed stocks using the Finnhub API (free-tier), with a default window of the next 3 days (customizable to any date range). 2. Uses Google Gemini AI to automatically format and structure the earnings data into a clean, grouped, and enhanced message, including company names, tickers, quarters, estimated EPS, and revenue (with intelligent scaling for billions/millions). 3. Sends the formatted earnings update directly to your chosen Telegram chat or channel via a Telegram bot. Who Is It For? - Retail and professional investors - Financial influencers and Telegram group admins - Trading desk or community managers - Anyone who wants hands-off, AI-powered earnings alerts for US stocks How to Set Up 1. Get Finnhub API Key: Sign up at https://www.finnhub.io and copy your API key. 2. Connect Google Gemini (or OpenAI) Model: Add your Gemini API credentials in n8n for advanced AI formatting and structuring of earnings updates. 3. Set Up Your Telegram Bot: Create a bot with @BotFather, get your API token, and add it to n8n’s Telegram credentials. Obtain your Telegram chat or group ID (use @RawDataBot for this). 4. Customize Date Range (Optional): By default, the workflow fetches earnings for the next 3 days, but you can adjust it to any custom window (e.g., today to 7 days in the future). 5. Activate the Workflow: Schedule how often you want updates (default: every 3 days; can be as frequent as daily). The workflow will automatically fetch, format, and send the latest US earnings calendar to your Telegram. Key Features - No coding required—fully automated and customizable. - Handles Telegram’s message length limit by default. - AI-enhanced formatting for maximum readability and engagement. - Free to use with Finnhub’s free API tier.

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.