WorkflowSubmitV1

Occurs when a content version is submitted to workflow.

Webhook Payload

The webhook event is encapsulated within a common wrapper structure providing general information about the event.

PropertyTypeDescription
idstringUniqueId of the event
versionstringVersion of the event
occurredAtstringTime at which the event occured
tenantIdstringTenantId
tenantNamestringTenantName
dataobjectThe container of the event details data object details
applicationstringApplication
productAreastringProduct Area

data object details

PropertyTypeDescription
userIdstringThe unique identifier for the user
targetSourcestringThe source of the target, value is one of 'Engagement' / 'ContentManager'
targetInfoobjectTarget Info targetInfo object details
workflowsarray of objectsWorkflows workflows array object details
acknowledgmentsarray of objectsAcknowledgments acknowledgments array object details

targetInfo object details

PropertyTypeDescription
teamSiteIdstringThe unique identifier for the team site
contentIdstringThe unique identifier for the content
contentVersionIdstringThe unique identifier for the content version

workflows array object details

PropertyTypeDescription
workflowIdstringThe unique identifier for the workflow
workflowNamestringThe name of the workflow
selectedApproverstringThe selected approver for the workflow

acknowledgments array object details

PropertyTypeDescription
idstringThe unique identifier for workflow acknowledgment
namestringThe name of the workflow acknowledgment
titlestringThe title of the workflow acknowledgment
statementstringThe statement of the workflow acknowledgment
versionstringThe version number of the workflow acknowledgment

Example

{
  "id": "GUID",
  "version": "WorkflowSubmitV1",
  "occurredAt": "2023-01-20T21:13:25.268Z",
  "tenantId": "b4d8bb18-dc97-4e18-8049-50a04edf453f",
  "tenantName": "fsdev",
  "data": {
    "userId": "36032adf-2435-485a-870f-b75520c0b6da",
    "targetSource": "ContentManager/Engagement",
    "targetInfo": {
      "teamSiteId": "47e52009-1ac8-4b89-bacc-3a2268725fb8",
      "contentId": "7ea7db16-a0de-4990-a6a6-206c5d958811",
      "contentVersionId": "7ea7db16-a0de-4990-a6a6-206c5d958811"
    },
    "workflows": [
      {
        "workflowId": "7ea7db16-a0de-4990-a6a6-206c5d958811",
        "workflowName": "workflow 1",
        "selectedApprover": "36032adf-2435-485a-870f-b75520c0b6da"
      },
      {
        "workflowId": "36032adf-2435-485a-870f-b75520c0b6da",
        "workflowName": "workflow 2",
        "selectedApprover": "36032adf-2435-485a-870f-b75520c0b6da"
      }
    ],
    "acknowledgments": [
      {
        "id": "7ea7db16-a0de-4990-a6a6-206c5d958811",
        "name": "attestation 1",
        "title": "attestation title",
        "statement": "statement 1",
        "version": "1"
      },
      {
        "id": "7ea7db16-a0de-4990-a6a6-206c5d958845",
        "name": "attestation 2",
        "title": "attestation title",
        "statement": "statement 2",
        "version": "2"
      }
    ]
  },
  "application": "Workflow",
  "productArea": "MarketingExperience"
}