Logic gate
Run the next blocks only when a condition is met.
A logic gate block checks conditions on variables from the blocks before it. The blocks after it only run if the conditions are met, so you can build branches into a workflow.
Conditions
Conditions use variables from the blocks connected before the logic gate. They can check these kinds of variable:
Integers
Strings
Booleans
Lists
You can combine several conditions into groups, and nest groups inside each other, to build more complex rules.
Example
A GenAI block scores how relevant a question is to a dataset, from 0 to 10. One logic gate lets the workflow continue to an analysis branch if the score is 5 or more; another sends it to a different branch if the score is below 5.
Last updated
Was this helpful?
