All work
Entry 03 of 03
Work
Scheduled Notifications
Deliver a recurring digest on the team's schedule
Read the walkthrough
- Set the weekday schedule
- Prepare the daily summary
- Post it to the team chat
Overview
I connect a scheduled Python job to a messaging channel. The job reads the records for the reporting period, prepares one summary and posts it to the selected chat. The example sends a weekday update at 09:00 UTC.
What it covers
- Recurring schedules
- Time zones
- Digest formatting
- Chat delivery
The reporting window
A daily digest needs a clear cut-off. Choosing the time zone and the reporting period together makes it clear which updates belong in today's message.
Schedule a team digest
- Choose the destination chat, delivery time, time zone and reporting window for the digest.
- Write a Python job that reads just that window’s records, formats one summary and posts it with the Telegram Bot API.
- Run it once in a test chat, compare the summary with the source records, and then schedule it with Cron.