Skip to main content
Live. This area is documented as current, user-reliable behavior.

Goal

Build the steps an automation runs.

Prerequisites

  • An automation with a trigger.

Workflow

1
Choose Add a step.
2
Pick a basic step, or a StackShift action grouped by product under runs straight away or asks first.
3
Fill in its inputs. To use an earlier result, insert {{ steps.N.path }}.
4
Save. StackShift checks every required input and that the automation may use each action.

Basic steps

  • Call a web address: GET, POST, PUT or PATCH to a public HTTPS URL without a port, with optional query, headers, a JSON body up to 256 KiB, a secret, and a timeout of 1 to 30 seconds. Responses are read up to 1 MiB.
  • Check a value: compares a field with equals, not equals, exists, contains, in, greater than or less than, and continues on the yes or If no branch.
  • Ask Stackie: gives Stackie an objective and the shape of the answer you want, with the tools it may use. Stackie can only use tools that run straight away, and each call is checked against what the automation can do. It has up to two minutes.
  • Wait: pauses between 1 second and 24 hours.

StackShift actions

Any platform action can be a step, for example restarting a database, deploying a project, sending a mail message or moving a support ticket. The inputs are the action’s own fields. The list of actions and their tiers is in the API at GET /api/v1/automations/actions and in the platform action reference.

Expected result

The steps run in order and each one’s output is available to the next.

What an automation can do, and approvals

Each automation has its own allowed actions. Steps that ask first or are destructive pause for an Owner or Admin, for up to 7 days.

Secrets and credentials

Store API keys on the automation itself. Each secret is encrypted, sent only to the one host you name, and never shown in runs or events.

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.