fbsamples/whatsapp-business-jaspers-market — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a demo WhatsApp Business bot for a fictional grocery store called Jasper’s Market. I want it to feel like a real customer chat where someone can message the business, get a friendly welcome, move through a few guided shopping style replies, receive approved template messages when needed, and have a clear path to switch from automation to live support. Keep it simple and runnable locally with a webhook server, environment variables for the Meta app secrets and tokens, and basic conversation state so the flow does not get lost between messages.

Please make it easy for me to set up with a sample env file, clear steps for connecting my Meta app and WhatsApp account, and instructions for testing through a local tunnel. If the sample needs message templates or Redis for session storage, include that setup too. I’d like the code to be straightforward JavaScript, start with one command, and expose the webhook endpoint needed for WhatsApp. Look up current Meta docs online if you need to.

Want more depth? Deep Reverse