💼Toolbox
Toolbox contains a selection of useful actions, such as conditional logic, that enables you to control what actions your pipes run.
Last updated
Toolbox contains a selection of useful actions, such as conditional logic, that enables you to control what actions your pipes run.
Last updated
If-then - Make your pipe run different actions depending on desired conditions
Only Continue If - Stop your pipe from running if it did not receive the desired input
Do note if you have an existing pipe, "if-then" will only appear at the last step.
Select Toolbox as the app
Select If-then as the action event.
Once you have selected the If-then action, 2 branches will appear (a branch is a set of actions that you want your pipe to run when certain conditions are met):
Click on one of the branches. A window will appear where you can configure your desired condition, as well as actions to take if the condition is met: You can give your branch an unique name to avoid any confusion under "Branch Name"
In the "Field" input box, select the variable that you want to check.
In the "Is or Is Not" and "Condition" input boxes, configure the logical rule you want to apply.
Finally, in the "Value" field, input the value that you want to compare the variable against.
You can also click the "And" button to add more logical rules.
Click Test Step.
If the test data has met the conditions, you’ll see a confirmation that the Pipe would have continued.
If the test data has not met the conditions, you’ll see a confirmation that the Pipe would not have continued. This doesn't stop you from building your pipe.
Verify that you are in the desired branch's window. The background should be pink and you should see "back to pipe" in the top left corner.
You can add actions by clicking the "+" button in between steps.
Select Toolbox as the app.
Select Only continue if... as the action event.
Set up action
In the "Field" input box, select the variable that you want to check.
In the "Is or Is Not" and "Condition" input boxes, configure the logical rule you want to apply.
Finally, in the "Value" field, input the value that you want to compare the variable against.
You can also click the "And" button to add more logical rules.
Test action
Click Test step.
Equals to
Empty
Contains
Less than
Less than or equals to
Greater than
Greater than or equals to
Before
After
Supported date/time formats:
If the test data has met the conditions, you’ll see a confirmation that the Pipe would have continued. If the test data has not met the conditions, you’ll see a confirmation that the Pipe would not have continued.