Ordering takeaway food from a seller menu

Submission for the Challenge Wayscript Challenge

Wayscript Bot API Design

Sunny Lim

Sunny Lim Winner I've got the prize


Dabao is a local Singapore for food takeaway.

When seller registers business via the Telegram chatbot, a presence in created on SGiDabao and a blank food menu is created on Trello under the registered business name. Verification email is triggered and 1 step (manual) action to add a price custom field makes the board ready for menu setup. Once completed the business use a command to change the status from “Starting Up” to “Open”. A change to “Close” status indicates that business is not taking orders for the time being.

Orders are placed through another Telegram chatbot. User is guided through a series of steps using Telegram conversation to order food. When finished bot the user and business gets a confirmation and a order is created in SGiOrders (more work is needed here) which would facilitate the fulfilment process including use of SGiSend.

Wayscript handles all the scripts for the initial setup of Telegram webhooks and Trello board variables, notification of registration and changes to the boards, making global variables available throughout, implementing of common python subprograms....etc.