Skip to content

Notion Automations

How to Append Content to a Notion Page When a WordPress Plugin Is Updated

To keep a single running log in Notion, use Zapify's free A plugin is updated trigger with the Append content to a page action. Each update adds a new line to the end of one page, so your maintenance history reads top to bottom.

What this automation does

The automation is one trigger plus one action:

  • Trigger: A plugin is updated (WPADMIN_PLUGIN_UPDATED, WP Admin)
  • Action: Append content to a page (NOTION_APPEND_TO_PAGE, Notion)

When a plugin is updated, Zapify adds a line to your Notion log page with the plugin's name and its old and new versions.

Before you start

  • A site with plugins to track. Nothing else is needed.
  • A Notion account, and an internal integration secret — create one at notion.so/profile/integrations. Notion's own guide is here.
  • A Notion page, such as Plugin update log, shared with your integration (Step 1 explains how).

PRO feature

Notion is a Zapify PRO integration and needs a Connection under Settings → Connections. The WP Admin trigger itself 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 Plugin update log 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 Log plugin updates in Notion.

Create a new automation

Step 3: Add the "A plugin is updated" trigger

  1. Click Add Trigger.
  2. Choose WP Admin as the app.
  3. Select the trigger A plugin is updated.
  4. In the Plugin field, pick one plugin to watch, or leave it on Any plugin to be told about every plugin update.

Add a trigger

Select WP Admin as the trigger

Select A plugin is updated

Step 4: Add the "Append content to a page" action

  1. Click Add Action.

Add an action

  1. Choose Notion as the app.

Select Notion as the action

  1. Select Append content to a page.

Select Append content to a page

Step 5: Configure the action

Field Required What it does
Connection Yes The Notion connection from Step 1.
Page Yes Choose Plugin update log.
Content Yes For example: - {{trigger:PLUGIN_NAME}} {{trigger:OLD_VERSION}} to {{trigger:NEW_VERSION}}. A line starting with - becomes a bullet.

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

Update a plugin on a test site and check the log page in Notion.

Tokens you can use

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

Token What it holds
Plugin name / Plugin file / Plugin author Which plugin it was.
Plugin version The version installed now.
Old version / New version The version before and after the update.
Automatic update yes when WordPress updated it on its own, no when someone did it by hand.
Actor username The logged-in person who did it. Empty when nobody was logged in.

The Notion action makes Page ID available to later actions.

Conclusion

With the A plugin is updated trigger and the Append content to a page action, one page tells the whole story. To list updates in a spreadsheet, see adding a Google Sheets row when a plugin is updated.

FAQs

Does appending overwrite the page?

No. Zapify adds blocks to the end of the page and leaves what is already there alone.

Can I add a timestamp?

Yes. Insert a date token such as the current date from the token picker in the content.

Is this free in Zapify?

The A plugin is updated trigger from WP Admin 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?