Skip to content

The moment it happens

Get a stock research summary from Telegram

Send a ticker to your bot and get a short research summary built from current price data and recent news about the company.

Runs
The moment it happens
Apps
SerpApi, Telegram
AI
Yes, uses the built-in AI allowance
Access
SerpApi key; bot token

Send this to your assistant

Create a ClickRuntime automation: when I send a stock ticker to my Telegram bot, pull its finance data and recent news with SerpApi, summarise it with AI in a value-investing style, and reply with the report.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A part-time investor follows a watchlist of companies and wants a quick view before deciding whether to look deeper: the current price and range, valuation figures, and what has been in the news. Getting that means opening a finance site, a news search and a notes app, and the routine gets skipped on busy weeks.

This bot puts the routine in one message. Send a ticker such as "NWND", and it pulls the Google Finance summary and recent news through SerpApi. AI writes a short report covering price, key figures and the news, framed around fundamentals, and the bot replies in Telegram. It is research to read, not a recommendation.

What you get out of it

  • A consistent first look

    Every report covers the same points in the same order. That makes it easier to compare companies and notice what has changed since you last looked.

  • Price and news together

    Numbers without news miss the reason behind a move, and news without numbers misses the scale. The report puts both side by side.

  • Fits into a few spare minutes

    A ticker sent from your phone gives a readable summary straight away. Research that used to wait for the weekend can happen in a coffee break.

  • Clear about what it is

    The report is a summary of public information, not advice. It is labelled that way, so it supports your own judgement rather than replacing it.

How it works

What happens, step by step

  1. When you send a ticker to your Telegram bot, ClickRuntime looks it up on Google Finance through SerpApi for price and key figures.

  2. It also searches Google News for recent articles about the company.

  3. AI writes a short report covering price, valuation figures and the news, labelled as information rather than advice.

  4. The report is sent back to you in the same chat.

Before it runs live

  • Connect SerpApi
  • Connect Telegram
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Get a stock research summary from Telegramjust nowSucceeded
Telegram · Stock researchNWND trades at $42.10, P/E 14. Recent news: Northwind Foods raised full-year guidance. Information only, not advice.

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other SerpApi and Telegram steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
stock_analysis_on_request.pyexample
from clickruntime import on_event, credentials, http, ai

@on_event
def handle(event):
    msg = (event.json or {}).get("message") or {}
    ticker = msg.get("text", "").strip().upper()
    if not ticker:
        return {"ignored": True}
    key = credentials.secret("SERPAPI_API_KEY")
    fin = http.get("https://serpapi.com/search", params={"engine": "google_finance", "q": ticker, "api_key": key}).json()
    summary = fin.get("summary", {})
    stats = "; ".join(f"{s.get('label')}: {s.get('value')}" for s in fin.get("knowledge_graph", {}).get("key_stats", {}).get("stats", []))
    news = http.get("https://serpapi.com/search", params={"engine": "google", "q": f"{summary.get('title', ticker)} stock", "tbm": "nws", "api_key": key}).json()
    headlines = "\n".join(f"- {n['title']} ({n.get('date', '')})" for n in news.get("news_results", [])[:6])
    report = ai.generate(f"{ticker}: price {summary.get('price')} {summary.get('currency', '')}\nStats: {stats}\nNews:\n{headlines}",
                         system="Write a short value-investing style research summary: business, valuation, recent news, open questions. End with 'Information only, not advice.'",
                         max_output_tokens=600).text
    http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage", json={"chat_id": msg["chat"]["id"], "text": report})
    return {"ticker": ticker}

FAQ

Common questions

Which markets does it cover?
Any listing Google Finance covers, which includes major US, European and Asian exchanges. Add the exchange if a ticker is ambiguous, such as "NWND:LON".
Is this investment advice?
No. It summarises public price data and news. Decisions about buying or selling stay with you and, if you want one, a licensed adviser.
How current is the data?
It uses the figures Google Finance shows at the time you ask, which may be delayed by a few minutes, and news from the last few days.
What permissions does it need?
SerpApi key; bot token. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run for each event the app sends.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Get a stock research summary from Telegram” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.