Use this dynamic n8n workflow to automatically sync GitHub issue events (opened, edited, closed, deleted) directly to a centralized Notion database, maintaining real-time parity for project tracking.
Download this n8n workflow template and start using it instantly.
Software Development Teams: Need to centralize bug tracking and feature requests managed in GitHub into a project management tool like Notion.
Project Managers: Those who prefer using Notion as a single source of truth for all project status updates derived from developer activity on GitHub.
Managing development tasks across platforms can lead to information silos. This highly functional n8n workflow solves that problem by establishing a robust, two-way mirror between GitHub issues and a Notion database. Every time an action is taken on a GitHub issue—whether it is opened, edited, closed, or even deleted—this n8n automation ensures the corresponding record in Notion is updated instantaneously. This robust n8n workflow uses conditional logic and custom scripting to reliably locate and modify existing Notion pages, providing a powerful, no-code solution for cross-platform data synchronization. Leveraging the power of an n8n trigger, this template is essential for efficient DevOps and project oversight.
The process begins immediately upon a specified event occurring in GitHub, thanks to the dedicated GitHub n8n trigger node.
IF n8n node, which inspects the action taken on the GitHub issue (e.g., 'opened', 'edited', 'closed').Create database page n8n node, logging the new issue's title, ID, and URL directly into the configured Notion database.Create custom Notion filters function n8n node. This node dynamically generates a JSON filter payload to locate the existing Notion page using the GitHub Issue ID.Find database page n8n node uses this custom filter to retrieve the internal ID of the corresponding Notion database entry.Switch n8n node then evaluates the specific action taken ('edited', 'deleted', 'closed', 'reopened').Edit issue (updates title), Delete issue (archives the page), Close issue (sets the 'Closed' checkbox true), or Reopen issue (unchecks the 'Closed' box). This ensures the Notion record reflects the exact state of the GitHub issue, completing the synchronization cycle for this comprehensive n8n workflow.To deploy this n8n template, follow these steps:
Trigger on issues n8n trigger node.Create database page, Find database page, etc.), replace the placeholder database ID (5026700b-6693-473a-8100-8cc6ddef62a6) with the ID of your actual Notion database.Trigger on issues n8n trigger, update the Owner and Repository fields to match your GitHub setup. Trigger on issues (GitHub Trigger n8n trigger):
Function: Serves as the starting point, listening for issues events on a specific GitHub repository.
Key Configuration: Configured to watch for events on John-n8n/DemoRepo and specifically targets the issues event type.
IF (n8n node):
Function: Directs the flow based on the GitHub issue action. Splits the path between 'opened' (new issue) and all other actions (modifications).
Key Configuration: Checks if body.action equals opened.
Create custom Notion filters (Function n8n node):
Function: Critical n8n node for modification paths. It uses custom JavaScript to construct a Notion API filter JSON payload that searches for a page where the property 'Issue ID' matches the incoming GitHub Issue ID.
Find database page (Notion n8n node):
Function: Executes the filter generated by the previous n8n node to retrieve the unique pageId of the existing Notion record.
Key Configuration: Uses the JSON filter input from the Function n8n node to perform the search.
Switch (n8n node):
Function: Determines the subsequent action required in Notion based on the GitHub action (edited, deleted, closed, reopened). This is a core component of this advanced n8n workflow.
Key Configuration: Compares the GitHub action string against four possible outcomes, routing the flow to the correct update n8n node.
Notion Nodes (Create/Edit/Delete/Close/Reopen issue):
Function: A suite of Notion n8n nodes responsible for applying the corresponding state change to the Notion database page found previously (e.g., archiving the page if the issue was deleted, or updating the checkbox status for closed/reopened issues).
Use this robust n8n workflow to automatically sync time entries from Clockify to Syncro MSP tickets, preventing duplicates using a Google Sheets lookup table. Perfect for IT service providers using n8n templates.

Use this powerful n8n workflow to automatically sync designated Todoist tasks into a Notion database. This n8n template helps bridge quick task entry and structured knowledge management.

Use this powerful n8n workflow to automatically sync successful Stripe charges to Pipedrive as organization notes daily. This n8n workflow uses advanced state management and multiple n8n nodes for reliable integration.

Automate two-way sync between KlickTipp and Google Calendar using this advanced n8n workflow. Capture RSVP status, update contacts, and automatically send invitations.

Achieve seamless data synchronization using this robust n8n workflow. Bi-directionally sync Excel or Google Sheets data with a Postgres database using the powerful n8n node framework and upsert logic.


Meet the official n8n team. We specialize in building workflows that transform intricate tasks into seamless operations.







































