Using A/B Tests In Workflows
A/B testing helps validate hypotheses and understand the preferences and behavior of the target audience
Built-in functionality allows testing:
- email subject lines;
- widget displays;
- product recommendations.
Using workflows, you can test the effectiveness of various elements of triggered messages, such as text, calls to action, images, or sending via different channels.
Use the Split block from the Conditions blocks for split testing.
![Split block Split block](https://files.readme.io/d15a17a-using-ab-tests-in-workflows-01.webp)
Let's consider an experiment using the example of an abandoned cart:
- The first message contains a discount on items abandoned in the cart:
![Message contains a discount Message contains a discount](https://files.readme.io/fb3db18-using-ab-tests-in-workflows-02.webp)
- The second message contains a timer with a countdown until the end of the discount.
![Message contains a timer Message contains a timer](https://files.readme.io/29da8dd-using-ab-tests-in-workflows-03.webp)
The goal of this test is to check whether a timer counting down the time until the end of the promotion influences the purchase decision.
Creating a Workflow for Testing
- Go to Triggers → Workflows, and click the New workflow button.
![Creating a workflow Creating a workflow](https://files.readme.io/ee01044-using-ab-tests-in-workflows-04.webp)
- Enter its name and tags (optionally).
![New workflow New workflow](https://files.readme.io/3410087-using-ab-tests-in-workflows-05.webp)
- By default, the Start block already starts the workflow. Then add blocks:
- Split, where contacts are automatically distributed between workflow branches 50/50. To change the ratio, drag the slider in the block settings to the left or right.
![Split block settings Split block settings](https://files.readme.io/0dc2ea5-using-ab-tests-in-workflows-06.webp)
- Email for A and B branches; select the message in the block parameters.
![Email block settings Email block settings](https://files.readme.io/37e821f-using-ab-tests-in-workflows-07.webp)
- End.
The workflow will look like this:
![Workflow Workflow](https://files.readme.io/d09c957-using-ab-tests-in-workflows-08.webp)
- Click Save and exit.
After launching the workflow, the system will randomly distribute contacts between two branches in a 50-50 ratio. Each contact will receive only one message, according to the branch they fall into.
Setting Up Workflow Launch and Checking Results
- Go to Triggers → Workflows and click Start/Stop configuration in the field of the created workflow.
![Launch conditions Launch conditions](https://files.readme.io/e0ab06cbeac619f1381fd7868cba3af72da2e74e43e8e4a0b7deb1ce581f8d46-a-b-test-en-201.webp)
- Enable the Start Configuration slide button, select Regular, and a dynamic segment for the campaign.
![Start Configuration Start Configuration](https://files.readme.io/8b4aff2-using-ab-tests-in-workflows-10.webp)
- Configure launch conditions and click Apply.
- Activate the workflow.
![Activate the workflow Activate the workflow](https://files.readme.io/938113b9e373c5e8acb4cc9e8ea2a019a6a123f7562e0be5a7832ee4ec92a1b7-a-b-test-en-202.webp)
Later, you will be able to check and compare the test results.
To do this:
- Click three dots in the field of the created workflow and select View campaign report.
![View campaign report View campaign report](https://files.readme.io/8b072933dcd20c6cebde9a9d7f43d045f7a08def492d2a1bc167c1ddc6c1a079-a-b-test-en-203.webp)
- Choose a period and compare the indicators for each message.
![Compare the indicators Compare the indicators](https://files.readme.io/bff9689-using-ab-tests-in-workflows-13.webp)
Updated 3 days ago