Automations
An automation is one job in your workspace. It starts an agent with its own prompts and instructions, or runs Bash steps, and adds its results to the task.
An automation is one job in your workspace. It starts an agent with its own prompts and instructions, runs Bash steps, or does both. You define the job once, and every matching event starts a new automation run.
Each automation run works on a task. It reads what earlier automation runs left there and adds what it produces, such as a check, an artifact, or a pull request.

How automations work together
Section titled “How automations work together”Your workspace coordinates the work. It decides which automations belong to each stage and what starts each one.
Automations never call each other. The task carries the work between them: each automation run reads the task and adds what it produces, and the next automation run picks up from there.
Moving the task is the handoff. When a task enters a stage, that stage’s automations start. For example, an automation in Implement opens a pull request. When the task moves to Verify, automations there review each revision of that pull request. See Moving work forward for when a task moves on.

What starts an automation
Section titled “What starts an automation”A trigger is the event that starts an automation run. It also decides whether the automation run starts with a task.
- Task enters stage
- Starts when a task arrives in the automation’s stage. Use it to start implementation or prepare a release.
- Task leaves stage
- Starts when a task leaves the stage. Use it to tell another system that the work moved on.
- Pull request updated
- Starts when the task’s pull request changes. Use it to review each revision while the task stays in Verify.
- Manual
- Starts when a person chooses to run it, on a task or without one.
- Schedule
- Starts on a cron schedule, such as a daily search for dependency updates. It runs without a task.
- Webhook
- Starts when another system sends a request to a workspace webhook. It runs without a task.
An automation can have more than one trigger, and each one starts an automation run on its own. See Triggers for which triggers each stage can use.
What an automation runs
Section titled “What an automation runs”An automation is a list of steps. They run in order, in one sandbox, so a later step can read files an earlier step wrote.
- Bash step
- Shell commands, for when you know the command and what its exit status means, like running a test suite. A Bash step can also use secrets by name.
- Prompt step
- Starts the agent with a prompt, for work that needs judgment, like reading test output and explaining a failure. Later Prompt steps continue the same agent session.
If a step fails, the automation run stops and fails. Use only Bash steps, only Prompt steps, or mix them. See Steps.
What each automation sets for its agent
Section titled “What each automation sets for its agent”Every agent starts from the workspace’s Agent settings: repositories, setup steps, MCP servers, and skills. Each automation then sets how the agent works on this job: its model and thinking level, how long an automation run can take, and whether to skip the checkout or the setup steps. Pick a stronger model for implementation and a lighter one for routine checks. See Automation settings.
What an automation run adds to the task
Section titled “What an automation run adds to the task”An automation run leaves its results on the task, so the next one starts from them. Its agent uses built-in tools, and Bash steps use the superplane task command, to:
- Save artifacts, such as a plan, a branch, a link, or a screenshot.
- Record checks with a score and a reason.
- Open a pull request.
- Move the task to another stage.
Automation runs started by a schedule or webhook have no task. They can create one, for example when a nightly scan finds a dependency update. An automation that creates tasks is an intake.
See Tasks for what a task holds, and the Agent tools reference for every tool.
Example: review checkout on every revision
Section titled “Example: review checkout on every revision”This automation runs in Verify each time the task’s pull request changes. Bash runs the checkout tests, the agent records the result as a check, and the last step returns the test status.
apiVersion: v2kind: Automationname: Checkout reviewrun_context: tasktriggers: - uses: pull_request_updatedsteps: - name: Run checkout tests bash: | status=0 npm run test:checkout > /tmp/checkout.log 2>&1 || status=$? cat /tmp/checkout.log echo "$status" > /tmp/checkout.status - name: Record the result prompt: | Read the task description, /tmp/checkout.log, and /tmp/checkout.status. Record a check on this task with the key checkout-tests. Explain whether checkout still works after the change. If the tests could not run, say why and leave the result unverified. - name: Return the test status bash: exit "$(cat /tmp/checkout.status)"The first step saves the status instead of failing, so the agent can still explain a failed test. Because the check keeps the same key, each revision replaces the earlier result instead of adding another one. The last step fails the automation run when the tests fail.
Automations as code
Section titled “Automations as code”Each automation is a YAML file in .superplane/automations/, and the workspace manifest places it in a stage. Review changes to automations in a pull request, like any other code, then plan and apply them with the SuperPlane CLI. See Workspace as code.
Intakes
Section titled “Intakes”An intake is any automation that creates tasks. It’s how work enters your workspace. You can build one in three ways:
- From a source. Start the automation from new items in GitHub issues, Linear, Jira, Sentry, Dependabot, or Datadog, and turn each one into a task. When you set one up, it can also import the newest open items, so Backlog doesn’t start empty.
- From a webhook. Start a custom automation with a webhook. Any tool that can send a request can then create tasks, and the agent reads the request body.
- On a schedule. Let the agent look for work, such as a daily sweep for flaky tests, and create a task for each one it finds.
An agent creates a task with the create_task tool, and a Bash step with superplane task create. Both take a title, a description, and an optional link to the source item. If a task that isn’t closed already has that link, you get that task back instead of a duplicate.
New tasks start in Backlog and continue like any other task. See How automations work together.
Automation runs
Section titled “Automation runs”An automation run is one execution of an automation. It records each step’s output, the outcome, and its usage: model tokens, runner time, and estimated cost. The task keeps its automation runs together by stage, so you can compare attempts. See Tasks.
Moving work forward
Section titled “Moving work forward”Finishing an automation run and moving the task are separate. With auto-advance on, the task moves to the next stage after the stage’s automations pass. With it off, the task waits until a person or an automation moves it.
Automations started by a pull request update don’t hold up auto-advance. If a task must not move before a check passes, turn auto-advance off and move the task when the check passes. See Stages.