⚒️ Generate professional changelogs from Git commits with GPT-4 and GitHub

119 views · ⚒️ Engineering

💡 Pro Tip — If you need GitHub data beyond what the REST API gives you, ScraperNode has a repository scraper that extracts metadata at scale without token rate limits.

View All Scrapers

Description

AI-Powered Git Changelog Generator for Automated Release Notes

This workflow transforms your software release process by automatically generating clean, professional changelogs from your Git commit history. It listens for new version tags in your GitHub repository, uses AI to summarize the changes, and publishes a polished release note, saving you hours of manual work.

Disclaimer

This template is designed for self-hosted n8n instances and requires API credentials for GitHub and an AI provider (e.g., OpenAI, Google Gemini).

🚀 Key Features

⚙️ How It Works

The workflow is a linear process triggered by a webhook from GitHub.

1. GitHub Webhook Trigger

2. Fetch Commit History

3. AI Summarization

4. GitHub Release Creation

🛠️ Setup Steps & Credentials

To get this workflow running, you will need to configure the following credentials and settings:

  1. GitHub:
    • You need a GitHub Personal Access Token with repo scope to allow n8n to access your repository.
    • Create a GitHub OAuth2 Api or GitHub Api credential in n8n.
    • Assign this credential to the Get Commits and Create GitHub Release nodes.
    • In the Webhook node, copy the Test URL and add it as a new webhook in your GitHub repository’s settings (Settings > Webhooks). Set the content type to application/json and select “Just the push event” or “Send me everything,” then filter for tag pushes in the workflow itself.
  2. AI Provider (OpenAI / Gemini):
    • Obtain an API Key from your chosen AI provider (e.g., platform.openai.com or aistudio.google.com).
    • Create the corresponding credential in n8n (e.g., OpenAI API or Google Gemini(PaLM) Api).
    • Assign this credential to the Generate Changelog with AI node.

💡 Customization & Learning

This workflow is a powerful base that you can easily extend:

🔗 Nodes Used

GitHub, Github Trigger, AI Agent, OpenAI Chat Model, Simple Memory

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup