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 token | Notes |
|---|---|
| Master | Obtained from the Tray app UI. Refer this. |
The mutation accepts the following arguments:
| Argument | Required | Note |
|---|---|---|
| workflowIds | Yes | Array 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 Data | Notes |
|---|---|
| exportedWorkflowsJson | Stringified JSON of the array of workflows |