Creates a new automation for the specified project.

Creates a new automation for the project with the specified id. The user needs to be the owner of the project or have 'write' permissions of the feature 'project-master-data' globally or in the project. <Note title="Subscription Level" icon="layer-group">This endpoint requires the `Standard` plan or higher.</Note> <Check title="Required Permissions" icon="key">Any authenticated user.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

projectIdstringRequiredformat: "uuid"
The id of the project.

Request

The model to create the automation.
typestringRequired>=1 character
The type of the trigger.
valueslist of objects or nullOptional
The values of the trigger.

Response

OK
idstring or nullformat: "uuid"
The id of the automation.
createdBystring or nullformat: "uuid"
The id of the user who created the automation.
createdOndatetime or null
The date the automation was created.
updatedBystring or nullformat: "uuid"
The id of the user who updated the automation.
updatedOndatetime or null
The date the automation was updated.
triggerIdstring or nullformat: "uuid"
The id of the trigger which is related to the automation.
triggerobject or null
enabledboolean or null
Whether the automation is enabled.
statestring or null
The state of the automation. See AutomationsService.DAL.Models.AutomationState for the possible values.
createdByProjectTemplateboolean or null
Whether the automation was created from an automation template of a project template.
projectIdstring or nullformat: "uuid"
The id of the project which is related to the automation.
projectTemplateIdstring or nullformat: "uuid"
The id of the project template which is related to the automation.
actionslist of objects or null
The actions which is related to the automation.
workflowIdstring or nullformat: "uuid"
The workflow this automation belongs to, if any.
createdByAutomationIdFromWorkflowstring or nullformat: "uuid"
The id of the workflow automation that served as the template for this automation.
failedobject or null
The API error response.