Skip to content

← Back

The bot's Telegram messages: the weekly health check and a ticket-sale alert with dates by membership type.
Active

Rivot

Bot that detects when River Plate announces ticket sales, sends a Telegram alert and adds the sale day to Google Calendar.

Period
since Aug 2026
Last activity
Dec 2026
Technologies
  • Python
Services
  • GitHub Actions
  • Supabase
  • Telegram
  • Make.com
  • Google Calendar
  • Anthropic API

Original idea

A bot that alerts me as soon as River announces ticket sales for a match, so I don't miss the sale.

Outcome

It watches two independent sources from the club's public API, ticket news and scheduled sales, because neither always comes first (one sale opened 56 hours before its news post). Both go through the same duplicate check; the alert goes out on Telegram and the event is created in Google Calendar. It is built not to fail silently: error alerts, a weekly heartbeat and a fallback when the LLM doesn't respond.

Timeline

  1. Fix

    An alert went undetected for 10 hours → GitHub was cutting the cron to 2 of 30 daily runs → a pg_cron job in Supabase triggers the check through the API.

  2. Fix

    Duplicate Telegram alerts → retrying after a ReadTimeout resent a message that had already arrived → no retry in that case.

  3. Milestone

    Guests on the calendar event, with an email invitation.

  4. Fix

    False "news edited" alerts → a network error left the body empty and its hash no longer matched → an empty body no longer counts as a change.

  5. Milestone

    First version: two triggers (news and ticket sales), duplicate control, Telegram alert and Google Calendar event.