---
title: "GET /domains/{DomainName}/workflows/{WorkflowId}/steps"
method: GET
path: "/domains/{DomainName}/workflows/{WorkflowId}/steps"
---

# GET /domains/{DomainName}/workflows/{WorkflowId}/steps

`GET /domains/{DomainName}/workflows/{WorkflowId}/steps`

Get granular list of steps in workflow.

## Path parameters

- `DomainName` string, required
- `WorkflowId` string, required

## Query parameters

- `next-token` string
- `max-results` integer

## Response `200`

Success

- GetWorkflowStepsResponse
  - `WorkflowId` string — Unique identifier for the workflow.
  - `WorkflowType` 'APPFLOW_INTEGRATION' — The type of workflow. The only supported value is APPFLOW_INTEGRATION.
  - `Items` WorkflowStepItem[] — List containing workflow step details.
    - `AppflowIntegration` object — Workflow step information specific to <code>APPFLOW_INTEGRATION</code> workflow.
      - `FlowName` string, required — Name of the flow created during execution of workflow step. <code>APPFLOW_INTEGRATION</code> workflow type creates an appflow flow during workflow step execution on the customers behalf.
      - `Status` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETE' | 'FAILED' | 'SPLIT' | 'RETRY' | 'CANCELLED', required — Workflow step status for <code>APPFLOW_INTEGRATION</code> workflow.
      - `ExecutionMessage` string, required — Message indicating execution of workflow step for <code>APPFLOW_INTEGRATION</code> workflow.
      - `RecordsProcessed` integer, required — Total number of records processed during execution of workflow step for <code>APPFLOW_INTEGRATION</code> workflow.
      - `BatchRecordsStartTime` string, required — Start datetime of records pulled in batch during execution of workflow step for <code>APPFLOW_INTEGRATION</code> workflow.
      - `BatchRecordsEndTime` string, required — End datetime of records pulled in batch during execution of workflow step for <code>APPFLOW_INTEGRATION</code> workflow.
      - `CreatedAt` string, date-time, required — Creation timestamp of workflow step for <code>APPFLOW_INTEGRATION</code> workflow.
      - `LastUpdatedAt` string, date-time, required — Last updated timestamp for workflow step for <code>APPFLOW_INTEGRATION</code> workflow.
  - `NextToken` string — If there are additional results, this is the token for the next set of results.

## Other responses

- `480` — BadRequestException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ThrottlingException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/customer-profiles.md) · [All operations](https://skmtc.net/aws/apis/customer-profiles/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/customer-profiles/versions/471944106c88/schema)
