Back to Templates
See llms.txt for all machine-readable content.
Youtube Video: https://youtu.be/QyIalCCy6s8?si=Zlmde_oZz3qbDGwJ
Github Repo: https://github.com/blankarrayy/automated-gym-checkin-system
This workflow handles gym entry via QR codes by validating check-in requests against Supabase subscription data, logging entry attempts in Supabase, it also generates QR codes for check-in and registration and syncs new user IDs to Google Sheets.
/gymcheckin webhook with header authentication and an entry_id query parameter.entry_id in the Supabase entry_logs table to detect whether the QR code was already used.entry_id is unused, extracts the user ID from the request body and fetches subscription records from the Supabase gym_sub table.entry_logs table./qr-for-gym-checkin webhook, generates a new check-in QR code (pointing to the /gymcheckin URL with a random entry_id) and returns it as a binary image./qr-for-new-account-registration webhook, generates a registration QR code and returns it as a binary image, and on the /account-creation webhook it updates Supabase user subscription data and appends/updates the user ID and name in Google Sheets.gym_sub and entry_logs tables (and fields like entry_id, user_id, is_subscribed, and name) match the workflow’s queries and inserts./account-creation.