Automate the creation of structured GitHub release notes and changelogs using an n8n workflow. Compares version tags and uses AI agents to summarize code differences.
Download this n8n workflow template and start using it instantly.
This sophisticated n8n workflow solves the crucial, yet often manual, problem of compiling accurate changelogs after a software release. By leveraging the GitHub API and integrating advanced large language models (via the OpenRouter/LangChain n8n node), this n8n template automatically tracks the differences between two published Git tags. When a new release event is detected by the n8n trigger, the workflow efficiently fetches detailed commits and files changed. This raw data is fed into a series of AI agents which categorize the changes into features, bug fixes, and improvements. The final output is a clean, SEO-friendly, markdown-formatted release note, ready for immediate publication, drastically accelerating the documentation pipeline for any development team relying on n8n.
Github Trigger n8n trigger, configured to listen specifically for new release events within the specified GitHub repository.Fetch the latest release body and Set Repo & Owner) extracts the repository owner, name, and the current tag from the webhook payload, standardizing variables for downstream nodes.Get the last two releases GitHub n8n node fetches the recent release history. The Get the last two release tags Code n8n node then executes critical logic to correctly identify the currentTag and the previousTag necessary for comparison.HTTP Request n8n node calls the vital GitHub Compare API endpoint (using the URL .../compare/{{previousTag}}...{{currentTag}}). This API request fetches the complete detailed diff, including commit messages and file patches.Confirm diff Code n8n node processes this complex JSON diff payload. It simplifies commit and file data, determines if actual changes occurred (hasChanges), and creates a clean JSON structure optimized for AI consumption.Summarize release differences LangChain Agent n8n node (using an OpenRouter model) categorizes the technical changes into high-level groups (e.g., New features, Bug fixes).Generate latest release notes LangChain Agent n8n node takes this summarized data and generates the final, polished Markdown release notes, strictly adhering to the output format defined in the n8n node prompt. This robust n8n workflow ensures high-quality content generation.Github Trigger, the Get the last two releases GitHub n8n node, and the Fetch release details from last two releases HTTP Request n8n node.OpenRouter Chat Model and OpenRouter Chat Model1 n8n node instances, ensuring the AI can process the requests.Github Trigger n8n trigger, specify the correct Repository Owner and Repository Name for the project you wish to automate. Github Trigger (n8n trigger): Sets up a webhook to initiate the n8n workflow specifically when a new release event is published in the configured GitHub repository.
Get the last two releases (GitHub n8n node): Executes a release: getAll operation, limited to the two most recent releases, essential for establishing the comparison window.
Get the last two release tags (Code n8n node): Contains custom JavaScript logic to safely extract and validate the currentTag and previousTag from the fetched releases.
Fetch release details from last two releases (HTTP Request n8n node): Performs the critical API call to GitHub's Compare endpoint, using dynamic expressions to include the owner, repo, and the two comparison tags, retrieving the full code diff.
Confirm diff (Code n8n node): Cleans and simplifies the large GitHub diff payload, restructuring the commit and file change data into a format optimally consumable by the subsequent AI LangChain n8n node.
Summarize release differences (LangChain Agent n8n node): Uses a powerful prompt and the OpenRouter connection to analyze the structured diff data, grouping technical changes into user-friendly summary sections (e.g., Features, Bug fixes).
Use this powerful n8n workflow to automate monthly GLPI support performance reports, calculate SLA compliance based on defined business hours, and deliver professional, dynamic HTML reports via Gmail.

Use this n8n workflow to automate customer support replies. It uses AI to classify inbound Gmail emails, identify the customer's geographic region, and generate tone-optimized replies, notifying Slack on success or manual review needed.

Use this powerful n8n workflow to automate AI video generation using Sora 2 models and instantly publish the content to TikTok using Postiz. Start with an n8n trigger form.

Use this advanced n8n workflow to automatically generate high-volume, compliant Google Ad copy using a product feed and Relevance AI. Includes custom n8n node character validation and saves results to Google Sheets. This n8n workflow optimizes your PPC campaigns.

Automate stunning wallpaper creation with this powerful n8n workflow. It combines GPT-4o-mini for compelling copy, Midjourney for imagery, and the Canvas API for professional graphic layout. Perfect for n8n users seeking advanced AI automation.

Developer Relations Engineer with over a decade of experience in the software industry and a drive to automate tasks that otherwise often result in miscommunication.







































