> ## 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.

# MarketingAutomationConditionStepInput

> Condition configuration. Insert requires expression with exactly one arm.

<ResponseField name="customTitle" type="String" />

<ResponseField name="description" type="String" />

<ResponseField name="expression" type={<a href="/docs/api-reference/v3/reference/marketing/marketing-automation-condition-expression-input">MarketingAutomationConditionExpressionInput</a>}>
  <Expandable title="fields" lazyRender>
    <ResponseField name="existingSegment" type={<a href="/docs/api-reference/v3/reference/marketing/marketing-automation-existing-segment-condition-input">MarketingAutomationExistingSegmentConditionInput</a>}>
      <Expandable title="fields" lazyRender>
        <ResponseField name="segmentIds" type="[String!]!" required>
          Segment ids (`id` or stored `legacyId`), same as manageStaticSegment.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="inlineSegment" type={<a href="/docs/api-reference/v3/reference/marketing/marketing-automation-inline-segment-condition-input">MarketingAutomationInlineSegmentConditionInput</a>}>
      <Expandable title="fields" lazyRender>
        <ResponseField name="conditions" type={<a href="/docs/api-reference/v3/reference/common/json">JSON!</a>} required>
          Condition tree matching segmentConditionCatalog.conditionsJsonSchema.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="triggerData" type={<a href="/docs/api-reference/v3/reference/marketing/marketing-automation-trigger-data-condition-input">MarketingAutomationTriggerDataConditionInput</a>}>
      <Expandable title="fields" lazyRender>
        <ResponseField name="predicate" type={<a href="/docs/api-reference/v3/reference/common/json">JSON!</a>} required>
          Stored trigger-schema boolean expression.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="nextFalseStepId" type="ID">
  First step when the expression does not match.
</ResponseField>

<ResponseField name="nextTrueStepId" type="ID">
  First step when the expression matches.
</ResponseField>


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