Generate GitHub Release Notes with AI Comparison

Go to Workflow
0 views
Built by Richard Black Richard Black
Created on June 15, 2026

Description

Generate GitHub Release Notes with AI

Automatically generate GitHub release notes using AI.

This workflow compares your latest two GitHub releases, summarises the changes, and produces a clean, ready-to-paste changelog entry.

It’s ideal for automating GitHub Releases, versioning workflows, and keeping your documentation or CHANGELOG.md up to date without manual editing.

What this workflow does
Listens for newly published GitHub Releases.
Fetches and compares the latest two GitHub release versions.
Uses an AI Chat Model to summarise changes and generate structured release notes.
Outputs clean, reusable release note content for GitHub, documentation, or CI/CD pipelines.

How it works
GitHub Trigger detects a new published release.
Release detail nodes extract the latest tag, body, and repository metadata.
Comparison logic fetches the previous release and prepares a diff.
Chat Model nodes (via OpenRouter) generate both a summary and a final, formatted release note.

Requirements / Connections
GitHub OAuth credential configured in n8n.
OpenRouter API key connected to the Chat Model nodes.

Setup instructions
Import the template.
Select your GitHub OAuth connection in all GitHub nodes.
Add your OpenRouter credential to the Chat Model nodes.
(Optional) Adjust the AI prompts to customise tone or formatting.

Output
The workflow produces:
A concise summary of differences between the last two GitHub releases.
A polished AI-generated GitHub release note ready to publish.

Customisation ideas
Push generated notes directly into a CHANGELOG.md or documentation repo.
Send release summaries to Slack or Teams.
Include commit messages, PR titles, or labels for deeper analysis.

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
GitHub
n8n-nodes-base.github
HTTP Request
n8n-nodes-base.httpRequest
OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter