A/B test node

Updated at:

This document describes how to configure the A/B test node in process management and provides a use case.

Introduction

The A/B test node is a decision node used to dynamically run A/B tests within a business process. It reads an incoming pass-through parameter and matches it against a predefined experiment configuration group to automatically route traffic to the corresponding experiment branch or a default control group. The node lets you create or reuse experiment configuration groups and customize the node name and branch structure. It falls back to the control group if the parameter is missing, its value is empty, it does not match any experiment group, or it explicitly specifies the control group. This lets you run lightweight, short-term experiments with low operational overhead.image

Configuration

  • Node name: You can change the node name based on your business requirements. The system displays a default value.

  • Experiment parameter: Specify the pass-through parameter used for the traffic splitting logic. This parameter must be passed from an upstream node. The system uses the parameter's value to match it with the corresponding experiment branch. If the parameter is missing, its value is empty, or it does not match any experiment group, traffic is automatically routed to the Control Experiment (Default) branch.

  • Experiment branch: Defines the process paths for different experiment versions. The system provides the Control Experiment (Default) branch as a safe fallback. You can add multiple experiment branches, such as "branch_aec3", where each branch maps to a specific experiment configuration value. The node dynamically routes traffic to the matching branch based on the value of the experiment parameter.

    image

Example

An e-commerce business wants to test the impact of three different coupon distribution strategies on conversion rates during a major sales event.image

Procedure

  1. Create a new process and go to the process canvas editor.

  2. Add an intent edge to trigger this process when a coupon is distributed.

  3. Add a parameter collection node to determine the user group and pass it as a pass-through parameter.

  4. Create an A/B test node:

    • Node name: Coupon Strategy Experiment

    • Experiment parameter: user_group (This is a pass-through parameter passed from an upstream node.)

    • Configure the experiment branches:

      Branch name

      Value

      Description

      Control Experiment (Default)

      control

      Distribute a 10-yuan universal coupon.

      Experiment Group A

      group_a

      Distribute a 20-yuan category-specific coupon.

      Experiment Group B

      group_b

      Distribute a coupon for 30 yuan off on orders over 100 yuan.

      image

    • Add the subsequent process nodes for each branch as shown in the figure below.image

Results

  1. To test the coupon distribution for group_a, you can set the experiment configuration value to group_a in the test window, as shown below.

    image

  2. Test result:

    image