You can automate your A/B email tests by create 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: an A/B email can only be used in one workflow. Once the email action has been saved to the workflow, you won't be able to use the email in any other workflows.
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.
Now that the email has been added, you can continue to configure your workflow actions and settings as needed. After turning the workflow on, HubSpot will begin to evenly distribute the email variations to your enrolled records.
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.