Albato
  • Language
    En
    English
    Portuguese
    Spanish
  • Welcome to Albato Help

    How to Set Up Router Tool for Conditional Automation in Albato


    IN THIS ARTICLE

    The Router tool will help you define the conditions under which different scenarios will be triggered within the automation. Its operation is described very simply by the algorithm:

    IF condition → THEN start step A → OTHERWISE start step B

    How to use the tool

    Let's consider the functionality of the tool using an example.

    A company receives orders from an online store on AliExpress. They have different managers, which processes according to the tasks created in HubSpot CRM. One of them is responsible for orders under 10,000 dollars and the other over 10,000 dollars. The Router tool allows building a scenario in which, depending on the value of the order, it is possible to assign them to different managers.

    The condition can also be set based on other order parameters, defined from the trigger.

    How to set up the tool

    Once the automation is created, it is necessary to specify the steps that will work upon the fulfilment of the given condition. Therefore, you need to insert the resource into the data source service.

    Access the automation, click the symbol + just below the trigger and select the Tool option.

    Albato_Router tool_step1.png

    Then look for the Router tool and click the Select button to proceed.

    Albato_Router tool_step 2.png

    Next, we configure the tool itself. We must fill in the fields according to the following directions:

    1. If: Select the value you wanna use as a parameter and establish the conditions that will determine the choice of scenario.
    2. Then: Indicate the step to which the transition will occur if the condition is met.
    3. Otherwise: Indicate the step to which the automation will proceed if the condition is not met.

    Albato_Router tool_step 3.png

    Something important to remember when using the Router tool is that we must define a step to break and separate the two different parts of your automation.

    This will let the automation know when to stop or when to continue. Without the configuration to stop it, the automation would go through all the steps, including the ones it shouldn't until it reaches the end.

    To add it, click the symbol + just below the automation step with the first condition and select the Tool option.

    Albato_Router tool_step 4.png

    Then look for the Break tool and click the Select button to proceed.

    Albato_Router tool_step 5.png

    Here's a quick preview of the final structure.

    Albato_Router tool_preview.png

    As a result, the automation will look like this:

    Albato_Router tool_step 6.png

    Ready! The tool and automation are configured. Now, just click on Start.

    Did this answer your question?