GoalPulse AI: The Ultra-Passionate World Cup WhatsApp Companion Built with PHP & Google AI A developer built GoalPulse AI, an automated WhatsApp football companion using PHP, Meta Graph API, and Google AI (Gemini). The bot generates passionate, emotionally charged responses to live match updates, acting as a die-hard commentator and tactical analyst. The system integrates a PHP webhook validator, state-machine router, and Gemini API to deliver high-energy replies. This is a submission for the DEV Weekend Challenge: Passion Edition What I Built Football or soccer isn’t just a gameβ€”it’s an all-consuming passion, a global heartbeat, and sometimes, a rollercoaster of heartbreak and ecstasy. With the World Cup fervor taking over stadiums, living rooms, and streets worldwide, fans need a space to channel their adrenaline. I built GoalPulse AI, an automated WhatsApp football companion powered by PHP, Meta Graph API, and Google AI Gemini . Instead of a robotic, dry auto-responder, GoalPulse AI acts as a die-hard, ultra-passionate match commentator and tactical analyst right in your WhatsApp chat. Whenever a fan texts a live match update, expresses frustration over a missed penalty, or asks for tactical insights, GoalPulse AI dynamically generates high-energy, emotionally charged responses that match the intense spirit of the tournament. Demo Imagine texting your bot during a tense penalty shootout. Here is how GoalPulse AI responds in real-time on WhatsApp: Fan: "I can't believe we just missed that penalty in the 89th minute My heart is broken " GoalPulse AI ⚽πŸ”₯: "ARE YOU KIDDING ME? THAT WAS THE MOMENT πŸ˜­πŸ’” To hit the crossbar in the 89th minute when glory was staring us right in the face? But listen to meβ€”WE DO NOT DROP OUR HEADS This is the World Cup We still have extra time Keep believing, scream louder from the living room, and let's push the boys over the line WHAT A MATCH πŸ”₯⚽πŸ’ͺ" Since this is a backend Webhook system, the magic happens silently on the server, transforming raw incoming webhooks into passionate AI-generated broadcasts in milliseconds Code The core of this system merges a PHP Webhook signature validator, a state-machine router, and the Google Gemini API to inject raw human passion into automated replies. Here is the lightweight PHP integration that supercharges incoming WhatsApp leads with Google AI: PHP