A developer at Temporal built a WhatsApp chatbot for San Francisco Unicorns cricket fans, powered by Gemini for natural language and Temporal Workflows for durable execution. The bot handled match reminders, live score polling, and post-match summaries for 500+ fans. A key incident revealed the bot was serving stale scores due to a misconfigured API quota guard — not a Temporal failure, but a logic bug the author wrote. The post reflects on how durable execution handled retries, restarts, and long-running polls reliably, while also covering WhatsApp platform quirks like the 24-hour messaging window, webhook deduplication, and template message requirements.

14m read timeFrom temporal.io
Post cover image
Table of contents
How it started #What the fans wanted, and why WhatsApp #How it is built #The WhatsApp surprises #The sleepless nights #Launch and the response #Where it lands #
11 Impressions