Flow Editor gives you a bird's-eye view of the whole interaction, you can set up conversation blocks and connect them together. Sometimes you wonder about the priority order of block appearance between Global Triggers & Training and Connectors Trigger. This article will help you clarify the issue above. Let's see how different the conversational flow turns out in two cases.
Priority on Connector Triggers' Conditions
How bot handles the user's input when connector trigger is prioritized
By default, when the user interacts with a block in which the option "Capture User Response" is activated, the next connected block will be summoned. You can check the
Outgoing Connections panel to see the priority order of block appearance.
Try setting up a Global Triggers (When user's response contains "admin") on Block Admin. It means whenever the user's response contains the word "admin", Block Admin will be summoned.
Let's preview! The bot should have gone through the Block Admin because we have entered the answer containing admin.
However, you prioritized Connector Triggers over Global Trigger & Training on Block Opening. Meanwhile, the condition of the connector between Block Opening and Block Detail is empty. Thus, the conversational flow of your chatbot will check the conditions on Block Detail before calling Block Admin.
Note: In case you set the condition of the connector between Block Opening and Block Detail, the bot will check this condition first. If this condition is true, the bot will go through Block Detail.
Priority on Global Triggers
How bot handles the user's input when the global trigger is prioritized
In order to give priority to Global Trigger & Training when bot finds the next block for Block Opening, put card named Global Triggers & Training above Connectors Trigger in
Outgoing Connections panel.
Meanwhile, set up the Global Triggers (When user's response contains "admin") on Block Admin.
As a result, the conversational flow of your chatbot will check Block Admin first because we have set up the Global Triggers for it and prioritize over the Global Trigger.