> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MarketingAutomationAbTestStep

> Splits traffic across named variants. Inserting without variants creates A/B at 50/50.

<ResponseField name="customTitle" type="String">
  Merchant-facing label override.
</ResponseField>

<ResponseField name="description" type="String">
  A/B test description.
</ResponseField>

<ResponseField name="id" type="ID!" required>
  Stable id of this step.
</ResponseField>

<ResponseField name="kind" type={<a href="/docs/api-reference/v3/reference/marketing/marketing-automation-step-kind">MarketingAutomationStepKind!</a>} required>
  Always AB\_TEST.
</ResponseField>

<ResponseField name="name" type="String">
  A/B test name.
</ResponseField>

<ResponseField name="variants" type={<a href="/docs/api-reference/v3/reference/marketing/marketing-automation-ab-test-variant">[MarketingAutomationAbTestVariant!]!</a>} required>
  Weighted arms.

  <Expandable title="fields" lazyRender>
    <ResponseField name="id" type="ID!" required>
      Stable id of this variant.
    </ResponseField>

    <ResponseField name="name" type="String!" required>
      Merchant-facing variant name.
    </ResponseField>

    <ResponseField name="nextStepId" type="ID!" required>
      First step on this arm.
    </ResponseField>

    <ResponseField name="weight" type="Int!" required>
      Share of traffic, typically summing to 100.
    </ResponseField>
  </Expandable>
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.