Draft customer-facing changelogs from merged GitHub PRs with OpenAI and Gmail
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs on a schedule (every week at 16:00) (plus 1 other trigger). Along the way it connects GitHub, OpenAI Chat Model and Gmail.
How it runs
Trigger: On a schedule (every week at 16:00) (plus 1 other trigger).
- Settings (Edit Fields (Set)): sets 7 fields: repos, days, skip_prefixes…
- List Your Repos (Code): runs custom JavaScript code
- Fetch What Closed Recently (GitHub): get issues (repository)
- Keep Only What Shipped (Code): runs custom JavaScript code
- Drop What Nobody Can See (Code): runs custom JavaScript code
- Read What You Already Shipped (Data table): get
- Only What Is New (Code): runs custom JavaScript code
- Anything To Write About? (If): checks a condition and branches into true / false
- Would A Customer Notice? (Basic LLM Chain): sends a prompt to an LLM, with model: Model
- Read The Verdicts (Code): runs custom JavaScript code
…plus 6 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - GitHub
n8n-nodes-base.github - Data table
n8n-nodes-base.dataTable - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview Reads merged pull requests from your repositories, drops the bots and the changes nobody outside the team can see, asks a model which of the rest a customer would notice, and drafts the changelog as a Gmail draft. Nothing is sent. How it works…