Approvals and manual steps: a workflow that waits for a manager's approval, branches on the answer and hands the team a task, then approving and completing it (1:29).

Ask for approval
Add the step
Manager approval: later steps read its answer by name.
Choose the approver and write the request


Branch on the answer
ctx.steps['Manager approval'].approved === true, the label Approved and Default Branch Rejected.![A Condition with Condition 1 reading ctx.steps['Manager approval'].approved, Label Approved, Default Branch Rejected and Condition Language Javascript.](https://mintcdn.com/triggr/XztmSfsoAUpshfIO/images/studio/workflows/approval-condition.png?fit=max&auto=format&n=XztmSfsoAUpshfIO&q=85&s=6a7c1c69ff041b813e97d247b741fee0)
Finish both paths
Add a manual step
Drag Manual Step from Approval onto the Approved path and fill in Title and Instructions. To collect details on completion, such as an order number, choose a Form (Optional).
Test it
Click Manual Trigger and enter:
Approve or reject
Find the request
app@triggr-app.com with a View Approval Request button. Every request is also on Approvals and under Pending Approvals on the Dashboard.

Open it

Approve

Or reject


What the workflow gets back
Later steps readctx.steps['Manager approval'].<field>:


Complete a manual step
Find the task


Do the task

Mark it complete

Check it's done

completed, completedByName, completedByEmail and manualStepId, plus formSubmissionId and the answers in submission when it has a form.

Other approval steps
FAQ
“You are not the designated approver for this request”
“You are not the designated approver for this request”
“Cannot approve or reject request because the workflow execution is not running”
“Cannot approve or reject request because the workflow execution is not running”
The approver didn't get an email
The approver didn't get an email
app@triggr-app.com.Can a client or someone outside Studio approve?
Can a client or someone outside Studio approve?
Do requests expire or send reminders?
Do requests expire or send reminders?
Validate warns “Field path 'approved' not found in observed output of step …”
Validate warns “Field path 'approved' not found in observed output of step …”
approved, approvedByUserName, approvedByUserEmail and rejectionReason.Why is my manual step green while the run is still running?
Why is my manual step green while the run is still running?
"status": "pending", straight away. The run stays Running until someone completes it.Can someone reject a manual step?
Can someone reject a manual step?
Can I approve or complete from another system?
Can I approve or complete from another system?
executions:manage) scope: POST /api/v1/approvals/<id>/approve or /reject with { "actor": { "name": "Alex Morgan" }, "response": "…" }, and POST /api/v1/manual-steps/<id>/complete. See API keys and webhooks.
