Automation Workflow Create Payload
Return type for mutation.
Anchor to FieldsFields
- automationWorkflow (AutomationWorkflow)
- userErrors ([AutomationWorkflowUserError!]!)
- Anchor to automationWorkflowautomation•Automation
Workflow Workflow The saved draft automation. Returns
nullif an error is raised.Show fields
- Anchor to userErrorsuser•[Automation
Errors Workflow User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Anchor to Mutations with this payloadMutations with this payload
- automationWorkflowCreate (AutomationWorkflowCreatePayload)
- •mutation
Creates a draft automation from a JSON configuration.
Input errors are returned in
and nothing is saved. A saved draft can still havefor its configuration andfor non-structural blockers; resolve both before activating.Show payload
- Anchor to configurationconfiguration•JSON!required
The JSON configuration used to create the automation, including
__metadata.versionset to0.1androot. Define its logic inroot.steps,root.links, and. Supply name, tags, and note as separate arguments;,root.tags, androot.noteare rejected. See the workflow configuration JSON Schema.- Anchor to namename•String!required
The automation name, shared by all versions. Null and blank names are rejected.
- Anchor to notenote•String
The note for the new draft, separate from configuration and step notes. Omit or use null to leave it unset.
- •[String!]
The automation tags, shared by all versions. Omit or use null to create the automation with no tags.
Arguments