> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Sample Use Cases and Flows ## Article: Sample Use Cases and Flows ## Article Link: https://dev.wix.com/docs/api-reference/business-management/marketing/emails/email-marketing/campaign/sample-use-cases-and-flows.md ## Article Content: # Sample Flows and Use Cases This article presents a possible use case and corresponding sample flow you can support. This can be a helpful jumping off point as you plan your implementation. ## A/B testing for subject lines and call-to-action (CTA) buttons You can help a Wix user run an A/B test on the subject of their new email campaign. For example, a marketing company wants to test different subject lines and CTA buttons to determine which performs better in terms of open rates and conversions. They use a robust, multi-phase A/B testing approach to fine-tune the effectiveness of their campaigns. > **Note:** This flow assumes you have already created and published an email marketing campaign with a couple variations of the subject line and CTA buttons. 1. Call [List Campaigns](https://dev.wix.com/docs/rest/business-management/marketing/email-marketing/campaign/list-campaigns.md) to retrieve the campaign IDs for both campaigns. Save the values for later use. 1. Call [List Statistics](https://dev.wix.com/docs/rest/business-management/marketing/email-marketing/campaign/list-statistics.md) and pass the campaign IDs for each campaign. Track the open rates and click-through rates for each campaign variation. 1. Based on the results from the A/B tests, call [List Recipients](https://dev.wix.com/docs/rest/business-management/marketing/email-marketing/campaign/list-recipients.md) by the `"CLICKED"` activity. 1. Call [Label Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/label-contact.md) to label the best-performing recipients. Save these contacts for later use. 1. Adjust the campaign content based on the most successful subject lines and CTAs. If certain combinations perform better, prioritize those for the next phase of the campaign. 1. Call [Publish Campaign](https://dev.wix.com/docs/rest/business-management/marketing/email-marketing/campaign/publish-campaign.md) to send the refined campaign to the selected audience. 1. After the campaign goes live, continuously monitor results by calling [List Statistics](https://dev.wix.com/docs/rest/business-management/marketing/email-marketing/campaign/list-statistics.md) to evaluate whether the refined versions outperform the initial variations.