1st add a Rule
In this example, I'll show you how to create a Rule that will show users a food menu. Click on the New Group button to create a group. You can use Group to organize your rules. Next, we can add a group named MENU Once you have created the MENU group, you can click on the 'Add rule to group' button. Next, we will name the rule 'Show menu'. I'm creating this rule because I expect the users to ask me for a Menu before visiting the restaurant. In this box, you will see that there are 2 steps, Step 1 and Step 2. In Step 1 we will create the Condition for the Menu to appear. In Step 2, we will craft the reply to the user if they ask for the Menu Step 1: For this example, we will add a Keyword condition. We shall set the keyword as "menu". Whenever the chatbot detects the word Menu, it will send the user the Menu that you will set later inStep 2. Step 2: Craft your bot's reply. Here, you have two options, to create a new story or use an existing response. If you will create a new response, you can just click on the red arrow on the top right-hand side of the box. For this example, we will create a new story. So we will click on the red arrow. After, clicking on the red arrow, we will see this page. this is where we will add our Menu. For this example, I'll add a PDF of the menu. To edit the text, click into the grey box and a window will appear on the right. In the window, you can choose your response type and add the response. First, I'll add a text to introduce the menu to the users. The default response type is "text", you can choose other types of responses by clicking on the dropdown menu. We will be using the default response type "text". I'll put in this text: " Hi! Welcome to BD Restaurant, here is the menu." Click Save. Now we will attach the PDF menu so that it will show after the above text is sent. To do this, we will click on the 'add response' button on the window on the left. This time we will select Document as the 'response type'. Upload the document by dragging and dropping it in the box or clicking on the box to select the document. Now we can test to see how it looks like! to test, we can click on the circle widget on the bottom right of the page.
Click on the widget and press "Get Started". You can simply type the keyword "Menu" to trigger the PDF menu or you can type "show me your menu". Any sentence with the word 'menu' in it will trigger the PDF Menu.