Skip to content

Notion Automations

How to Create a Notion Page When a WordPress Post Is Published

To keep a Notion copy of your posts, use Zapify's free A post is published trigger with the Create a page action. Each published post becomes a Notion page under a parent page you pick, with its text in the body.

What this automation does

The automation is one trigger plus one action:

  • Trigger: A post is published (WP_POST_PUBLISHED, WordPress)
  • Action: Create a page (NOTION_CREATE_PAGE, Notion)

When a post is published, Zapify creates a Notion page titled after it, with the link and excerpt in the body.

Before you start

  • Posts, or the custom post type you want to track.
  • A Notion account, and an internal integration secret — create one at notion.so/profile/integrations. Notion's own guide is here.
  • A Notion parent page, such as Published posts, shared with your integration (Step 1 explains how).

PRO feature

Notion is a Zapify PRO integration and needs a Connection under Settings → Connections. The WordPress trigger used here is free.

How to build the automation

Step 1: Connect Notion

  1. In Notion, open My integrations and click New integration. Choose Internal, name it Zapify, and copy the Internal Integration Secret (it starts with ntn_ or secret_). Notion's own walkthrough is here.
  2. Share what Zapify may use. Open the parent page in Notion, click the ••• menu, choose Connections, and add your integration. Notion hides anything that has not been shared, so Zapify cannot see it until you do.
  3. In WordPress, go to Settings → Connections and click Add New.

Open the Connections tab

  1. Choose Notion, paste in the Integration secret, and name the connection something like Company Notion.

Add the Notion connection

  1. Click Test. Zapify asks Notion who the integration is and answers Connected as "Zapify" with the integration's name. If the secret is wrong it says Notion refused the credentials. instead, so you find out before building anything.
  2. Save.

See Connections for how this screen works generally.

Step 2: Create a new automation

  1. In the WordPress admin, go to Zapify → Automations.
  2. Click Add New to open the builder.
  3. Name it clearly, such as Archive posts as Notion pages.

Create a new automation

Step 3: Add the "A post is published" trigger

  1. Click Add Trigger.

Add a trigger

  1. Choose WordPress as the app.

Select WordPress as the trigger

  1. Select the trigger A post is published.

Select A post is published

  1. Set the Post type (for example Post).

Step 4: Add the "Create a page" action

  1. Click Add Action.

Add an action

  1. Choose Notion as the app.

Select Notion as the action

  1. Select Create a page.

Select Create a page

Step 5: Configure the action

Field Required What it does
Connection Yes The Notion connection from Step 1.
Parent page Yes Choose Published posts, or the page that should hold the archive.
Title Yes Insert the Post title token.
Content No For example: # {{trigger:POST_TITLE}}, a blank line, {{trigger:POST_URL}}, a blank line, then the Post excerpt token.

Step 6: Set the steps Live and save

Each trigger and action has its own Live / Off / Draft switch. A new automation starts as a Draft and does nothing until its steps are Live.

  1. Set the trigger and every action to Live.
  2. Click Save.

Set the automation live

Step 7: Test it

Publish a test post and look for the new page under the parent page in Notion.

Tokens you can use

The A post is published trigger exposes these tokens. Insert them into any field with the {} button.

Token What it holds
Post title / Post URL / Post ID The post and its address.
Post type / Post status What kind of post it is and where it stands.
Post excerpt / Post content The text of the post.
Post date When it was published.
Featured image URL The post's featured image, if it has one.
Post author email The author's email address.

The Notion action makes Page ID and Page URL available to later actions.

Conclusion

With the A post is published trigger and the Create a page action, you get a searchable archive inside Notion. To track posts as database rows instead, see creating a Notion content calendar item when a post is published.

FAQs

Does Zapify copy images into Notion?

No. The page holds text, headings and bullets. Put the Featured image URL token in the content to link to the image.

How are headings written?

Start a line with #, ## or ### for a heading and - for a bullet. Blank lines split paragraphs.

Is this free in Zapify?

The A post is published trigger from WordPress is free. The Notion action needs an active Zapify PRO licence and a Connection.

Why does Zapify say Notion cannot find the database or page?

Notion only shows an internal integration the pages and databases that have been shared with it. Open the database or page in Notion, click •••, choose Connections, and add your integration. Then reopen the field in Zapify; the lists are kept for about a minute. Notion's own steps are here.

Do I need to write any code?

No. The integration secret is the only thing you copy from outside Zapify.

Was this page helpful?