workflowCreate
Create a workflow. The workflowCreate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: workflow:write
For a complete list of input attributes see the WorkflowAttributes type
mutation workflowCreate ($attributes: WorkflowAttributes!) {
workflowCreate (attributes: $attributes) {
errors
workflow {
description
enabled
format
id
isolateToUserId
keepUpdated
name
recipe
standard
targetClass
workflowCategoryId
workflowSchedule
}
}
}
ArgumentsLink to Arguments section
{
"attributes": {
"workflowCategoryId": "456123",
"name": "",
"recipe": "",
"description": "",
"enabled": true,
"isolateToUserId": "456123",
"keepUpdated": true,
"format": ""
}
}
| Name | Type | Description |
|---|---|---|
| attributes | WorkflowAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| workflow | Workflow |