官术网_书友最值得收藏!

Next steps

Now that we have brushed up on the basics, let's start building our bot: 

  1. On the welcome block, click the default text and edit it.  Hovering the mouse around the block can reveal options such as deleting the card, rearranging the order of the cards, and adding new cards between existing cards. Delete the Main menu button:
  1. Add a Text card. Let's add a follow-up text card and ask the user a question. 
  2. Add buttons for user responses. Click ADD BUTTON and type in the name of the button. Ignore block names for now. Since they are incomplete, they will appear in red. Remember, you can add up to three buttons to a text card:
  1. Button responses need to be tied to blocks so that when users hit a button the chatbot would know what to do or say. Let's add a few blocks. To add a new block, click ADD BLOCK in the Bot Structure tab. This creates a new untitled block. On the right side, fill in the name of the block. Repeat the same for each block you want to build:
  1. Now, go back to the buttons and specify block names to connect to. Click the button, choose Blocks, and provide the name of the block:
  1. For each block, you created, add content by adding appropriate cards. Remember, each block can have more than one card. Each card will appear as a response, one after another:

Repeat the preceding steps to add more blocks and connect them to buttons of other blocks. When you are done, you can test it by clicking the TEST THIS CHATBOT button in the top-right corner of the editor. You should now see the new welcome message with buttons for responses. Go on and click one of them to have a conversation:

Great! You now have a bot with a conversational flow. 

主站蜘蛛池模板: 昌黎县| 定襄县| 弥渡县| 清水河县| 应城市| 罗定市| 隆安县| 磐石市| 长治市| 东宁县| 古交市| 通辽市| 河东区| 班戈县| 文登市| 吴忠市| 泸水县| 彰化县| 天全县| 肥乡县| 罗田县| 咸阳市| 新野县| 绥芬河市| 建阳市| 洛南县| 修武县| 阜新| 泌阳县| 西乌珠穆沁旗| 托克托县| 夹江县| 德州市| 三台县| 三穗县| 龙江县| 栖霞市| 德庆县| 饶平县| 合江县| 革吉县|