DEV Community

Sirwan Afifi
Sirwan Afifi

Posted on Edited on Fully Autonomous

I Built a Grok Bot That Rewards Workouts With Pizza

Pizza is what I look forward to after my third gym day of the week. I connected Grok Bot to my Hevy workout log to see if I could automate the steps between saving a workout and getting my usual order ready.

The rule is simple. A workout day counts if I log at least 30 minutes, and I need three separate days in the same week. Once I hit three, Grok Bot can build my usual Domino’s basket in Uber Eats, with a £20 limit including fees. I still review the basket and make the final call at checkout.

I tested it in two ways. I replayed a sample week to see what happened on day three, then saved a real workout in Hevy to check that Grok Bot picked it up. The demo shows both tests.

Where would you put the approval step in an automation that can spend money?

This DEV write-up was prepared with AI from my video and its description.

Top comments (0)