younifyd
Menu

Describe Conditional Branches

Capture branch metadata for documentation purposes. Execution is handled by the workflow engine.

Use it in a workflow

  1. Add a step and choose the Conditional Branch connector.
  2. Pick the Describe Conditional Branches action (under workflow).
  3. Fill in the fields below, then reference the result from later steps as {{describeConditionalBranches.response.data}}.

Fields

namestring

Optional name shown on the workflow canvas.

branchesarray<object>

List of IF / ELSEIF branches.

labelstring

Label shown on the workflow canvas (e.g. IF).

conditionobject3 fields
hasFallbackboolean

Indicates whether an ELSE branch exists.

Examples

IF / ELSE on order total

Branch on whether the order total exceeds a threshold, with an ELSE fallback for everything else

json
{
  "name": "Check order total",
  "branches": [
    {
      "label": "IF",
      "condition": {
        "lhs": "{{trigger.body.total}}",
        "operator": "greaterThan",
        "rhs": "100"
      }
    }
  ],
  "hasFallback": true
}

Need more? See the Conditional Branch guide for connection setup and behaviour shared by every action.

Was this page helpful?