Conditional
Branch your workflow logic
Last updated
Branch your workflow logic
Last updated
The Conditional Step has three separate pieces:
The Condition: a Javascript expression that evaluates to either to True
orFalse
Action Taken if the Condition evaluates to True
: the steps in the top half of the conditional will be executed
Action Taken if the Condition evaluates to False
: the steps in the lower half of the conditional will be executed
In the screenshot below, we can understand the Conditional Step to perform as:
The Condition: Check if the input push_to_webflow
is Yes
If True: Run a Workflow that writes an article and pushes it to Webflow
If False: Run a Workflow that writes an article, but do NOT push it to Webflow
Let's do a quick walkthrough of a simplified workflow that showcases how your output may change as your input returns true or false on the condition.