On a schedule
Send birthday greetings on Telegram and Teams
On each person's birthday a greeting goes out on Telegram and is posted in your Teams channel, without you having to remember.
- Runs
- On a schedule
- Apps
- Microsoft Teams, Telegram
- AI
- Not needed
- Access
- Teams ChatMessage.Send; Telegram bot
Send this to your assistant
Create a ClickRuntime automation: every morning at 8, check my birthday list and send a greeting on Telegram and post one in our Teams channel for anyone whose birthday is today.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A team lead wants to mark birthdays for a remote team and a few close clients, but they live in a list she only remembers to check after the day has passed. Late wishes feel worse than none.
A morning check that sends the greeting on the right day means nobody is missed. The team sees the message in Teams and can add their own wishes.
What you get out of it
Nobody is forgotten
Greetings go out on the day itself. You keep the habit without relying on memory.
The team joins in
A post in the Teams channel prompts others to add their wishes. Small moments like this help remote teams feel connected.
Personal contacts on Telegram
Friends or clients who use Telegram get a direct message. One list covers both work and personal greetings.
A list that is easy to keep up
Adding a new colleague means adding one line. There is no calendar full of recurring birthday events to manage.
How it works
What happens, step by step
Every morning at 8, ClickRuntime checks your birthday list for today's date.
If nobody has a birthday today, it stops there.
For each birthday, it sends a greeting on Telegram to that person or chat.
It also posts a birthday message in your Teams channel so the team can join in.
Before it runs live
- Connect Microsoft Teams
- Connect Telegram
What you get
Build your own
Need it to work differently?
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
- Add an AI step, for example to summarize, sort or draft a reply
- 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
from datetime import date
from clickruntime import on_trigger, credentials, http, state
TEAM_ID, CHANNEL_ID = "your-team-id", "your-channel-id"
@on_trigger
def run(event):
today = date.today().strftime("%m-%d")
people = [p for p in state.get("birthdays") or [] if p["date"][-5:] == today]
if not people:
return {"greeted": 0}
tg = f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage"
graph = {"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}"}
for p in people:
text = p.get("message") or f"Happy birthday, {p['name']}! Wishing you a great year ahead."
if p.get("telegram_chat_id"):
http.post(tg, json={"chat_id": p["telegram_chat_id"], "text": text})
http.post(f"https://graph.microsoft.com/v1.0/teams/{TEAM_ID}/channels/{CHANNEL_ID}/messages", headers=graph,
json={"body": {"content": f"🎂 It's {p['name']}'s birthday today!"}})
return {"greeted": len(people)}FAQ
Common questions
Where is the birthday list kept?
Can I write a different message for each person?
What about birthdays on weekends?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
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.
See how it worksPost new articles from a feed to Teams and Telegram
Each new article in your feed is posted with a short summary to your Teams channel and your Telegram channel.
See how it worksKnow the moment your website goes down
Your team hears in Slack when the site stops responding or slows down, and again when it's back.
See how it worksKeep exploring
Set up “Send birthday greetings on Telegram and Teams” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.