# Auto-create GitHub PRs & Jira updates: n8n workflow template

> Started by another system calling it, and works across Jira, Notion and Slack. 21 steps, 5 branches: large, and worth reading before you trust it with...

Source: https://millionrounds.com/workflow/auto-create-github-prs-and-jira-updates (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# Auto-create GitHub PRs & Jira updates

Started by another system calling it, and works across Jira, Notion and Slack. 21 steps, 5 branches: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fauto-create-github-prs-and-jira-updates)

**21 steps** Large: read it before trusting it with anything live

**5** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Logic 10 Service 10

The steps in the order they run, from what starts it.

- 1 **Webhook** Webhook *Starts it*
- 2 **Commit Message Breakdown** Code *Logic*
- 3 **Check for PR commands** If *Logic*
- 4 **Get task details for PR** Jira *Service*
- 5 **Check for task completed command** If *Logic*
- 6 **Check if PR exists** Http Request *Service*
- 7 **Get Task Details without PR.** Jira *Service*
- 8 **Invalid commit message** Stop And Error *Logic*
- 9 **Code** Code *Logic*
- 10 **Merge** Merge *Logic*
- 11 **Check if task exists** If *Logic*
- 12 **Check whether a PR already exists** If *Logic*
- 13 **Request to create PR** Http Request *Service*
- 14 **Update the task status without PR** Jira *Service*
- 15 **JIRA Task does not exist** Stop And Error *Logic*
- 16 **Check if task exist** If *Logic*
- 17 **Send message in slack without PR** Slack *Service*
- 18 **Append a block in notion without PR** Notion *Service*
- 19 **Update task status after PR** Jira *Service*
- 20 **Send message in slack with PR** Slack *Service*
- 21 **Append a block in notion with PR** Notion *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 21, with 5 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Jira, Notion, Slack
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Jira, Notion and Slack accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fauto-create-github-prs-and-jira-updates)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Jira](https://millionrounds.com/workflows?service=Jira#library)[Notion](https://millionrounds.com/workflows?service=Notion#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Automate event registration and QR check-ins** 21 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-event-registration-and-qr-check-ins)
- [**Automated SSL Certificate Monitoring and Renewal with Notion** 21 steps · Notion, Telegram](https://millionrounds.com/workflow/automated-ssl-certificate-monitoring-and-renewal-with-notion)
- [**Generate clean plates and automate object removal** 21 steps · Google Drive, Notion](https://millionrounds.com/workflow/generate-clean-plates-and-automate-object-removal)
- [**Launch off-boarding access reviews with Probo and Slack** 21 steps · Email, Slack](https://millionrounds.com/workflow/launch-off-boarding-access-reviews-with-probo-and-slack)
- [**List recent ServiceNow incidents in Slack** 21 steps · Slack](https://millionrounds.com/workflow/list-recent-servicenow-incidents-in-slack)
- [**Log new Google top-10 keywords to Airtable with DataForSEO** 21 steps · Airtable, Slack](https://millionrounds.com/workflow/log-new-google-top-10-keywords-to-airtable-with-dataforseo)
