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 flow WhatsApp message as part of a Flow.
  2. Configuring two or more WhatsApp templates variations for the flow, using pre-existing templates.
  3. Selecting the weight of each variation to establish the percentage of recipients that will receive each template.
  4. Having a winning template variation chosen automatically after a probability threshold of 95% is reached, after a specific date, or after manually choosing a winner based on the highest open rate or highest click rate amongst variations.

Perform a flow WhatsApp A/B test

Creating an A/B test can be easily done through the flow builder.

Create a new A/B test

  1. To set up A/B testing for an individual WhatsApp template in any flow, click on the initial WhatsApp message within the flow builder.
  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.

Edit variations

After creating a new test, you will be taken directly to the A/B Test configuration window. Every test will automatically include the initial template as Variation A, and a copy of the initial template for Variation B. Choose a new Variation B template.

A web interface for WhatsApp message A/B testing, with a red box highlighting the 'Choose template' button for Variation B.

Only 2 variations are currently supported for WhatsApp Flow A/B test.

  1. To select your variant template, click “Choose template” next to Variation B
  2. You will be directed to your WhatsApp template gallery. Select your variant template from your pre-existing templates
A screenshot of a "Choose a WhatsApp template" interface, displaying a grid of message templates with sample text, interactive buttons, and approval statuses.

Note: Only pre-existing templates can be used as a variant template.

Confirm template 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.

Adjust test settings

In the Test Settings section at the bottom of the configuration window, you can configure the winning metric, variant traffic allocation, and test 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. Traffic allocation
    1. Choose between a fixed traffic percentage or dynamic allocation.
  3. Ending criteria
    1. Deselect “Automatic winner selection” to keep the test running until you manually end it.
    2. Choose “Automatic winner selection” to automatically end the test based on a defined criteria
      1. “End test by statistical significance” will end the test once a template reaches a 95% probability of being the better performing template
      2. “Set a date limit” ends the test by a specific date
      3. If both are selected, the test will end when the earliest of the two criteria are met
  4. Add notes to track your hypothesis and experiment design reasoning.

If you’re using UTM links, toggle the “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.

Publish the test

Publish your test by clicking “Publish test” at the top of the page and following the prompts.

WhatsApp message A/B test setup page with two content variations and a highlighted "Publish test" button.

Note: A test can only be published once both templates have been approved.

View live test results

To view the results of a live test, navigate to the Flow builder, click on the WhatsApp message, and click “View test” in the WhatsApp detail side pane.

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.

Manually choose a winner

To end the test and manually declare a winning variation, click “Choose a winner” and follow the prompts. This will make the winning variant the message that everyone gets moving forward

A/B test results dashboard showing a 'Choose Winner' button, a 50% win probability, and the message 'Not statistically significant'.

View results

To view the results of a completed A/B test, see How to review email A/B test results for flows


Additional resources

Was this article helpful?
Use this form only for article feedback. Learn how to contact support.

Explore more from Klaviyo

Community
Connect with peers, partners, and Klaviyo experts to find inspiration, share insights, and get answers to all of your questions.
Partners
Hire a Klaviyo-certified expert to help you with a specific task, or for ongoing marketing management.
Support

Access support through your account.

Email support (free trial and paid accounts) Available 24/7

Chat/virtual assistance
Availability varies by location and plan type