Generate release notes automatically
A release notes automation works out what counts as a release in your project – tags, deploys, task tracker versions, or the last sprint – and where earlier notes live and in what voice. Then it decides how much the release deserves, from one sentence to themed sections, and writes the notes in Markdown, with every item linked to its issue or pull request and anything ambiguous flagged.
You build it from the Generate Release Notes template. The template only reads: it returns the notes in the run output and changes nothing. This topic shows how to run it when a release happens and where to send the notes.
Set up the automation
Create a release notes automation
On the Automations page, click New Automation. In Instructions, click Use Template and select Generate Release Notes under By Air.
Select the repository. If releases are tracked as versions or sprints in a task tracker, add its connector in Connectors – see MCP servers for automations.
Choose when the notes are written – see Run it when a release happens.
In Notifications, add a webhook that delivers the notes – to a Slack channel or to the system that publishes them. The notes are in
outputTextfor a Slack workflow and inoutput.resultfor any other URL – see Webhook payload.
Click Create.
Run it when a release happens
Your releases | Trigger |
|---|---|
Come out of a release pipeline | A Webhook trigger. Make the pipeline call the webhook after it tags the release, and send the new version and the previous tag in the JSON payload, so the agent doesn't have to work out the range. See Incoming webhooks. |
Follow a fixed cadence, such as two-week sprints | An At time trigger on the last day of the cycle. |
Happen when someone decides | No trigger. Click Run Now and enter the version in Context – see Run an automation manually. |
Whichever you pick, set the change handling to No code changes.
Write the notes to a file instead
To keep the notes in the repository, for example in CHANGELOG.md, change the template's instructions: remove the sentences that make the task read-only and return the notes in the thread, and say where the notes go. For example:
Then set the trigger's change handling to Create a PR, so a person reviews the notes before they're merged.