Integrate Hugging Face and Notion to automate workflows with scalable backend

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

getting started

How To Connect Hugging Face and Notion

Supported Triggers & Actions

Hugging Face NODES

Caption Image

Generate caption for the image using Hugging Face's [Salesforce/blip-image-captioning-large](https://huggingface.co/Salesforce/blip-image-captioning-large) model for image captioning pretrained on COCO dataset - base architecture (with ViT large backbone).

Image Classification

Get classification labels for your image using Hugging Face's [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) model which is a transformer encoder model (BERT-like) pretrained on a large collection of images in a supervised fashion, namely ImageNet-21k, at a resolution of 224x224 pixels. Next, the model was fine-tuned on ImageNet (also referred to as ILSVRC2012), a dataset comprising 1 million images and 1,000 classes, also at resolution 224x224.

Text Summarization

Summarize long text using Hugging Face's [facebook/bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn) model which is a transformer encoder-encoder (seq2seq) model with a bidirectional (BERT-like) encoder and an autoregressive (GPT-like) decoder. BART is pre-trained by (1) corrupting text with an arbitrary noising function, and (2) learning a model to reconstruct the original text.

Text-To-Image

Generate image from text, using Hugging Face's [openskyml/dalle-3-xl](https://huggingface.co/openskyml/dalle-3-xl) test model very similar to Dall•E 3.

Text-To-Music

Generate music from text using Hugging Face's [facebook/musicgen-small](https://huggingface.co/facebook/musicgen-small) model capable of generating high-quality music samples conditioned on text descriptions or audio prompts.

Notion NODES

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)

script

Create Comments

Creates a comment in a page or existing discussion thread.

script

Create Notion Access Token

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

script

Create Page

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

script

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.

script

Fetch Page

Retrieve a Notion page using OAuth.

script

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)

script

List Users

Lists all users in a Notion workspace

script

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

script

Retrieve Comments

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

script

Retrieve Database

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

script

Search By Title

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

script

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)

script

Try it ->

Update Database

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

script

Try it ->

Update Notion Page

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

script

Try it ->

blog posts & tutorials

Recommended Reads

Below are recommneded blogs that will help in your journey