Conditional

The Conditional component allows you to create conditional logic within your workflow, enabling you to route data or trigger actions based on specified conditions. This component evaluates input values against predefined criteria and directs the flow of execution accordingly.

Operators

By using different operators, you can set precise criteria for your workflow to follow, ensuring that each step executes only when specific conditions are met. Here is a comprehensive list of all the operators you can use within the Conditional node, along with their descriptions:

OperatorDescription

Equal

Checks if two values are equal.

Not Equal

Checks if two values are not equal.

Greater Than

Checks if a value is greater than another.

Less Than

Checks if a value is less than another.

Greater Than or Equal

Checks if a value is greater than or equal to another.

Less Than or Equal

Checks if a value is less than or equal to another.

Contains

Checks if a value contains a specified substring.

Not Contains

Checks if a value does not contain a specified substring.

In

Checks if a value is in a list of values.

Not In

Checks if a value is not in a list of values.

Starts With

Checks if a value starts with a specified substring.

Ends With

Checks if a value ends with a specified substring.

Is Empty

Checks if a value is empty.

Is Not Empty

Checks if a value is not empty.

Is True

Checks if a value is true (boolean).

Is False

Checks if a value is false (boolean).

Is Null

Checks if a value is null.

Is Not Null

Checks if a value is not null.

By utilizing these operators, you can create complex and flexible conditions within your workflows, ensuring that your automation behaves exactly as needed. Whether you are comparing numerical values, checking for specific substrings, or verifying the presence of data, these operators provide the tools you need to build effective conditional logic.

Steps to use Conditional Component

  1. Add Conditional Component to Canvas:

    To add the Conditional components to the canvas, you have two options:

    1. Navigate through the components menu in the side panel, and drag the Conditional component onto the canvas of your workflow.

    2. Click the plus icon, which opens a window allowing you to search for various components and connectors. Search for the Conditional component and select it.

    Each component will be labeled with a unique identifier (e.g., conditional_1) for easy reference if multiple Conditional components are used.

  2. Access Conditional Component Settings:

    Click on the Conditional Component to access its settings. This is where you define the criteria for decision-making.

  3. Enter Conditional Details:

    Within the Conditional component settings, provide the following information:

    • Input Value: Enter the value that you want to evaluate.

    • Operator: Choose the operator or condition to be applied.

    • Value to Compare With: Provide the value against which the input value will be compared.

  4. Submit:

    After entering the conditional details, click the "Submit" button to confirm your configuration.

  5. Hover for Information:

    Hover over the Conditional component on the canvas to view a tooltip with additional information.

  6. Add Components to Paths: Once the conditional statement is configured, add components to the "THEN" path and the "ELSE" path of your workflow.

    • Components added to the "THEN" path will be executed if the condition is true.

    • Components added to the "ELSE" path will be executed if the condition is false.

  7. Execute the Conditional Component:

    Hover your mouse over the Conditional Component to display the action buttons then click the play button to execute the step. The execution result can be viewed in the logs panel.

NOTE:

  • The Conditional component enables you to add decision-making capabilities to your workflow, allowing for dynamic flow control based on specified conditions.

  • Ensure that the input value and comparison value are of compatible types to facilitate accurate evaluation of the condition.

  • Test the conditional statement with various input values to verify expected behavior under different scenarios.

Last updated