Conditional

Branch your workflow logic

How does the Conditional Step work?

The Conditional Step has three separate pieces:

  1. The Condition: a Javascript expression that evaluates to either to TrueorFalse

  2. Action Taken if the Condition evaluates to True: the steps in the top half of the conditional will be executed

  3. Action Taken if the Condition evaluates to False: the steps in the lower half of the conditional will be executed

Examples

In the screenshot below, we can understand the Conditional Step to perform as:

  1. The Condition: Check if the input push_to_webflow is Yes

  2. If True: Run an application that writes an article and pushes it to Webflow

  3. If False: Run an application 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.

Last updated