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

Go to block cards

Buttons can be used to navigate the user from one block to another, however, the user has to push the button to enable navigation. However, there may be circumstances where the navigation needs to happen automatically. For instance, if the chatbot is giving the user step-by-step instructions on how to do something, it can be built by putting all the cards (one step of information per card) in one block. However, it might be a good idea to put them in different blocks for the sake of modularity. In such a case, we need to provide the user a next step button to move on to the next step.

In Chatfuel, we can use the Go to Block card to address this problem. A Go to Block card can be placed at the end of any block to take the chatbot to another block. Once the chatbot executes all the cards in a block, it moves to another block automatically without any user intervention. Using Go to Block cards, we can build the chatbot in a modular fashion. To add a Go to Block card at the end of a block, choose ADD A CARD, click the + icon and choose Go to Block card. Fill in the block name for redirection:

Redirections can also be made random and conditional. By choosing the random option, we can make the chatbot choose one of the mentioned blocks randomly. This adds a bit of uncertainty to the conversation. However, this needs to be used very carefully because the context of the conversation may get tricky to maintain. 

Conditional redirections can be done if there is a need to check the context before the redirection is done. Let's revisit this option after we discuss context.

主站蜘蛛池模板: 惠东县| 西林县| 金沙县| 高尔夫| 贵定县| 灌阳县| 滨海县| 林周县| 丹凤县| 晋宁县| 蒲城县| 蒙阴县| 双桥区| 马公市| 龙江县| 盈江县| 谷城县| 徐汇区| 凤凰县| 彩票| 凭祥市| 安国市| 封开县| 图木舒克市| 桂平市| 布拖县| 额敏县| 宁波市| 监利县| 志丹县| 南木林县| 吉林省| 肇源县| 沈阳市| 万荣县| 牙克石市| 丰县| 巴彦淖尔市| 滦平县| 榆树市| 宝兴县|