Automation examples
These examples set up the workflows teams usually automate first with Air Teams automations, from AI code review on every pull request to a daily standup summary in Slack. Each one starts from a built-in template and adds what the template leaves to you: the trigger that fits, the change handling, the connectors and environment the run needs, and instructions you can paste to make it follow your team's rules.
New to automations? Start with the quickstart, which sets up the code review example in a few steps.
Pick an example
Example | Starts when | Leaves behind |
|---|---|---|
A pull request is opened, pushed to, or labeled | Inline review comments and a verdict | |
A pull request is opened or labeled | A commit with tests on the pull request, or a comment why none are needed | |
A CI workflow, pipeline, or job fails | A pull request with the fix, or an analysis of the failure | |
An issue gets a label, in GitHub, GitLab, or Jira | A pull request with a test and the fix, or findings on the issue | |
A weekly schedule | Merges pushed to the pull requests it could resolve, and a list of the rest | |
A weekly schedule | One pull request with the upgrades that build and pass the tests | |
An issue is created, in GitHub, GitLab, or Jira | Type and priority labels, and a comment with the reasoning | |
A release pipeline, a schedule, or Run Now | Release notes in Slack, another system, or CHANGELOG.md | |
Every weekday morning | A Done, In progress, and Needs attention summary in a Slack channel |
Combine examples
The examples work on their own, and they also work together. A triage automation labels bugs, and a bug fix automation takes the ones a person marks for it. A test automation adds tests to a pull request and then starts the code review, so the review sees the tests – see Review the pull request after the tests are in. For how to connect steps, see Multi-step workflows.
Automate something else
For a workflow no example covers, start from an empty form – see Define an automation. The rules that make the examples' instructions work without anyone watching apply to yours too – see Write instructions for unattended runs.