If-then

What is If-then?

If-then allows one Pipe to perform different actions based on rules you define. Using conditional logic, these rules determine the subsequent steps, for example, If response is A, then do X. If response is B, then do Y.

If-then

Field
Description
Required?

Branch name

Give a name for this branch. We would suggest using the condition as your name.

✔️

Field

Select the variable that you want to check

✔️

Is or is not

Set the logical condition

✔️

Condition

Set the logical condition

✔️

Value

Set the value that you want to compare the variable against

✔️

Check step

You can expect one of these two results when you Check step.

Result
Description

true

The condition you set is met. Your Pipe will continue to the next steps.

false

The condition you set is not met. Your Pipe will stop here.

Check Step is like a “preview” to see if your rule is working, according to sample data. When your Pipe is running, the result might change because the data that comes in for each execution is different.

Common errors

Non-number used in value/field for comparison

This happens because you are comparing text against a number or vice versa.

Make sure that your Field and Value fields are using numbers, if you are using conditions made for numbers (Greater than, Greater than or equals to, Less than, Less than or equals to)

Last updated

Was this helpful?