← back
A WhatsApp chatbot that lets users validate a location by typing a Brazilian ZIP code (CEP)
This small project is a chatbot MVP you can use as a starting point for your own projects. The structure is flexible, so you can build your own menus and their interactions on top of it. I use the State pattern to manage chat states (menus) and the Strategy pattern to send content.
Features
- CEP API integration
- Users enter a CEP and get the address details to confirm the location
- Navigation menus (State pattern under the hood)
- Strategy pattern for dynamic content delivery
- Sends the bot's login QR code by email