Branch

  1. The Branch component enables the incorporation of branching logic into your flow. You can picture branches like if/else condition. Based on the conditions, the execution branches into different workflows.
  2. The Branch component splits a workflow by checking a variable against different values. Depending on what it finds, the workflow goes in different directions.
  3. Organisations will be able to use the inputs received to create an efficient branching strategy in Flow. You can compare a variable with a set of defined values. There can be different workflows defined for each such condition.
  4. Ex: Using the Branch component, customers from various countries can be directed to different queues based on their country code.
  5. As per the above example, when an incoming WhatsApp message is received, the Branch component is triggered. It will validate the following: 

    • If {{start.message.from}} starts with +1, then the Queue and Route_2 component is triggered and the conversation will be assigned to the available agent/s of that queue.
    • If {{start.message.from}} starts with +91, then the Queue and Route_3 component is triggered and the conversation will be assigned to the available agent/s of that queue.
Was this article helpful?
0 out of 0 found this helpful
Didn’t find what you are looking for? Create new ticket