# Connect Notion to PilotDeck

> Create a Notion internal integration, share a database with it, map each kind of content to a database and publish articles as pages.

PilotDeck is a growth platform for SEO, GEO and AI visibility. It researches, writes and publishes content for a website, and drafts wait for approval by default.

Updated 2026-11-12. [CMS connection](https://docs.pilotdeck.co/cms-connection). Web page: https://docs.pilotdeck.co/cms-connection/notion

<a id="intro"></a>
## What connecting Notion does

PilotDeck researches, drafts and queues content for review. A **CMS connection** is the last hop: once you approve a draft, PilotDeck sends it to your CMS for you. With Notion, each approved article becomes a new page in a Notion database that you choose. The example below uses a PilotDeck site named **pilotdeck-testwebsite** and your workspace.

- **An internal integration, not sign-in**: You create an integration in Notion and give PilotDeck its API token, then share your database with that integration. There is no Notion login screen in this flow.
- **You choose the database**: PilotDeck never creates a database. It publishes into one you already have, and only into databases you shared with the integration.
- **Each kind its own database, if you want**: The moment PilotDeck checks your token, it loads every database shared with the integration so you can map Blog, Service, Case Study and Landing to one each, before you even connect. Notion has no Page or Post split, so Landing is just another pick.
- **Pages, not a website**: Notion is a workspace, not a public site. Pages are created inside your database and PilotDeck does not publish them to the web.

<a id="before"></a>
## Before you start

| You need | Details |
| --- | --- |
| A Notion workspace with a database | A table or board database in your workspace. It needs a title column, which every Notion database has. PilotDeck cannot create the database for you. |
| Optional columns | A **multi-select** column for tags, a **text** column for the meta description, and a **text** or **select** column named like Author, Writer or Byline. Each is optional, see [Property mapping](#mapping). |
| A Notion login | Permission in your workspace to create an integration and share the database with it. |
| A PilotDeck login | Permission to change integrations for the site. Without it the connect controls are unavailable. |

> [!NOTE]
> **One CMS per site.** A PilotDeck site has one active CMS connection. Connecting Notion turns off any other active CMS connection on the same site.

<a id="overview"></a>
## Overview

1. Create or pick the Notion database you want to publish into (You)
2. In Notion, create an internal integration and copy its secret (You)
3. Share your database with that integration (You)
4. Open Settings > Integrations in PilotDeck, pick Notion and paste the secret (You)
5. PilotDeck loads every database shared with the integration and shows Database mapping (PilotDeck)
6. Pick a database for each kind, if you want (You)
7. Test the connection, then connect (PilotDeck)
8. Send a test draft for each kind and check the page in Notion (Verify)

<a id="s1"></a>
## Step 1: Prepare the database in Notion

*Who: you*

In your workspace, open the database you want PilotDeck to publish into, or create a new table database. Keep its title column. Add the optional columns from [Before you start](#before) if you want tags, a meta description or an author name filled in.

> [!NOTE]
> Notion pages are not a public search surface, so PilotDeck does not write SEO titles, structured data or a slug for them.

<a id="create-integration"></a>
## Step 2: Create an internal integration in Notion

*Who: you*

Go to **Settings > Connections** in your workspace sidebar, or open `notion.so/my-integrations` directly, and click **New integration**.

![Notion connections list with an existing integration](https://docs.pilotdeck.co/images/cms-connection/notion/step1-notion-connections-list.png)

*Settings > Connections lists every integration in your workspace.*

Give it a name such as `PilotDeck`. When Notion asks for the authentication method, choose **API token**, not OAuth: a workspace-scoped token shared across collaborators, rather than a sign-in limited to one user.

![Notion New connection dialog with API token and OAuth options](https://docs.pilotdeck.co/images/cms-connection/notion/step1-notion-new-connection-dialog.png)

*API token is the default and the one PilotDeck needs. OAuth is the alternative, used for a different kind of integration.*

Open the **Configuration** tab and tick the **Content capabilities** PilotDeck needs: **Read content**, **Update content** and **Insert content**. Save, then copy the **Internal Integration Secret**.

![Notion integration Configuration tab with Read, Update and Insert content capabilities checked](https://docs.pilotdeck.co/images/cms-connection/notion/step2-notion-integration-config.png)

*Configuration. The secret is masked here; Notion shows it only when you choose to reveal it.*

> [!WARNING]
> **Treat the secret like a password.** Anyone who has it can read and write every database shared with that integration. Never paste it into chat, tickets or screenshots.

<a id="share-database"></a>
## Step 3: Share your database with the integration

*Who: you*

Open the database, open its **...** menu, choose **Connections**, and add the integration you just created. Repeat for every database you want to map a kind to.

![Notion integration Content access tab listing a shared teamspace](https://docs.pilotdeck.co/images/cms-connection/notion/step3-notion-content-access.png)

*The integration's Content access tab, after sharing. Check here if a database does not show up later in PilotDeck.*

> [!WARNING]
> **Sharing can need a second try.** If PilotDeck does not list a database you just shared, open the integration's **Content access** tab in Notion and confirm the database appears there. If it does not, share it again.

<a id="s2"></a>
## Step 4: Open Integrations in PilotDeck

*Who: you*

In PilotDeck, make sure the correct site is selected in the top-left site switcher (here, **pilotdeck-testwebsite**). Go to **Settings > Integrations** and find the **CMS Connection** card. With nothing connected it reads "No CMS connected".

Click the **Notion** tile. The Notion panel opens with a **Connect Notion** heading and an **Internal Integration Secret** field.

> [!NOTE]
> A site can have one CMS connection at a time. If another CMS is already connected, disconnect it first, then pick Notion.

<a id="s3"></a>
## Step 5: Paste the secret and map each kind to a database

*Who: you*

1. Paste the secret into **Internal Integration Secret**, then click or tab into another field. The field shows dots, so you cannot read it back.
2. PilotDeck loads every database shared with the integration and shows **Database mapping**: one field per kind of content, right here, before you connect anything.

![Notion connect form in PilotDeck with an Internal Integration Secret field](https://docs.pilotdeck.co/images/cms-connection/notion/step4-pilotdeck-notion-form.png)

*The Connect Notion panel. The Internal Integration Secret field shows dots once filled in.*

Open each kind's field, **Blog**, **Service**, **Case Study** and **Landing**, and pick one of the shared databases. Notion has no Page or Post split, so Landing is just another pick, the same as every other kind.

![Notion form with a live Database mapping grid covering all four kinds](https://docs.pilotdeck.co/images/cms-connection/notion/step4-notion-form-test-passed.png)

*Database mapping loads live from the databases you shared. Database names shown are a sample.*

> [!NOTE]
> Database mapping is optional at this step. You can leave every kind blank now and set it later from the connected card, or come back and change one at any time.

> [!NOTE]
> **A database missing from the list?** Only databases shared with this integration appear. Go back to Notion, open the integration's **Content access** tab and confirm the database is there (see [Share your database with the integration](#share-database)), then reopen the field in PilotDeck to refresh the list.

<a id="s4"></a>
## Step 6: Test, then connect

*Who: PilotDeck*

Click **Test connection** first. PilotDeck checks the secret against Notion without saving anything. You should see *"Looks good, credentials work."*

Then click **Connect**. Any databases you mapped above are saved immediately, no separate save step needed. A "CMS connected." message appears, and the card turns green with an **ACTIVE** badge.

![Notion connected and ACTIVE in PilotDeck, with an empty Database mapping grid](https://docs.pilotdeck.co/images/cms-connection/notion/step6-connected-active.png)

*Connected. The card shows your workspace name, ACTIVE, Database mapping and Disconnect. This example skipped database mapping before connecting; a kind you mapped above would already show its database here.*

> [!NOTE]
> A kind you leave unmapped in Database mapping automatically uses one of the databases you shared, not necessarily the first one you created. Map every kind you care about (see [Change the database mapping any time](#database-mapping)) rather than relying on which one PilotDeck picks.

If testing a kind fails saying no database is shared, go back to [Share your database with the integration](#share-database) and confirm it shows under Content access.

<a id="database-mapping"></a>
## Step 7: Change the database mapping any time

*Who: you*

You do not have to map every kind before you connect. **Database mapping** stays on the connected card too, so you can set it up for the first time there, or change it later. Blog, Service, Case Study and Landing each have their own field.

- The list only shows databases shared with the integration (see [Share your database with the integration](#share-database)). To map different kinds to different databases, share every database you want to use first.
- A kind you leave blank keeps using whichever shared database PilotDeck picks by default.

> [!NOTE]
> **Forgot to share a database?** You don't need to redo the secret or reconnect. In Notion, open the database's **...** menu, choose **Connections**, and add the integration. Then reopen the field in PilotDeck to refresh the list.

Click **Save database mapping** to save all four fields at once.

<a id="s5"></a>
## Step 8: Verify with a test post

*Who: you, to check the result*

Next to each kind's field, click its send icon to test that kind specifically. You see "Test draft created." with a **view** link when Notion returns the page address. Open the matching database in Notion and look for the new page.

![Notion card after Send test draft showing Test draft created](https://docs.pilotdeck.co/images/cms-connection/notion/step7-send-test-draft.png)

*The card after sending a test draft for one kind, with a **view** link to the new page.*

![Notion page created by PilotDeck with a cover image, headings and a bulleted list](https://docs.pilotdeck.co/images/cms-connection/notion/step7-notion-page.png)

*The sample article as a page in the shared database, with its cover image, headings and list.*

> [!NOTE]
> **Send test live** behaves the same as the draft test for Notion, because Notion has no draft state. Both buttons create a real page. Delete test pages in Notion afterwards.

> [!TIP]
> **Done.** Approved content for this site now creates pages in the database you chose.

<a id="mapping"></a>
## Property mapping

Notion has no blog post type. A page is a set of properties plus content blocks. PilotDeck reads the target database's columns each time it publishes and maps the article onto them. If a kind has its own mapped database (see [Send each kind to its own database](#database-mapping)), PilotDeck reads that database's columns instead, so add the same optional columns to each database you use if you want the same fields filled everywhere.

| Article field | Goes to | Notes |
| --- | --- | --- |
| Title | The database's title column | Required. If the database has no title column, publishing fails with a validation error. |
| Tags and category | A multi-select column | Prefers a column whose name contains tag, topic or categor. Your connection category is added as a tag. Each name is cut to 100 characters. Skipped when there is no multi-select column. |
| Meta description | A text column | Prefers a column named like summary, meta, desc or excerpt. Cut to 2000 characters. Skipped when there is no text column. |
| Author name | A text or select column named like Author, Writer or Byline | People columns are left alone. When no such column exists, an author box closes the page body instead. |
| Featured image | The page cover | Set from the image web address, no upload. If Notion rejects the address, the page is created without a cover. |
| Article body | Page blocks | See [What converts to Notion blocks](#blocks). |

Other columns in your database, including a status column, are not filled in. They stay empty on new pages.

<a id="blocks"></a>
## What converts to Notion blocks

PilotDeck writes articles as HTML and converts them to Notion blocks. The converter handles the common elements the content generator produces.

| In the article | In Notion |
| --- | --- |
| Headings 1 to 3 | Heading 1, 2 and 3 blocks |
| Headings 4 to 6 | Heading 3 blocks |
| Paragraphs | Paragraph blocks |
| Bulleted and numbered lists | Bulleted and numbered list items |
| Quotes | Quote blocks |
| Images with a full http or https address | Image blocks, with the alt text as the caption |
| FAQ and conclusion | Added as visible blocks at the end |
| Author details | A short box at the end, with links printed as plain addresses |

> [!WARNING]
> **Formatting is flattened.** Bold, italic and inline links become plain text. Tables, code blocks and other HTML elements are not converted. Content that is not one of the supported elements does not appear in the page.

Long text is split to fit Notion's 2000 character limit per text run. Pages with more than 100 blocks are created with the first 100 and the rest are appended in batches, paced to stay under Notion's request limit.

<a id="modes"></a>
## Publish behaviour

Notion has no draft or published state in this flow, and PilotDeck does not publish pages to the web. The **Draft only** and **Publish live** modes make no difference: both create the page, and it is visible to anyone in your workspace who can see that database.

| Behaviour | Detail |
| --- | --- |
| Page address | PilotDeck stores the Notion page address that Notion returns, which opens the page inside Notion. |
| Updates | Each approval creates a new page. PilotDeck does not update a page it created earlier. |
| Scheduling and media upload | Not supported. |
| SEO and structured data | Not written. Notion pages are not a public SEO surface. |

> [!NOTE]
> This is separate from PilotDeck's site **publish mode** (clone, CMS or copy) and from **draft handling** (review or auto). A site set to the CMS publish mode with no connected CMS is not ready to publish. Check that the Notion card shows **ACTIVE**.

<a id="disconnect"></a>
## Disconnecting

On the connected card click **Disconnect** and confirm. Approved content stops publishing to Notion right away. Pages already created stay in your database. To reconnect, repeat the steps above. To fully remove access, also remove the integration's connection from the database or workspace in Notion.

<a id="trouble"></a>
## Troubleshooting

**No databases found after pasting the secret**

The integration has no database shared with it yet. Go to [Share your database with the integration](#share-database), then reopen the field in PilotDeck to refresh the list.

**Test connection says no database is shared**

The integration has no database. In Notion, open the database, open its **...** menu, choose **Connections** and add the integration. Then check the integration's **Content access** tab to confirm it shows up, and test again.

**Publishing fails with a validation error**

The database may have no title column, or a column was changed. Notion answers with 400 or 422 in that case. Check that the database still has a title column and was not replaced.

**Publishing fails with an authorization error**

A 401 means the secret is invalid or was regenerated. A 403 means the integration lacks permission; check its Configuration capabilities. A 404 means the database is no longer shared. Reconnect, and share the database again if needed.

**Publishing fails with a rate limit or server error**

Notion answers 429 when requests come too fast and 5xx on its own errors. Wait a moment and retry.

**Tags, meta description or author are missing**

Those fields only fill when the database has a matching column type. Add a multi-select column for tags, a text column for the meta description, and a text or select column named like Author. See [Property mapping](#mapping).

**Formatting or a table is missing in the page**

The converter keeps headings, paragraphs, lists, quotes and images only. Bold, links and tables are flattened or dropped. See [What converts to Notion blocks](#blocks).

**The cover image is missing**

Notion rejected the image address, so the page was created without a cover. Check that the featured image uses a public https address.

**The Draft and Live choice does nothing**

That is expected. Notion has no draft state here, so every page is created the same way. See [Publish behaviour](#modes).

**A database I want isn't in the mapping list for a kind**

Only databases shared with the integration appear. In Notion, open the database's **...** menu, choose **Connections**, and add the integration, then reopen the field in PilotDeck to refresh the list. See [Share your database with the integration](#share-database).

**A kind is publishing to the wrong database**

A kind's own mapped database always wins over whichever shared database PilotDeck picks by default. Open [Change the database mapping any time](#database-mapping) and check what that kind is set to, or clear its field to fall back to the default.

## Official documentation

- [Create integrations with the Notion API (Notion Help)](https://www.notion.com/help/create-integrations-with-the-notion-api)
- [Notion API authorization](https://developers.notion.com/guides/authorization/overview)

## Related guides

- [CMS mode](https://docs.pilotdeck.co/publish-mode/cms.md): Publish to your CMS
- [Connect Google Search Console to PilotDeck](https://docs.pilotdeck.co/search-console/google-search-console.md): Google sign-in (OAuth)
- [Social connections](https://docs.pilotdeck.co/social-connections.md): Share what you publish

Need help? [Contact support](mailto:support@pilotdeck.co).
