Goal
Control what an automation may do and approve its paused steps.Prerequisites
- Owner or Admin of the team, or the owner of a personal automation.
Workflow
1
In the editor, choose Edit what it can do and pick the actions the automation may use.
2
When a run pauses, open it from Runs, Happening now, or Approvals.
3
Read the step and its inputs, then choose Approve or Decline. For a destructive step, type the automation’s name to approve.
What it can do
- An automation can only use the actions on its list. A step outside the list cannot be saved, and at run time fails with Not allowed.
- Only Owners and Admins change the list, and only with actions they hold themselves.
- The person who created an automation can keep editing and running it while they have the Developer role. Other members and Viewers can read it.
Which steps pause
- Read, write and notify actions run straight away.
- Ask-first and destructive actions pause with Waiting for an Owner or Admin to approve.
- A Test run pauses on the same steps and does the real thing once approved. Decline to stop it there.
Approving
- Every Owner and Admin gets the request. The first decision settles it.
- Approve from the run page, from Approvals, with stackshift automations approve RUN, or POST /api/v1/automations/runs/{runId}/approval with decision approved or denied.
- Declining ends the run as declined.
- If nobody decides within 7 days, the run is cancelled: Nobody approved <step> within 7 days.
Expected result
Allowed steps run on their own, and risky steps wait for a person.
Related guides
Runs and recovery
Every run records each step’s input, output and error. Cancel a run, run it again from a step, or rerun every failed run after a fix.
Roles
Every person on a team has a role: Owner, Admin, Developer, Viewer or Billing. Developers build and deploy; once Access is switched on, they cannot delete production resources.