Create an automation
- Open your project and select Automations in the sidebar, under Alerting.
- Select New automation.
- Under Choose a template, select Create active automation on the template that you want.
Templates
Select Templates on the Automations page to read what each template does. You can also
run every automation by hand.
What happens after a run
Most templates run as a read-only Squasher Agent conversation. When the conversation ends, the agent reports one of these results:
Each finding also opens a thread in Chat, so you can ask the agent about it.
When the agent needs a person, for example to decide on a risky change or to take an action that it
cannot do, it asks one question. Squasher sends a high-priority notice to the person on call for the
project. When nobody is on call, it goes to the person who created the automation. Answer in the
thread that the notice opens. When the agent offers numbered answers, reply with a number or with
your own answer. The same question on a later run joins the same thread and does not
notify again on the same day.
When a finding is a new or worse issue, the agent can start AI triage on it.
Triage then follows your project’s automatic triage and Auto-fix settings, so
a fix pull request opens only when those settings allow it. The agent also records what it learned
in its memory when the lesson matters for later runs. It also reads the results of its earlier
runs, so a later run does not report the same cause again.
CI Failure Grouper, Dependency Drift Reviewer, Untested Path Finder, and AGENTS.md Workflow Updater
produce a structured report instead. Their outputs can need approval.
Run, pause, or remove an automation
Open the automation from the Workflows view. On its page:- Run now starts a run at once.
- Pause stops the schedule. Activate starts it again.
- Archive sets the automation to archived, so it does not run.
- Delete removes it. Confirm with Delete automation.
Limits
- An automation does not open pull requests itself. It starts triage, and Auto-fix opens the pull request when your settings allow it.
- The budget fields of an automation are stored, but Squasher does not stop a run when it goes over each configured field. Separate agent safety limits stop excess model calls and context growth. A run that reaches a safety limit fails and retains its recorded usage.
- Text from logs, replays, and incidents is data for the agent, not instructions.
Manage automations with the API
The API paths are under/v1/projects/{project_id}/automations,
/v1/projects/{project_id}/automation-templates, /v1/projects/{project_id}/automation-runs, and
/v1/projects/{project_id}/automation-capabilities. API keys need these scopes:
See Automations API.
Next steps
AI triage
See how Squasher triages each new issue.
Monitors and incidents
Open incidents that an automation can review.