Notion Automations
How to Create a Notion Database Item When a Visitor Clicks a Button on Your WordPress Site
To capture interest in Notion with one click, use Zapify's A user clicks a button trigger with the Create an item in a database action. A "Request a callback" or "I'm interested" button then adds the visitor to a Notion list.
What this automation does
The automation is one trigger plus one action:
- Trigger: A user clicks a button (
BUTTON_CLICKED, Buttons) - Action: Create an item in a database (
NOTION_CREATE_DB_ITEM, Notion)
When a logged-in visitor clicks the button, Zapify creates a Notion item with their details and the page they were on.
Before you start
- A page where visitors are logged in, such as a members' area.
- A Notion account, and an internal integration secret — create one at notion.so/profile/integrations. Notion's own guide is here.
- A Notion database named Interest list with these properties: Name (title), Email (email), Page (URL), Interest (select). Share it with your integration (Step 1 explains how).
PRO feature
Notion and Buttons are both Zapify PRO integrations. Notion needs a Connection under Settings → Connections, and the trigger requires an active PRO licence.
How to build the automation
Step 1: Connect Notion
- In Notion, open My integrations and click New integration. Choose Internal, name it Zapify, and copy the Internal Integration Secret (it starts with
ntn_orsecret_). Notion's own walkthrough is here. - Share what Zapify may use. Open the Interest list database 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.
- In WordPress, go to Settings → Connections and click Add New.

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

- 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.
- Save.
See Connections for how this screen works generally.
Step 2: Create a new automation
- In the WordPress admin, go to Zapify → Automations.
- Click Add New to open the builder.
- Name it clearly, such as Capture button interest in Notion.

Step 3: Add the "A user clicks a button" trigger
- Click Add Trigger.

- Choose Buttons as the app and select A user clicks a button.

- Give the trigger a key, such as
interested-coaching. The key is what ties the button on your page to this automation.
Step 4: Add the "Create an item in a database" action
- Click Add Action.

- Choose Notion as the app.

- Select Create an item in a database.

Step 5: Configure the action
| Field | Required | What it does |
|---|---|---|
| Connection | Yes | The Notion connection from Step 1. |
| Database | Yes | The database the item should be added to. Only databases shared with the integration appear. |
| Property values | Yes | One row per property. Put the property name on the left and the value on the right. Zapify converts each value to the property's type. |
| Content | No | Text for the body of the new item. Blank lines start a new paragraph, # makes a heading and - a bullet. |
For Property values, add these rows:
| Notion property | Value |
|---|---|
Name |
Display name token |
Email |
User email token |
Page |
Page URL token |
Interest |
Coaching |
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.
- Set the trigger and every action to Live.
- Click Save.

Step 7: Test it
Click the button while logged in and check Notion.
Tokens you can use
The A user clicks a button trigger exposes these tokens. Insert them into any field with the {} button.
| Token | What it holds |
|---|---|
| Page URL | The page the button was on. |
| User email / Username / Display name / User ID | The logged-in visitor who clicked. |
The Notion action makes Page ID and Page URL available to later actions.
Conclusion
With the A user clicks a button trigger and the Create an item in a database action, one click becomes a tracked lead. See tagging a Groundhogg contact when a button is clicked for a CRM version.
FAQs
Does it work for logged-out visitors?
The button trigger identifies the logged-in user, so use it where visitors are signed in, such as a members' area.
How does the button know which automation to run?
The trigger's key ties a button on your page to this automation.
Is this free in Zapify?
The A user clicks a button trigger from Buttons is a Zapify PRO feature. The Notion action also 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.
Why was a property left empty in Notion?
Zapify skips a property whose value is empty, so a token that resolved to nothing cannot blank what is already there. A property that is a formula, rollup, file or created-time type cannot be set through Notion's API, so Zapify skips it and names it in the run log. The property name must also match the one in your database exactly (capitals do not matter).
Do I need to write any code?
No. The integration secret is the only thing you copy from outside Zapify.