publish where your site already lives
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.
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.
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. |
| 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. |
Overview#
- 1Create or pick the Notion database you want to publish intoYou
- 2In Notion, create an internal integration and copy its secretYou
- 3Share your database with that integrationYou
- 4Open Settings > Integrations in PilotDeck, pick Notion and paste the secretYou
- 5PilotDeck loads every database shared with the integration and shows Database mappingPilotDeck
- 6Pick a database for each kind, if you wantYou
- 7Test the connection, then connectPilotDeck
- 8Send a test draft for each kind and check the page in NotionVerify
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 if you want tags, a meta description or an author name filled in.
Go to Settings > Connections in your workspace sidebar, or open notion.so/my-integrations directly, and click New integration.
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.
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.
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.
- Paste the secret into Internal Integration Secret, then click or tab into another field. The field shows dots, so you cannot read it back.
- PilotDeck loads every database shared with the integration and shows Database mapping: one field per kind of content, right here, before you connect anything.
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.
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.
If testing a kind fails saying no database is shared, go back to Share your database with the integration and confirm it shows under Content access.
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). 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.
Click Save database mapping to save all four fields at once.
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.
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), 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. |
Other columns in your database, including a status column, are not filled in. They stay empty on new pages.
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 |
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.
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. |
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.
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, 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.
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.
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.
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.
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 and check what that kind is set to, or clear its field to fall back to the default.
Official documentation
Need help? Contact support.