EzFlowEzFlow Docs
Node referenceLogic

AB_TEST

AB_TEST node.

What it does

AB_TEST node.

Inputs & outputs

Input handle
None
Output handle
variant_a
variant_b

Configuration

No configuration.

Example

How it works

AB_TEST randomly routes each execution to branch variant_a or branch variant_b based on a configurable weight. It reads variant_a_weight from its configuration (defaulting to 50 for a 50/50 split) and generates a random number between 0 and 100; if the random number is less than the weight, the variant_a branch runs, otherwise variant_b. The split is probabilistic — over many runs the ratio converges to the configured weight.

Example

Scenario: A Workflow tests two subject lines for a promotional email: 50% of contacts receive subject A, 50% receive subject B.

AB_TEST takes no input edge; it reads variant_a_weight from its configuration. Set variant_a_weight to 50. Connect the variant_a output to a SEND_MAIL node with subject A and the variant_b output to a SEND_MAIL node with subject B. Track open rates per branch in the Jobs view to determine the winner.

On this page