Templates / Sync your GitHub issues to your Notion database

Sync your GitHub issues to your Notion database

Needs changes

by n8n Team ✓ · 5,127 views · created 2022-10-07 · Project Management

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs on Github events (issues). Along the way it connects Notion and GitHub.

How it runs

Trigger: On Github events (issues).

  1. If: checks a condition and branches into true / false
  2. Create database page (Notion): work with database page
  3. Create custom Notion filters (Function): runs custom JavaScript (legacy Function node)
  4. Find database page (Notion): get many (database page)
  5. Switch: routes items into 4 branches
  6. Edit issue (Notion): update (database page)
  7. Delete issue (Notion): archive
  8. Close issue (Notion): update (database page)
  9. Reopen issue (Notion): update (database page)

Services it uses

NotionGitHub

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Function (legacy) in Create custom Notion filters: replace with Code node, mode 'Run Once for All Items'.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
Function (legacy)
Create custom Notion filters
Code node, mode 'Run Once for All Items'

Nodes used (5)

From the author

This workflow syncs your GitHub issues to your Notion database. Whenever a new issue is opened in your GitHub repository, it will be shown in your Notion database, syncing the status property (opened/edited/closed/deleted). In case there’s no Notion database…

Excerpt from n8n Team's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.