---
title: "How to do A/B Testing in WhatsApp Flow"
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/53294750535323"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/53294750535323.md"
locale: "en-us"
category: "WhatsApp"
section: "Send and use WhatsApp with Klaviyo"
updated: "2026-11-06"
---

# How to do A/B Testing in WhatsApp Flow

## You will learn

Learn how to use Klaviyo’s A/B testing experience to test individual WhatsApp messages in a flow.

## About flows and A/B testing

Flow WhatsApp A/B testing includes the processes of:

1. Creating a single WhatsApp message as part of a flow.

2. Configuring 2 or more WhatsApp template variations using pre-existing templates or free-form content. Note that free-form content will fail to be delivered if the recipient does not have an active 24-hour conversation window.

3. Selecting the weight of each variation to establish the percentage of recipients that will receive each template.

4. Choosing a winning variation automatically when the results are statistically significant or on a specified end date, or selecting a winner manually. Automatic selection uses the open rate or click rate you choose.



## Perform a flow WhatsApp A/B test

Create an A/B test through the flow builder. These steps cover messages that use WhatsApp templates. Before you start, choose a template for the message you want to test. You need permission to edit flow content and change message status.

### Create a new A/B test

1. In the flow builder, click the WhatsApp message you want to test.

2. Click **Create A/B test** in the **WhatsApp details** panel.



![A WhatsApp message automation interface with a "Create A/B test" option highlighted in red.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/5bf7abd4e1517a7dab6a287b78e37412461715dc-2864x1980.png?auto=format)

### Edit variations

After creating a new test, you will be taken directly to the A/B test configuration page. The test starts with your original template as Variation A and a copy of that template as Variation B.

![A web interface for WhatsApp message A/B testing, with a red box highlighting the 'Choose template' button for Variation B.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/8b1eb0c60ee6021dc4a472f1a9408ddf202f31d6-3334x1990.png?auto=format)

A WhatsApp flow A/B test can include 2–25 variations.

1. Click **Choose template** next to Variation B.

2. In the WhatsApp template gallery, select the pre-existing template you want to test.



![A screenshot of a "Choose a WhatsApp template" interface, displaying a grid of message templates with sample text, interactive buttons, and approval statuses.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/d708e0e71239e4f4bb1df3741858037b9ae9b7c1-2864x1994.png?auto=format)

Note: Only pre-existing templates can be used for a variation. 

1. Confirm your selection by clicking **Use template**.



![A pop-up displaying a WhatsApp message template with a mobile preview of a discount offer and a highlighted 'Use template' button.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/97b41df051705f08776f7f1ebf529e38ca899a8f-2850x2056.png?auto=format)

1. Optional: To add another variation before publishing, open a variation’s three-dot menu and select **Clone variation**. Then choose and confirm a different template for the new variation.



### Adjust test settings

In the **Test settings** section at the bottom of the configuration window, you can configure the winning metric, sending distribution, and ending criteria.

1. Winning metric

   1. Select which metric will be measured to determine the best-performing template. Choose between **Open rate** and **Click rate**.

2. Sending distribution

   1. Turn on the **Sending distribution** toggle for automatic allocation: traffic starts evenly split and shifts toward better-performing variations as the test runs. Turn it off to enter fixed percentages for each variation. The percentages must total 100%.

3. Ending criteria

   - To end the test manually, turn off **Automatic winner selection**.

   - To end the test automatically, turn on **Automatic winner selection** and select either or both of these criteria:

     - **End test by statistical significance** ends the test when Klaviyo identifies a statistically significant winner for your selected metric.

     - Select **Set a date limit**, then choose a future **End date** to end the test on that date. The date is evaluated in UTC.

   - If both are selected, the test will end when either criterion is met.

4. Add notes to track your hypothesis and experiment design reasoning.



If you’re using UTM links, turn on **Track links separately in each variation** to track UTMs individually.

![Screenshot of A/B test settings with 'Open rate' selected as the winning metric, two WhatsApp variations for sending distribution, and automatic winner selection enabled by statistical significance.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/fee01dd25bc1c59845b0c338e637c5d2ee05ec3a-1922x1416.png?auto=format)

### Publish the test

Note: All templates used in the test must be approved before you can publish it. Publishing sets the message and its variations to Live.

Click **Publish test** at the top of the page. Review the confirmation, then click **Publish test** again to start the test.

![WhatsApp message A/B test setup page with two content variations and a highlighted "Publish test" button.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/45a18e89223ca5213a83341326842154689f03b1-2864x1986.png?auto=format)

### View live test results

To view the results of a live test, navigate to the flow builder, click the WhatsApp message, and click **View test** in the **WhatsApp details** panel.

![A software dashboard displaying WhatsApp flow details, including A/B test information with a 'View test' button and a flow diagram showing a WhatsApp message.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/175ad66b544e0aff8d6413c4fa3da91bc93d8516-2854x1980.png?auto=format)

### Manually choose a winner

1. On the live test’s results page, click **Choose Winner**.

2. Select a variation from **Choose Winning Variation**, then click **Choose Winner** to confirm. The test ends, and the selected variation becomes the message sent to future recipients at this step in the flow.



![A/B test results dashboard showing a 'Choose Winner' button, a 50% win probability, and the message 'Not statistically significant'.](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/6c398ca96c50de036bcf578f53c5d25ab8d1df4f-2862x676.png?auto=format)

### View results

To view a completed test, click the WhatsApp message in the flow builder, then click **View results** in the **WhatsApp details** panel. To view an earlier test, choose it from the test dropdown at the top of the results page.

For more on interpreting win probability and the winning metric, see [How to review email A/B test results for flows](https://help.klaviyo.com/hc/en-us/articles/9360405808027.md).

## Additional resources

- [Best practices for A/B testing reference](https://help.klaviyo.com/hc/en-us/articles/360045012632.md)
  Learn best practices for using Klaviyo's A/B testing features to help optimize your communication with customers.
