A Slack bot that handles all boba business within Botpress, built using the ADK. It lists stores and their menus, manages boba day votes, and notes down orders (someone will still have to place the order manually on the delivery app of their choice).
Important: you must mention the bot at the beginning of each command.
Example prompt:
What are the available stores?
Example prompt:
What is the menu for [store]?
The bot replies with the store's menu URL.
Example prompt:
Start a vote for boba day at [store] with [#] min buyers and a time limit of [time].
The bot generates a message that people can react to if they are interested in ordering.
- If the message gets
min buyers - 1reactions (since the person who started the vote is included by default) withintime limit, the vote succeeds and the bot proceeds to taking orders.
Example prompt:
Order [qty] [drink name] with [desc (e.g., less ice, half sugar, toppings)]
- The users who opted in have
configuration.orderTime (default = 30 minutes)to place their orders. - The bot provides a confirmation number for each order, which can be viewed or cancelled before the time limit.
Example prompt:
Cancel order [#]orView order [#]orView all my orders - After the time limit has passed, the bot mentions the user who originally initiated the order with the full order list and anyone who opted in but didn't submit an order.
- Store names and menu URLs are stored in a table that can only be updated manually.
- When asked for a menu, the bot looks up the store and replies with its menu URL.
- Orders are stored in a table and tracked for the duration of the ordering session.
- Each order stores the drink name as a free-form string extracted from the user's message.
The bot does not support back-and-forth conversations that hold context but rather single commands.