You can automate your A/B email tests by creating and saving an A/B email for automation. Once saved, you can include the A/B email in a workflow, and HubSpot will send the email variations evenly across enrolled records.
Please note: each A/B email can only be used once. After an email action has been saved to a workflow, you won't be able to use the same email in any other workflows. To use the same email in another workflow, clone the A/B email instead.
To use an A/B email in a workflow:
In your HubSpot account, navigate to Marketing > Email.
In the workflow timeline, click the + plus icon to add a new action.
In the right panel, select Send email. Then select your A/B email.
After the email has been added, you can continue to configure your workflow actions and settings as needed. You can send multiple A/B emails in a single workflow. After turning the workflow on, HubSpot will begin to evenly distribute the email variations to your enrolled records.
Once you pick the winning version, it will be sent to all future contacts in the workflow who meet the enrollment criteria, and the losing version will be archived.
Metrics for your A/B test will be available on the email details screen. As you gather data, you can choose a winner between the two variants. After choosing a winner, the workflow will only send out the winning variation.