Skip to content

Daily

Post daily signup numbers to Teams and Telegram

Every morning, yesterday's signup figures appear in your Teams channel and your Telegram chat, with a one-line comment on the trend.

Runs
Daily
Apps
Microsoft Teams, Telegram
AI
Optional
Access
Teams ChannelMessage.Send; Telegram bot

Send this to your assistant

Create a ClickRuntime automation: each morning at 9am, get yesterday's signup numbers from our stats endpoint and post a short summary to our Teams channel and to my Telegram.

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 small software company tracks signups as its main growth number. The founders check a dashboard when they remember, the rest of the team rarely does, and a bad day can go unnoticed until the weekly meeting. Half the team lives in Microsoft Teams at work, while the founders want the figure on their phones.

Posting the same short summary to both places each morning puts the number in front of everyone without anyone opening a dashboard. Startups, product teams and small online businesses use it for signups, orders, or any figure the whole team should see daily.

What you get out of it

  • Everyone sees the same number

    The team in Teams and the founders in Telegram read identical figures at the same time. Conversations start from shared facts, not from who checked the dashboard last.

  • Problems are noticed the next morning

    A sudden drop in signups is visible the day after it happens. That is often enough to catch a broken form or a failed campaign before it costs a week.

  • No dashboard to remember to open

    The figure arrives where people already are. Keeping an eye on growth becomes part of the morning routine rather than an extra task.

  • A comment that puts the number in context

    Alongside the raw figure, a short line compares it with the previous days. A number with context is easier to act on than a number alone.

How it works

What happens, step by step

  1. Every morning at 9am, ClickRuntime asks your stats source for yesterday's signup figures.

  2. It compares them with the previous days and, if AI is available, adds a one-line comment on the trend.

  3. The summary is posted to your chosen Microsoft Teams channel.

  4. The same summary is sent to your Telegram chat.

Before it runs live

  • Connect Microsoft Teams
  • Connect Telegram

What you get

RunsDaily
Post daily signup numbers to Teams and Telegramtoday, 9:00Succeeded
Teams · #growthSignups yesterday: 142 (7-day average 118). The highest day this week, likely helped by the Contoso partner newsletter.

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

  • Run it at a different time, more or less often, or only on weekdays
  • 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 Microsoft Teams 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.
daily_metrics_or_alert_broadcast_to_teams_and_telegram.pyexample
from clickruntime import on_trigger, credentials, http, ai, log

STATS_URL = "https://app.example.com/api/stats/signups?days=8"
TEAM_ID, CHANNEL_ID, CHAT_ID = "your-team-id", "your-channel-id", "your-chat-id"

@on_trigger
def run(event):
    days = http.get(STATS_URL, headers={"Authorization": f"Bearer {credentials.secret('STATS_API_KEY')}"}).json()["days"]
    y, avg = days[-1]["signups"], sum(d["signups"] for d in days[:-1]) / max(len(days) - 1, 1)
    text = f"Signups yesterday: {y} (7-day average {avg:.0f})"
    try:
        text += "\n" + ai.generate(f"In one short sentence, comment on this trend: {[d['signups'] for d in days]}", max_output_tokens=60).text.strip()
    except ai.AIError as e:
        log.warning("AI comment skipped", {"code": e.code})
    http.post(f"https://graph.microsoft.com/v1.0/teams/{TEAM_ID}/channels/{CHANNEL_ID}/messages",
              headers={"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}"},
              json={"body": {"content": text.replace("\n", "<br>"), "contentType": "html"}}).raise_for_status()
    http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage",
              json={"chat_id": CHAT_ID, "text": text}).raise_for_status()
    return {"signups": y}

FAQ

Common questions

Where do the numbers come from?
From any source that can return figures over the web, such as your own app's stats address, a database reporting tool or an analytics service. The script asks that source for yesterday's totals.
Can it send alerts as well as the daily summary?
Yes. The same two channels can be used for urgent alerts, such as a failed payment run, posted the moment your system reports them instead of waiting for the morning.
Can I add more figures than signups?
Yes. Revenue, trials, cancellations or active users can be added to the same message, as long as your data source returns them.
What permissions does it need?
Teams ChannelMessage.Send; Telegram bot. Nothing else in your accounts is used.
Does it need AI?
No, but you can ask for an AI step (for example a summary). It then uses ClickRuntime's built-in AI allowance.
How many runs does it use?
One run each time it runs (daily). Checks that find nothing to do and stop right away aren't counted.
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 “Post daily signup numbers to Teams and Telegram” from your assistant

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