/

Notion

&

GitHub

Integrate Notion and GitHub

Connect Notion and GitHub nodes in your workflow. Integrate with any tool or database and ship powerful backend logic and APIs instantly - No code required!

Node stack

Supported Notion and GitHub Nodes

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

Append Blocks to Page

A block object represents a piece of content within Notion. The API translates the headings, toggles, paragraphs, lists, media, and more that you can interact with in the Notion UI as different block type objects. (https://developers.notion.com/reference/block)

Create Comments

Creates a comment in a page or existing discussion thread.

Create Notion Access Token

Creates an access token for third-party service authentication with Notion

Create Page

Creates a new page that is a child of an existing page or database using OAuth

Creates a database as a subpage

Creates a database as a subpage in the specified parent page, with the specified properties schema. Currently, the parent of a new database must be a Notion page or a wiki database.

Fetch Page

Retrieve a Notion page using OAuth.

Fetch Page Blocks

A block object represents a piece of content within Notion. The API translates the headings, toggles, paragraphs, lists, media, and more that you can interact with in the Notion UI as different block type objects. (https://developers.notion.com/reference/block)

List Users

Lists all users in a Notion workspace

Query Database

Gets a list of Pages and/or Databases contained in the database, filtered and ordered according to the filter conditions and sort criteria provided in the request using OAuth

Retrieve Comments

Retrieves a list of un-resolved Comment objects from a page or block via OAuth

Retrieve Database

Retrieves a database object — information that describes the structure and columns of a database — for a provided database ID.

Search By Title

Performs a search on Notion for a given title through all the parent and child pages using OAuth

Update Block

Updates the content for the specified `block_id` based on the block type.. Official Documentation - [here](https://developers.notion.com/reference/update-a-block)

Update Database

Updates Notion database. Retrieves a database object — information that describes the structure and columns of a database via OAuth

Update Notion Page

Updates the properties of a page in a database. Official Documentation - [here](https://developers.notion.com/reference/patch-page)

GitHub Trigger

Creates a repository webhook on GitHub. In other words, this workflow will be executed when there is an event on the provided repository.

Add Labels to Issues

Appends the provided labels to a Github PR/Issue using Octokit

Commit File - OAuth

Commit a file to a GitHub repository using a personal access token, repository name, branch, file name, and file content.

Count Open Issues

Gets the number of open issues excluding pull requests in a public repository using Octokit library

Create Branch

Create a new branch on Github using Octokit with personal access token, repository, base branch, and new branch name

Create Branch - OAuth

Create a new branch on Github using Octokit with personal access token, repository, base branch, and new branch name

Create Pull Request

Create a pull request on GitHub using Octokit

Create Pull Request - OAuth

Create a new pull request on Github

Fetch Commits Since Last Release

Fetches commits and pull requests merged since the last release using Octokit

Fetch GitHub User

Fetches a GitHub user by username

Get File Content

Fetches the content of a file from a GitHub repository.

Get Issue

Fetch data of a specific issue or PR using octokit library

Get Issue - OAuth

Fetches a specific issue from a GitHub repository

Get Issue Labels

Fetches the existing labels in a Github repository using Octokit

Get Issue Labels - OAuth

Fetches labels of a GitHub repository

Get User - OAuth

Fetches a GitHub user by username

Rename Branch - OAuth

Renames a Github branch

Quick start

How to integrate Notion and GitHub

Step 1 — Add the nodes to your workflow

Create a new workflow in BuildShip, click “Add node”, and select the Notion and GitHub actions you want to use.

Step 2 — Configure each node

Go to each node to authenticate (or add your API key) and fill in the required parameters.

Step 3 — Connect the nodes

Each node in BuildShip can connect to others by using their output variables. When you reference a variable from one node in another, BuildShip automatically links them in the workflow.

Step 4 — Test your workflow

Define your starting data in the Inputs node and choose what to do with the result in the Flow Output node. Finally, run a test to see your workflow in action.

blog posts & tutorials

Recommended Reads

Below are recommneded blogs that will help in your journey