Docs

Create Workflow

Create an empty workflow. It starts disabled: add its triggers and steps with Add Workflow Trigger and Add Workflow Step (or in the app), publish it, then enable it with Update a Workflow.

POST

Headers

Optional headers
string

Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.

Body

Arguments
stringrequired

The name your team will see in the app.

array of string

Tag ids to put on the workflow, from the workflow tag catalog.

Default: []

string

workflow, or function for one other workflows call.

workflow (the default), or function: a workflow other workflows call with Run Workflow.

Default: workflow

  • workflow
  • function

Response fields

idstring

Unique id of the workflow.

namestring

The name your team gave the workflow.

typestring

The workflow's type.

isActiveboolean

True while the workflow is enabled and able to run.

isTemplateboolean

True if this is a template rather than a live workflow.

sizestring

The workflow's runner size: xs, sm, md, lg, xl, or xxl. Empty when sized automatically.

tagsarray of string

Ids of the tags on the workflow. The tag catalog is managed in the app.

createdOndate

When the workflow was created.

createdBystring

Who created it.

updatedOndate

When it was last changed.

updatedBystring

Who last changed it.