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

addWorkflowScriptFromFile: WorkflowScript!

This mutation is used to create a new script for a workflow from an existing file. 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.

workflowScriptFileInput: WorkflowScriptFileInput!

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