AM Logo
API DocumentationForm Definitions
  1. Home
  2. API Documentation
  3. Outcomes
  4. Mutations
  5. addWorkflowScript

addWorkflowScript: WorkflowScript!

This mutation is used to create a new script for a workflow from scratch. Return will be specific to the newly added script. **Returns:** Returns the newly created workflow script data.

workflowId: UUID!

The ID of the workflow that will be affected.

workflowScriptInput: WorkflowScriptInput!

>Script detail inputs. This includes body,event type and name.