03 / PRACTICAL AUTOMATION
I was copying my solved problem links into our daily training group. Every day.
I got tired of doing it. So I made a bot do it.
A bot that cronjob.org triggers on schedule, checks the LeetCode GraphQL endpoint for accepted submissions, and posts them directly to our Discord server. I set it up once, and haven't had to touch it since.
Polling: Queries LeetCode GraphQL recentAcSubmissionList
Verification: Checks submission timestamp against daily IST window
Dispatch: Formats difficulty stats and fires webhook payload
Schedule: Triggered on schedule via cronjob.org