Skip to content

Daily

Post team birthday greetings in Slack and Telegram

On each teammate's birthday, a greeting is posted in your Slack and Telegram channels in the morning.

Runs
Daily
Apps
Slack, Telegram
AI
Optional
Access
Telegram bot token; Slack chat:write

Send this to your assistant

Create a ClickRuntime automation: every morning, post a happy-birthday message in Slack and Telegram for anyone on my team whose birthday is today.

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 team of twenty spread across offices and remote locations wants to mark birthdays, but nobody owns the list. Some birthdays get a big thread, others pass without a word because the person who usually remembers was on holiday. People notice when theirs is the one that was forgotten.

This automation keeps the list and posts a greeting each morning for anyone whose birthday it is, in both the Slack workspace and the Telegram group. Every person gets the same attention, and colleagues can join in from there.

What you get out of it

  • Nobody is forgotten

    Every birthday on the list gets a greeting, whether or not the usual organiser is around. It is a small thing that people remember.

  • Colleagues can join in

    The greeting starts a thread or reply chain where others can add their wishes. It brings remote and office staff together for a moment.

  • A different message each year

    AI can write a short, warm greeting so the posts do not read as a copied template. If you prefer, a fixed message is used instead.

  • Reaches both groups

    Teams split between Slack and Telegram, such as staff and contractors, all see the same greeting. Nobody is left out because of the app they use.

How it works

What happens, step by step

  1. Every morning, ClickRuntime checks today's date against your team's birthday list.

  2. If nobody has a birthday today, nothing is posted.

  3. For each birthday, AI writes a short, warm greeting, or a standard message is used.

  4. The greeting is posted to your Slack channel and your Telegram group.

Before it runs live

  • Connect Slack, then invite the app to the channel (type /invite @ClickRuntime there)
  • Connect Telegram

What you get

RunsDaily
Post team birthday greetings in Slack and Telegramtoday, 9:00Succeeded
Slack · #generalHappy birthday, Lee! Thanks for keeping the Contoso launch on track this year. Have a great day.

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 Google Sheets
  • Combine it with other Slack 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.
birthday_greetings.pyexample
from datetime import date
from clickruntime import on_trigger, credentials, http, ai, notify, log

BIRTHDAYS = {"03-14": ["Priya"], "07-02": ["Sam"], "10-19": ["Lee"]}
TELEGRAM_CHAT_ID = "your-telegram-chat-id"

@on_trigger
def run(event):
    names = BIRTHDAYS.get(date.today().strftime("%m-%d"), [])
    for name in names:
        try:
            text = ai.generate(f"Write a one-line happy birthday message for our teammate {name}. Warm, no cliches.",
                               max_output_tokens=60).text.strip()
        except ai.AIError as e:
            log.info("Using standard greeting", {"code": e.code})
            text = f"Happy birthday, {name}! Have a great day from all of us."
        notify.slack(text, channel="#general")
        http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage",
                  json={"chat_id": TELEGRAM_CHAT_ID, "text": text})
    return {"greeted": names}

FAQ

Common questions

Where is the birthday list kept?
In a simple list of names and dates that you set up once and edit whenever someone joins or leaves. Only the month and day are needed, never the year.
What time is the greeting posted?
At the morning time you choose in your team's time zone, such as 9:00. Weekend birthdays can be posted on the day or moved to Friday.
Can someone opt out?
Yes. Leave them off the list and no message is posted for them. Some people prefer a quiet birthday, and the list makes that easy to respect.
What permissions does it need?
Telegram bot token; Slack chat:write. 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 team birthday greetings in Slack and Telegram” from your assistant

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