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

# MarketingAutomationConditionExpressionInput

> Pass exactly one of existingSegment, inlineSegment, or triggerData.

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


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