Automate GitHub Issues Tracking in Notion with n8n

Discover how this n8n workflow automates syncing GitHub issue events with a Notion database, eliminating manual updates and saving hours. It tracks issue lifecycle changes like opening, editing, closing, and reopening in real time to keep your project management seamless.
githubTrigger
notion
function
+2
Workflow Identifier: 1445
NODES in Use: GitHub Trigger, IF, Function, Notion, Switch

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does

This workflow listens for issue events from a GitHub repository and automatically updates a Notion database to match those changes.

It creates new Notion pages when an issue opens, edits pages when the issue updates, deletes pages if the issue is deleted, and marks issues closed or reopened in Notion.

This workflow saves time and avoids mistakes from manually updating Notion to track GitHub issues.


Tools and Services Used

  • GitHub API and Webhooks: Sends issue event notifications to n8n.
  • Notion API: Manages pages in the Notion database.
  • n8n Automation Platform: Hosts and runs the workflow connecting GitHub and Notion.

How the Workflow Works

Inputs

  • GitHub webhook events about issues such as opened, edited, closed, reopened, or deleted.
  • Notion database configured with Issue ID (number), Link (URL), Issue title (title), and Closed (checkbox) properties.

Processing Steps

  • Trigger: A GitHub Trigger node starts the workflow when an issue event occurs.
  • Decision: An IF node checks if the event is a new issue opened.
  • Create Page: If opened, a Notion node creates a new page with the issue details.
  • Filter: For other events, a Function node builds a Notion filter targeting the page by Issue ID.
  • Find Page: A Notion node uses that filter to find the right page in the database.
  • Switch: A Switch node routes events by type: edited, deleted, closed, reopened.
  • Update Page: Depending on the event, Notion nodes edit the page title, archive the page, or check/uncheck the Closed box.

Output

Notion database pages stay up to date reflecting GitHub issue states without manual work.


Who Should Use This Workflow

This is for anyone tracking GitHub issues in Notion and wanting to save time.

It helps if multiple issue updates happen frequently and manual syncing gets hard or prone to errors.

The user should have GitHub and Notion connected via APIs and the ability to add credentials to n8n.


Beginner Step-by-Step: How to Use This Workflow in n8n

Import and Setup

  1. Download the workflow file using the Download button on this page.
  2. In the n8n editor, click “Import from File” and select the workflow file.
  3. Add required API credentials for GitHub and Notion where prompted.
  4. Update the Notion Database ID to match your own Notion issues database.
  5. If needed, update GitHub repository owner and name to your repository.

Test and Activate

  1. Test the workflow by opening, editing, closing, or reopening an issue in the GitHub repo.
  2. Check that the Notion database updates as expected for each test event.
  3. When tests pass, activate the workflow in n8n to run continuously in production.
  4. If hosting n8n yourself, follow best practices for running n8n on server. See self-host n8n for suggestions.

Inputs, Processing, and Output Summary

Inputs

  • Issue events from GitHub: open, edit, close, reopen, delete.
  • Notion database configured to track issues by ID.

Processing

  • Workflow triggers on GitHub webhook event.
  • Determines event type with an IF node.
  • Creates, updates, archives, or changes status of Notion pages accordingly.

Output

  • Accurate Notion database pages that mirror GitHub issue lifecycle events.

Common Problems and Fixes

No Notion Pages Found After Filter

Check that Notion database has an Issue ID property set as a number.

Verify the filter JSON in the Function node really matches the Issue ID from GitHub events.

GitHub Webhook Does Not Trigger Workflow

Make sure the webhook URL from the GitHub Trigger node is correctly added and activated in the GitHub repository settings.

Check webhook delivery logs in GitHub for errors or failed deliveries.


Customization Ideas

  • Map extra GitHub issue properties like Assignees or Labels to Notion fields.
  • Filter events in the Switch node to only process desired issue types.
  • Add Fetch API calls to get GitHub issue comments and add them to Notion pages.

Summary of Benefits

✓ Saves hours every week by automating GitHub to Notion syncing.

✓ Prevents errors from manual data entry mistakes.

✓ Keeps issue tracking up to date in real time.

✓ Supports open, edit, close, reopen, and delete events.

✓ Easy to set up and customize in n8n.


Frequently Asked Questions

The GitHub Trigger node starts the workflow when a GitHub issue event like open, edit, close, reopen, or delete happens in the repository.
It uses a Function node to create a Notion filter based on the Issue ID number, then a Notion node queries the database to find the matching page.
A Notion database with properties Issue ID (number), Link (URL), Issue title (title), and Closed (checkbox) must exist to track issues properly.
Verify the Notion database has an Issue ID property set to number and that the filter JSON exactly matches the Issue ID from GitHub events.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free