Types

ApprovalWorkflowStepInput

One step of the workflow to write, with the steps that follow it.

namerequired
string
The name of the step.
descriptionrequired
string
What the voters are asked to check at this step.
approval_labelrequired
string
The wording of the approve button at this step.
vote_typerequired
string
How many voters must approve for the step to pass. single: one voter. majority: more than half of the voters. unanimous: every voter.One of: single, majority, unanimous
voter_idsrequired
string (uuid)[]
The ids of the users who vote at this step, from `GET /approval-workflows/eligible-users`. 1 to 100, each once, all inside your tenant. Users lacking the type's permissions are dropped and listed in `meta.removed_user_ids`.
next_steps
The steps that follow once this one passes, each with these same fields. Leave out or send an empty list to end the workflow here.

Used by (1)