Skip to main content

The workflow trigger model is used within workflow event invocation requests to move a resource to another state or perform a workflow action.

Properties

NameTypeFormatDescription
languagestringThe language of the target entry variation (if applicable).
versionstring{Major}.{Minor}The version number of the target resource.
eventstring{workflowStateId}.{workflowEventId}The workflow event to invoke.
dataobjectData to include with the workflow event invocation. Each event type may have different properties that can be included.

Example

This example shows a workflow trigger to invoke a submit event for an entry.

json
{
    "language": "en-GB",
    "version": "2.3",
    "event": "draft.submit",
    "data": {
        "message": "Have updated the final paragraph"
    }
}

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request