Browse documentation

Workflow node reference

A/B Split

Randomly split traffic between paths. Exact configuration, outputs, execution behavior, errors, limits, and examples for the A/B Split workflow node.

Automation buildersIntermediateAvailable

What this guide covers

  • Category: Logic.
  • Use it to randomly distribute executions among named paths by percentage.
  • 1 configuration fields and 2 documented outputs.
  • Random allocation does not guarantee perfectly equal totals in small samples.

What this node does

Randomly split traffic between paths

Use it to randomly distribute executions among named paths by percentage.

When not to use it

Do not use it for rules based on customer data; use Condition or Classifier.

Prerequisites

  1. Valid JSON path definitions
  2. Unique path names
  3. Percentages that total exactly 100
  4. A connected branch for each path

Inputs and configuration fields

A/B Split configuration fields
FieldKeyControl / typeRequirementDefaultAccepted values and behavior
PathspathsjsonRequired when shownNo defaultDefine paths and their percentages (must total 100%). [{ "name": "Path A", "percentage": 50 }, { "name": "Path B", "percentage": 50 }]

Configure the node

  1. Drag A/B Split from Logic in the node palette.
  2. Select the node to open its configuration drawer.
  3. Complete every required field and any conditional field revealed by your choices.
  4. Insert variables only from the current trigger or an earlier node on the same path.
  5. Connect every required output handle to the intended next step.
  6. Save and run Workflow Test with representative data before activation.

Outputs

Later nodes can use these values only after this node has run successfully on the same execution path.

A/B Split output variables
VariableTypeMeaning
{{nodes.split.selected_path}}stringName of chosen path
{{nodes.split.path_index}}numberIndex of chosen path

Execution behavior

  1. Randomly selects one configured path.
  2. Emits selected path and path index.
  3. Each execution follows only the chosen path.

Example use case

Send Variant A to 50% of eligible inbound leads and Variant B to 50%.

Complete workflow pattern
text
Keyword Match → A/B Split → Send Text A / Send Text B → End Flow

Common errors

A/B Split common errors
SymptomResolution
Configuration is invalidMake every percentage numeric and ensure the total is 100.
A path stopsConnect the generated handle for that path.

Limitations

Random allocation does not guarantee perfectly equal totals in small samples.

No built-in statistical significance report is exposed.