# Workflow Export

> This is a subset of the full specification, limited to the `workflow_export` schema.
>
> You can find the full specification here: /_bundle/docs/references/@2.15/rest-api/api.intercom.io.yaml

```yaml
openapi: 3.0.1
info:
  title: Intercom API
  version: '2.15'
  description: This is a subset of the full specification, limited to the `workflow_export` schema.
  contact:
    name: Intercom Developer Hub
    url: https://developers.intercom.com
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
servers:
  - url: https://api.intercom.io
    description: The production API server
  - url: https://api.eu.intercom.io
    description: The european API server
  - url: https://api.au.intercom.io
    description: The australian API server
security:
  - bearerAuth: []
paths: {}
components:
  schemas:
    workflow_export:
      title: Workflow Export
      type: object
      description: A workflow export containing the complete workflow configuration.
      properties:
        export_version:
          type: string
          description: The version of the export format.
          example: '1.0'
        exported_at:
          type: string
          format: date-time
          description: The timestamp when the export was generated.
          example: '2026-01-26T12:00:00Z'
        app_id:
          type: integer
          description: The workspace identifier.
          example: 12345
        workflow:
          type: object
          description: The workflow configuration.
          properties:
            id:
              type: string
              description: The unique identifier for the workflow.
              example: '67890'
            title:
              type: string
              description: The title of the workflow.
              example: My Workflow
            description:
              type: string
              nullable: true
              description: The description of the workflow.
              example: A workflow that handles customer inquiries
            trigger_type:
              type: string
              description: The type of trigger that starts this workflow.
              example: inbound_conversation
            state:
              type: string
              description: The current state of the workflow.
              enum:
                - live
                - draft
                - paused
              example: live
            target_channels:
              type: array
              items:
                type: string
              description: The channels this workflow targets.
              example:
                - chat
            preferred_devices:
              type: array
              items:
                type: string
              description: The preferred devices for this workflow.
              example:
                - desktop
                - mobile
            created_at:
              type: string
              format: date-time
              description: When the workflow was created.
              example: '2025-06-15T10:30:00Z'
            updated_at:
              type: string
              format: date-time
              description: When the workflow was last updated.
              example: '2026-01-20T14:45:00Z'
            targeting:
              type: object
              nullable: true
              description: The targeting rules for this workflow.
            snapshot:
              type: object
              nullable: true
              description: The current snapshot of workflow steps and configuration.
            attributes:
              type: array
              items:
                type: object
              description: Custom attributes defined for this workflow.
            embedded_rules:
              type: array
              items:
                type: object
              description: Rules embedded within the workflow steps.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
```
