How to configure a destination block by variable January 20, 2024 02:24 Updated Index: How does output by variable works Key Points Setting a destination block in Blip is defined by the Output/Exit Conditions in Builder. Besides directing the conversation flow to a specific block or to a Default Output block (when none of the conditions is true), it is also possible to perform this action through a variable that contains the block id to which the user must go. In these cases, there will be no visual arrow indicating the destination block, unlike the other options. How does output by variable works First, you have to set a variable. You can do this through a configuration variable (click on the tool icon in the side menu in Builder) or through "execute script" and "set variable" actions (both can be found in the "Actions" section of each block). 2.After setting this variable, fill in the field "value" with the block id (not with the block name) to which the conversation flow will be guided. See how to find the block id in Builder: Then it is possible to use the {{variable}} output both in Output Conditions and Default Output. It will be available at the end of the field "Go to" list through the option "Variable with block id". 4.When choosing "Variable with block id", inform the previously defined variable in the available field. For example: if you have named it as "variavelnumero1", fill in the field with {{variavelnumero1}} (See the following example): Key Points The variable must come in double curly braces: {{whereAmIGoing}} The destination block must exist in the flow. In case the variable searches for a block that does not exist, the flow will present errors. In case of variable with no value, undefined variable and variable containing an inexistant block id, the chatbot will not follow up the conversation flow. In these cases, the user will return to the beginning of the flow and, if he/she is in Blip chat, an error message will be exhibited. That's it! 😀Now you are ready to use this feature. For more information, access the discussion on this subject in our community or the videos in our channel. 😀 Related articles Builder variables How to send WhatsApp notifications through Blip API Blip Copilot Sending WhatsApp Active Messages on Blip Desk Setting up Session Expiration and Timeout