Skip to main content

The workflow trigger model is used within workflow event invocation requests.

Properties

Name Type Format Description
language? string The language of the target entry variation
version? string {Major}.{Minor} The version number of the target entry variation
event string The name of the workflow event to invoke
data? object Data to include with the workflow event invocation

Example

This example shows a workflow trigger.

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