On a schedule
Post a daily poll in a Telegram group
Each weekday at 9:00 your bot posts the same poll to your Telegram group, after closing yesterday's and posting its results.
- Runs
- On a schedule
- Apps
- Telegram
- AI
- Optional
- Access
- bot token (bot in the group)
Send this to your assistant
Create a ClickRuntime automation: every weekday at 9:00, close yesterday's poll in my team's Telegram group and post its results, then post today's poll "Where are you working today?" with the options Office, Remote and Off.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Many teams and communities ask the same question every day: who is in the office, who is coming to training, what should we discuss tonight. Someone has to remember to post it, and the results are lost in the scroll.
This automation posts the poll for you at a fixed time and wraps up the previous one with a one-line summary, so the group always sees today's question and yesterday's answer together.
It suits office teams, sports clubs, study groups and channels that run a daily vote or quiz.
What you get out of it
Nobody has to remember
The poll goes out at 9:00 every weekday, even when the usual organiser is away.
Results without scrolling
Yesterday's counts are posted as one line, so people see them without hunting for the old poll.
Closed polls stay closed
Old polls are stopped before the new one is posted, so votes do not land on the wrong day.
Uses Telegram's own polls
Members vote with one tap in the normal Telegram poll format.
Fresh questions if you want them
Rotate a list or let the AI write a new question each day for discussion or quiz groups.
How it works
What happens, step by step
At 9:00 on weekdays, ClickRuntime closes the poll it posted the day before.
It posts a one-line summary of the results to the group.
It posts today's poll with the question and options you chose.
Optionally, your assistant can set it to write a new question each day with ClickRuntime's built-in AI.
Before it runs live
- 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
- 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 Telegram steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_trigger, credentials, http, state
GROUP = -1001234567890
QUESTION, OPTIONS = "Where are you working today?", ["Office", "Remote", "Off"]
def tg(method, **params):
r = http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/{method}", json=params)
r.raise_for_status()
return r.json()["result"]
@on_trigger
def run(event):
last = state.get("last_poll")
if last:
try:
poll = tg("stopPoll", chat_id=GROUP, message_id=last)
summary = " · ".join(f"{o['text']} {o['voter_count']}" for o in poll["options"])
tg("sendMessage", chat_id=GROUP, text=f"Yesterday: {summary}")
except Exception:
pass # poll was deleted or already closed
msg = tg("sendPoll", chat_id=GROUP, question=QUESTION, options=[{"text": o} for o in OPTIONS], is_anonymous=False)
state.set("last_poll", msg["message_id"])
return {"poll": msg["message_id"]}
FAQ
Common questions
Are votes anonymous?
Can the question change each day?
Can it post a quiz with a correct answer?
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
Get crypto price alerts on Telegram
Your phone buzzes when a coin makes a big move, not every time it ticks.
See how it worksGet a daily reminder on Telegram
The same nudge reaches your phone every morning, on time.
See how it worksGet told when your site changes or goes down
Telegram tells you when a page's content changes or your site stops responding.
See how it worksKeep exploring
Set up “Post a daily poll in a Telegram group” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.