Create Workflow
Create a new workflow for a team.
Authentication and permissions
Token requirements: User-based token (OAuth) or Organization-scoped API key or Team-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The ID of the team.
The name of the workflow.
The content/code of the workflow.
A description of the workflow.
Whether the workflow requires form confirmation (optional).
Whether to publish the workflow after creation (optional).
The IDs of the tags to associate with the workflow.
Whether to list this workflow in the Service Catalog (optional). When omitted, the workflow is not listed.
Optional description shown at the top of the Service Catalog run form.
The access package, by name, whose connections this workflow's runs may use. Omit it, or send an empty string, to place the workflow in the team's default package. Names match case-insensitively; an unknown name is rejected. Ignored for teams without access packages.

