Help Center

Setup Twilio Sandbox

You can setup a Twilio sandbox and use it to test Ordbot. You can setup a sandbox by following the below steps.

1. Sign Up for Twilio

Create a new Account on twilio by clicking on this link.

You will be required to confirm your email-id and phone number.

After verifying your email-id and phone number you will be shown a welcome form. You can answer the form as following.

Which Twilio product are you here to use?
What do you plan to build with Twilio?
IVR & Bots
How do you want to build with Twilio?
With no code at all
What is your goal today?
3rd party integrations

2. Activate Sandbox

Once your Twilio account is created, you can click on this link to activate your Twilio Sandbox.

3. Configure Restaurant in OrdBot

Copy the Account SID and Auth Token from the Twilio Console Page.
Paste them in your Restaurant Settings page in OrdBot and save it.

4. Configure Sandbox

Copy the Webhook URL of the Restaurant you setup in Ordbot by going to the Restaurants Settings page in Ordbot.
Paste the Webhook url in the "WHEN A MESSAGE COMES IN" input in Twilio Sandbox Page and click Save at the bottom of the page.

5. Test the integration

On the Twilio Sandbox Page you can find your sandbox number and joining instructions.

After joining the sandbox you can send a WhatsApp message to the sandbox number and it will respond with the restaurant's menu that you have setup.

You can place an order via the menu and see it in the Ordbot orders page. Updating the order status in Ordbot will send update notifications to your phone.