Back to Templates

Generate & Email Professional Release Notes with GitHub, JIRA & Google Gemini

Created by

Created by: Intuz  || intuz

Intuz

Last update

Last update a day ago

Share


Description

This workflow automates the creation and distribution of professional-quality release notes. It triggers on a push event to a specified GitHub repository, extracts JIRA issue keys from the commit messages, and fetches the corresponding details from JIRA.

Using this enriched data, a Google Gemini model generates a comprehensive release note in clean HTML format, summarizing the key changes for business stakeholders. Finally, the generated note is sent out via email, keeping teams and clients informed about new deployments.

This template is perfect for development teams looking to streamline their release process, ensure consistent communication, and eliminate the manual effort of writing release notes.

How to use

1. Set up Credentials:

  • GitHub
  • JIRA (Software Cloud API)
  • Google Gemini (or another PaLM/LLM provider)
  • Your SMTP email server.

2. Configure the GitHub Trigger:

  • Select the Github Trigger node.
  • In the Repository Owner field, enter your GitHub username or organization name.
  • In the Repository Name field, select the repository you want to monitor.

3. Verify the JIRA Integration:

  • Important: This workflow assumes your commit messages contain a JIRA key (e.g., "PROJ-123: Fix login bug").
  • Select the first Code node. It uses a regular expression ([A-Z]+-\d+)/i to find JIRA keys. Adjust this expression if your team uses a different format.
  • Select the Get an issue node and ensure your JIRA credentials are correctly configured.

4. Customize the AI Prompt:

  • Select the Basic LLM Chain node. You can edit the prompt to change the tone, style, or structure of the generated HTML release note to match your company's standards.

5. Configure Email Notifications:

  • Select the Send email node.
  • Update the To Email field with the recipient's email address (e.g., a team distribution list or a stakeholder's email).
  • Customize the From Email and Subject line as needed.

6. Activate Workflow:

  • Save your changes and activate the workflow. Now, every push to your configured repository will trigger the automated generation and sending of release notes.

Required Tools

  • GitHub: To trigger the workflow on code pushes.
  • JIRA: To fetch details about the tasks and bugs included in the release.
  • Google Gemini: To intelligently generate the release note content. (You can swap this for another LLM supported by n8n).
  • SMTP Provider: To send the final release note via email.