v1

latestOpenAPI 3.1.02026-07-2498134321.1 KB
Workflows

Launch a Workflow from an Attribute Source

Launches a workflow from a source object using a pre-existing workflow sync mapping. Currently only supports Coupa and Salesforce.

OAuth Scope required: public.workflows.createFromSource

post/attribute-source/{sourceId}/launch

Path parameters

sourceIdstring required

The unique identifier of the attribute source configuration.

Query parameters

externalIdstring

Salesforce sources only. The Salesforce record ID. Not used for Coupa sources, which derive the external ID from the request body.

approvalType'LaunchContract'

Coupa-specific parameter that determines the launch flow type.

Headers

x-as-user-emailstring
Example:jane.doe@test.com

Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or x-as-user-id is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. More information about permissions.

x-as-user-idstring
Example:5f0375c4cdc1927a3c5edcd3

Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or x-as-user-email is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. More information about permissions.

Request body

object required

Response

Workflow created successfully, or a conflict was detected for Coupa sources.

object required

Returns either a WorkflowResponseModel or a conflict message object.