Export Workflow (master token)

POST https://{{base_url}}/graphql

The exportWorkflows mutation can be used to export the workflows from your embedded account. This is handy when you want to import workflows to your 'production' account from 'staging'.

Required tokenNotes
MasterObtained from the Tray app UI. Refer this.

The mutation accepts the following arguments:

ArgumentRequiredNote
workflowIdsYesArray of workflow IDs.

Workflow ID can be obtained from the url of target workflow page: https://app.tray.io/workflow/{workflowId}

It can return the following data:

Returned DataNotes
exportedWorkflowsJsonStringified JSON of the array of workflows