---
title: "POST /domains/{DomainName}/workflows/integrations"
method: POST
path: "/domains/{DomainName}/workflows/integrations"
---

# POST /domains/{DomainName}/workflows/integrations

`POST /domains/{DomainName}/workflows/integrations`

Creates an integration workflow. An integration workflow is an async process which ingests historic data and sets up an integration for ongoing updates. The supported Amazon AppFlow sources are Salesforce, ServiceNow, and Marketo.

## Path parameters

- `DomainName` string, required

## Request body

- object
  - `WorkflowType` 'APPFLOW_INTEGRATION', required — The type of workflow. The only supported value is APPFLOW_INTEGRATION.
  - `IntegrationConfig` object, required — Configuration data for integration workflow.
    - `AppflowIntegration` object — Configuration data for <code>APPFLOW_INTEGRATION</code> workflow type.
      - `FlowDefinition` FlowDefinition, required — The configurations that control how Customer Profiles retrieves data from the source, Amazon AppFlow. Customer Profiles uses this information to create an AppFlow flow on behalf of customers.
        - `Description` string — A description of the flow you want to create.
        - `FlowName` string, required — The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.
        - `KmsArn` string, required — The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
        - `SourceFlowConfig` object, required — The configuration that controls how Customer Profiles retrieves data from the source.
          - `ConnectorProfileName` string — The name of the AppFlow connector profile. This name must be unique for each connector profile in the AWS account.
          - `ConnectorType` 'Salesforce' | 'Marketo' | 'Zendesk' | 'Servicenow' | 'S3', required — The type of connector, such as Salesforce, Marketo, and so on.
          - `IncrementalPullConfig` object — Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.
            - `DatetimeTypeFieldName` string — A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source.
          - `SourceConnectorProperties` object, required — Specifies the information that is required to query a particular source connector.
            - `Marketo` object — The properties that are applied when Marketo is being used as a source.
              - …
            - `S3` object — The properties that are applied when Amazon S3 is being used as the flow source.
              - …
            - `Salesforce` object — The properties that are applied when Salesforce is being used as a source.
              - …
            - `ServiceNow` object — The properties that are applied when ServiceNow is being used as a source.
              - …
            - `Zendesk` object — The properties that are applied when using Zendesk as a flow source.
              - …
        - `Tasks` Task[], required — A list of tasks that Customer Profiles performs while transferring the data in the flow run.
          - `ConnectorOperator` object — The operation to be performed on the provided source fields.
            - `Marketo` 'PROJECTION' | 'LESS_THAN' | 'GREATER_THAN' | 'BETWEEN' | 'ADDITION' | 'MULTIPLICATION' | 'DIVISION' | 'SUBTRACTION' | 'MASK_ALL' | 'MASK_FIRST_N' | 'MASK_LAST_N' | 'VALIDATE_NON_NULL' | 'VALIDATE_NON_ZERO' | 'VALIDATE_NON_NEGATIVE' | 'VALIDATE_NUMERIC' | 'NO_OP' — The operation to be performed on the provided Marketo source fields.
            - `S3` 'PROJECTION' | 'LESS_THAN' | 'GREATER_THAN' | 'BETWEEN' | 'LESS_THAN_OR_EQUAL_TO' | 'GREATER_THAN_OR_EQUAL_TO' | 'EQUAL_TO' | 'NOT_EQUAL_TO' | 'ADDITION' | 'MULTIPLICATION' | 'DIVISION' | 'SUBTRACTION' | 'MASK_ALL' | 'MASK_FIRST_N' | 'MASK_LAST_N' | 'VALIDATE_NON_NULL' | 'VALIDATE_NON_ZERO' | 'VALIDATE_NON_NEGATIVE' | 'VALIDATE_NUMERIC' | 'NO_OP' — The operation to be performed on the provided Amazon S3 source fields.
            - `Salesforce` 'PROJECTION' | 'LESS_THAN' | 'CONTAINS' | 'GREATER_THAN' | 'BETWEEN' | 'LESS_THAN_OR_EQUAL_TO' | 'GREATER_THAN_OR_EQUAL_TO' | 'EQUAL_TO' | 'NOT_EQUAL_TO' | 'ADDITION' | 'MULTIPLICATION' | 'DIVISION' | 'SUBTRACTION' | 'MASK_ALL' | 'MASK_FIRST_N' | 'MASK_LAST_N' | 'VALIDATE_NON_NULL' | 'VALIDATE_NON_ZERO' | 'VALIDATE_NON_NEGATIVE' | 'VALIDATE_NUMERIC' | 'NO_OP' — The operation to be performed on the provided Salesforce source fields.
            - `ServiceNow` 'PROJECTION' | 'CONTAINS' | 'LESS_THAN' | 'GREATER_THAN' | 'BETWEEN' | 'LESS_THAN_OR_EQUAL_TO' | 'GREATER_THAN_OR_EQUAL_TO' | 'EQUAL_TO' | 'NOT_EQUAL_TO' | 'ADDITION' | 'MULTIPLICATION' | 'DIVISION' | 'SUBTRACTION' | 'MASK_ALL' | 'MASK_FIRST_N' | 'MASK_LAST_N' | 'VALIDATE_NON_NULL' | 'VALIDATE_NON_ZERO' | 'VALIDATE_NON_NEGATIVE' | 'VALIDATE_NUMERIC' | 'NO_OP' — The operation to be performed on the provided ServiceNow source fields.
            - `Zendesk` 'PROJECTION' | 'GREATER_THAN' | 'ADDITION' | 'MULTIPLICATION' | 'DIVISION' | 'SUBTRACTION' | 'MASK_ALL' | 'MASK_FIRST_N' | 'MASK_LAST_N' | 'VALIDATE_NON_NULL' | 'VALIDATE_NON_ZERO' | 'VALIDATE_NON_NEGATIVE' | 'VALIDATE_NUMERIC' | 'NO_OP' — The operation to be performed on the provided Zendesk source fields.
          - `DestinationField` string — A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
          - `SourceFields` StringTo2048[], required — The source fields to which a particular task is applied.
          - `TaskProperties` object — A map used to store task-related information. The service looks for particular information based on the TaskType.
          - `TaskType` 'Arithmetic' | 'Filter' | 'Map' | 'Mask' | 'Merge' | 'Truncate' | 'Validate', required — Specifies the particular task implementation that Amazon AppFlow performs.
        - `TriggerConfig` object, required — The trigger settings that determine how and when the flow runs.
          - `TriggerType` 'Scheduled' | 'Event' | 'OnDemand', required — Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
          - `TriggerProperties` object — Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.
            - `Scheduled` object — Specifies the configuration details of a schedule-triggered flow that you define.
              - …
      - `Batches` Batch[] — Batches in workflow of type <code>APPFLOW_INTEGRATION</code>.
        - `StartTime` string, date-time, required — Start time of batch to split ingestion.
        - `EndTime` string, date-time, required — End time of batch to split ingestion.
  - `ObjectTypeName` string, required — The name of the profile object type.
  - `RoleArn` string, required — The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your behalf as part of workflow execution.
  - `Tags` object — The tags used to organize, track, or control access for this resource.

## Response `200`

Success

- CreateIntegrationWorkflowResponse
  - `WorkflowId` string, required — Unique identifier for the workflow.
  - `Message` string, required — A message indicating create request was received.

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