Integrate Notion and Leonardo AI to automate workflows with scalable backend

Connect Notion and Leonardo AI 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 Notion and Leonardo AI

01

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

01

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

02

Step 2: Connect Notion and Leonardo AI

It is the node that will start your workflow execution.

Step 2: Connect Notion and Leonardo AI

It is the node that will start your workflow execution.

02

Step 2: Connect Notion and Leonardo AI

It is the node that will start your workflow execution.

03

Step 3: Integrate with any other tool or service

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

Step 3: Integrate with any other tool or service

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

03

Step 3: Integrate with any other tool or service

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

04

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

04

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

Node stack

Supported Triggers & Actions

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)

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

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

Update Database

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

script

Update Notion Page

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

script

Leonardo AI NODES

Generate Image

This endpoint generates images with the given generation prompt and returns the Generation ID.

script

Generate Prompt

This endpoint returns a random image generation prompt.

script

Improve Prompt

This endpoint returns an improved image generation prompt.

script

Upload Dataset Image

This endpoint uploads the given file buffer to the signed URL provided by the **Upload Init Image** node. Detailed instructions for using this endpoint are available in the guide: [How to upload an image using a presigned URL](https://docs.leonardo.ai/docs/how-to-upload-an-image-using-a-presigned-url).

script

Upload Init Image

This endpoint returns a random image generation prompt. Detailed instructions for using this endpoint are available in the guide: [How to upload an image using a presigned URL](https://docs.leonardo.ai/docs/how-to-upload-an-image-using-a-presigned-url).

script

Support

Need Help?

Here are some helpful resources to get you "unstuck"

Start building your
BIGGEST ideas
in the *simplest* of ways.

Start building your
BIGGEST ideas
in the *simplest* of ways.

Start building your BIGGEST ideas in the *simplest* of ways.