# Automation examples

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/air/llms.txt).

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](https://www.jetbrains.com/help/air/automation-templates.html.md#templates_by_air) 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](https://www.jetbrains.com/help/air/automations-quickstart.html.md), which sets up the code review example in a few steps.

<a id="pick_an_example"></a>

## Pick an example

| Example | Starts when | Leaves behind |
| --- | --- | --- |
| [Automate code review on pull requests](https://www.jetbrains.com/help/air/automate-code-review.html.md) | A pull request is opened, pushed to, or labeled | Inline review comments and a verdict |
| [Add missing tests to pull requests](https://www.jetbrains.com/help/air/add-tests-to-pull-requests.html.md) | A pull request is opened or labeled | A commit with tests on the pull request, or a comment why none are needed |
| [Fix failed CI builds automatically](https://www.jetbrains.com/help/air/fix-failed-ci-automatically.html.md) | A CI workflow, pipeline, or job fails | A pull request with the fix, or an analysis of the failure |
| [Turn bug reports into fix pull requests](https://www.jetbrains.com/help/air/fix-bugs-from-issues.html.md) | An issue gets a label, in GitHub, GitLab, or Jira | A pull request with a test and the fix, or findings on the issue |
| [Resolve merge conflicts in pull requests](https://www.jetbrains.com/help/air/resolve-merge-conflicts-automatically.html.md) | A weekly schedule | Merges pushed to the pull requests it could resolve, and a list of the rest |
| [Automate dependency upgrades](https://www.jetbrains.com/help/air/automate-dependency-upgrades.html.md) | A weekly schedule | One pull request with the upgrades that build and pass the tests |
| [Triage new issues automatically](https://www.jetbrains.com/help/air/automate-issue-triage.html.md) | An issue is created, in GitHub, GitLab, or Jira | Type and priority labels, and a comment with the reasoning |
| [Generate release notes automatically](https://www.jetbrains.com/help/air/generate-release-notes.html.md) | A release pipeline, a schedule, or Run Now | Release notes in Slack, another system, or `CHANGELOG.md` |
| [Post a daily standup summary to Slack](https://www.jetbrains.com/help/air/post-standup-summary-to-slack.html.md) | Every weekday morning | A Done, In progress, and Needs attention summary in a Slack channel |

<a id="combine_examples"></a>

## 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](https://www.jetbrains.com/help/air/add-tests-to-pull-requests.html.md#add_tests_chain_review). For how to connect steps, see [Multi-step workflows](https://www.jetbrains.com/help/air/multi-step-workflows.html.md).

<a id="automate_something_else"></a>

## Automate something else

For a workflow no example covers, start from an empty form – see [Define an automation](https://www.jetbrains.com/help/air/create-automation.html.md). The rules that make the examples' instructions work without anyone watching apply to yours too – see [Write instructions for unattended runs](https://www.jetbrains.com/help/air/create-automation.html.md#automation_instructions).

