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
Automate GitHub issues with n8n and Notion

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

Learn how to Build this Workflow with AI:

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.


Automate GitHub issues with n8n and Notion

Visit through Desktop to Interact with the Workflow.

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 Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.