How to Use Bot Action

How to Use Bot Action

Action usage

Bot action is used to forward the message to sub bot to achieve re-usability and to build up simple and clear bots. You will need to drag and drop it to your assistant canvas (or simply click on it from actions menu):


Then you will need to choose the sub assistant and its version you want to forward the conversation to, then the connection to the next action after the sub assistant returned to the current assistant.

Behavior

The bot will always stop the flow in the parent bot and continue the flow in the sub bot. Whenever the sub bot reached the end action, it will return to the main bot and the flow will continue there.

Defining a delay for this action will delay the forward process to sub bots concluding delays in processing its actions.

You can go deep as you want in sub bots, but be careful that whenever you want to return to parent bot you should use end action and not bot action again or you may find your bot in loops that never end. So always go deep through bot action, and return back through end action.

    • Related Articles

    • How to Use Integration Action

      Action usage Use the integration action when you want to call an HTTP integration endpoint to achieve some custom business needs. You can process the parameters saved during the life cycle of the assistant, and either only store them out in some ...
    • How to Use Selection Action

      Action usage Selection action is used to send a bot selection message to the user. The selection may be through cards, buttons, or keywords by mapping the user response to one of them. You can choose optionally a name for your Selection action, and ...
    • How to Use Zapier Action

      Action usage Zapier action is used when you want to integrate MindBehind with other famous platforms onlinei thanks to Zapier wide market. This action will send the current assistant state to Zapier for any custom further actions you want to do with ...
    • How to Use Wait for Action

      Action usage Use the wait for action when you want to control the assistant behavior from your outside system. The story begins by drag and dropping (Or simply clicking on) the Wait for action from the Actions menu on the left side of your assistant ...
    • How to Use E-Commerce Action

      First of all, to use this action you need to integrate your store to MindBehind. If you haven't done that yet, please check the integrations section under company settings and if you need any further help, please check our article about e-commerce ...