Restaurant
Template overview
This chatbot template can be adapted for your own restaurant. With this bot, your users can see the latest menu, order food online for delivery or pick-up, and book a table.
Keep reading to learn how you can customise this template for yourself!
How to customise this template
To manage orders and reservations, this chatbot uses Airtable. If you also plan to use Airtable for this you'll need an Airtable account and base, and connect to it in the Action dialogs where the bot makes the API calls.
Already tracking orders and bookings with another service? You can link any type of CRM or order management software to this bot, as long as it has an API. Read more about our API integrations here.
Below is an overview of all dialogs you need to edit to customise this template for your own restaurant.
Let's get started!
Flow: General
Dialog: Introduction
In the Introduction dialog, replace the image with that of your own restaurant. You can also delete it if you prefer. In the text, make sure to change The Taco Shop and Sal with the names of your own restaurant and bot.
Flow: See the menu
Dialog: Show menu
Change the image of the taco menu in this dialog to an image of your own restaurant’s menu.
You can use Canva to create a free menu and any other visuals needed.
Flow: Book a table
This flow allows users to make a reservation at your restaurant. The bot will first ask the user on what date they want to make a reservation, and for how many people, and then look up the availabilities for that day in an external database. It then shows these options to the user.
Dialog: Search availability in Airtable
This Action dialog will look up available reservation times in an external database. By default, this bot will look up the available time slots in an Airtable base, using the Search Record function of Chatlayer’s Airtable integration.
You can connect your own database or order management system to this bot, as long as this software can make an API call. Read more about these type of integrations here.
You will need to customise this dialog by connecting it to your own Airtable account and your own Airtable base. However, when you just imported the Restaurant template, it will be linked to this Airtable.
Feel free to use this as an example for testing but make sure to replace it with your own base once you start using the bot for your restaurant!
If you do not yet have an Airtable account set up yet, you can do so by clicking Connect new account and following the steps in the pop-up window. For this you will need your Airtable API key, which you can find on your Airtable account page.
Like the template Airtable base, your own base should have a table with columns for reservation date, reservation time name, user email, special menu and number of people.
In the Base field, replace the example ID with the ID of your own Airtable base. In the Table field replace the example ID with the ID or name of the table in your own Airtable base where your reservations data is stored. You can find your Airtable's base and table IDs here.
The Search field is the name of the field (column) in Airtable that we want to search in. In this case, that is the column with possible reservation dates. Search value is the value that will be searched for in that field, in this case the date the user said they want a reservation.
Dialog: Send reservation to Airtable
This Action dialog uses the Update Record functionality to modify the Airtable record of the reservation slot your customer has chosen with their reservation details (name, email, number of people and choice of special menu).
Just like the Search availability in Airtable dialog, you will need to customise this dialog by connecting it to your own Airtable account and your own Airtable base.
Dialog: Send reservation email
This Action dialog sends your customer an email with the confirmation of their reservation. Replace The Taco Shop by your own restaurant’s name and customise the email’s text to your own preference.
Flow: Order online
This flow allows your customers to place an online order. The user will go through several options, step-by-step, choosing between main dishes (tacos in this template), extras, and desserts. After choosing, they will be given an overview of their complete order and the opportunity to make changes if they want. When their order is complete, the user is asked to choose between delivery or pickup, and at what time they want to receive their order. Finally, the user needs to choose a payment method, after which they will receive a confirmation by email.
Dialog: Order tacos
This dialog lets the customer choose main dishes, displayed in a carousel. This enhances the user experience because people like to see what the dish looks like, before deciding if they want it.
Replace all images, titles, and subtitles for each carousel item with the options available at your restaurant. If your restaurant offers more than three menu items, you can add an additional carousel item for every extra menu option needed.
In the button of each carousel item, replace the name_of_taco
variable name with a name for your own restaurant. If your restaurant does not specialise in one food item, you can give this variable a generic name, like for example, main_course
.
Replace the example values from the template (carnitas, al pastor, barbacoa) with the values corresponding to main courses at your restaurant. These variables and their values should correspond to the match entities you define in your bot’s NLP.
Dialog: Already ordered same taco?
This Go-to dialog will check if the user already has the same taco in their order.
In the conditions, replace name_of_taco
with the name of the variable you gave to your main courses in the Order tacos dialog. Replace taco_order_nr_1
, taco_order_nr_2
and taco_order_nr_3
by the name of the variables you define in the dialog Save taco order. Add an additional Go to condition for each main course item you added to the carousel in Order tacos and ad a Go to to a corresponding bot dialog.
Dialog: Number of tacos
Replace name_of_taco
in the text with the menu items variable you defined in Order tacos, and also replace number_of_tacos
with a variable name appropriate to your restaurant.
Dialog: Save taco order
This Go to dialog saves the menu item chosen by the customer to the correct variable. If the customer has not selected any items yet, their choice will be assigned to the first variable. If they already chose one previous item, the item will be stored in a second variable, etc.
You should add an extra Go-to condition for any additional menu items you added to the carousel in the Order tacos dialog. Also replace the names of the variables taco_order_nr_1
-3
and taco_order_nr_1
-3_quantity
by variable names for your restaurant.
Dialog: Extras & Dialog: Dessert
Ordering extras and dessert operates in the same way as ordering tacos. You can customise the dialogs below by applying the same steps as described above for taco ordering:
Order extras
Order dessert
Already ordered same extras/dessert?
Number of extras
Number of dessert
Save extras
Save dessert
Dialog: Show final order
This dialog gives the customer an overview of their final order. Replace the order and order quantity variable names with the ones you defined for your own menu items above.
Dialog: Yes checkout
This dialog gives the customer the option to choose between pick up or delivery for their order.
In case your restaurant does not offer these options, you can change the text of this dialog to a general acknowledgement message and set either the Delivery or Pick-up time dialog as the Go to.
Dialog: Send order to Airtable
This Action dialog will store the customer’s order in an external database. By default, this template is set up to store this information in an Airtable using the Create Record function of Chatlayer’s Airtable integration.
You can connect your own database or order management system to this bot, as long as this software can make an API call. Read more about these type of integrations here.
Just like with the other Airtable integration dialogs, you will need to customise this dialog by connecting it to your own Airtable account and your own Airtable base. The example Airtable the template is linked to by default also contains an orders table.
Your own orders table should contain a field for each menu item and the quantity of each item, as well as fields that specify delivery or pickup, delivery time, pick-up time, and the customer’s phone number and email address.
In the Action dialog, in the left column under Record, we add the names of all fields we want to fill in the new Airtable record, i.e. all menu item options and their quantities, pick-up or delivery details and the customer’s details; in the right column we specify the variables we want to put as values in those fields.
That's it, you've just customised your own Restaurant chatbot! đź‘Ź
Last updated