Skip to content

Notion Automations

How to Create a Notion Database Item When a Contact Form 7 Form Is Submitted

To send Contact Form 7 submissions to Notion, use Zapify's free A form is submitted trigger with the Create an item in a database action. Each enquiry becomes a row in a Notion leads database, so your team can assign, filter and follow up on it there.

What this automation does

The automation is one trigger plus one action:

  • Trigger: A form is submitted (CF7_FORM_SUBMITTED, Contact Form 7)
  • Action: Create an item in a database (NOTION_CREATE_DB_ITEM, Notion)

When a visitor submits the form you choose, Zapify creates one item in your Notion database with the visitor's details in its properties and the full message in the page body.

Before you start

  • Contact Form 7 installed and active, with a published form.
  • 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 Leads with these properties: Name (title), Email (email), Source (select), Status (status). Share it with your integration (Step 1 explains how).

PRO feature

Notion is a Zapify PRO integration and needs a Connection under Settings → Connections. The Contact Form 7 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 Leads 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.
  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 Send CF7 enquiries to Notion.

Create a new automation

Step 3: Add the "A form is submitted" trigger

  1. Click Add Trigger.

Add a trigger

  1. Choose Contact Form 7 as the app.

Select Contact Form 7 as the trigger

  1. Select the trigger A form is submitted.

Select A form is submitted

  1. In the trigger's Form field, pick the specific form that should start the automation — for example, Contact Us.

Choosing a specific form is what exposes one token per field on that form. If you leave the form set to Any form, the automation runs for every Contact Form 7 form but only the four general tokens are available, because the fields are not known until a submission arrives.

Step 4: Add the "Create an item in a database" action

  1. Click Add Action.

Add an action

  1. Choose Notion as the app.

Select Notion as the action

  1. Select Create an item in a database.

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 Insert the All fields token so the whole message is stored in the item's body.

For Property values, add these rows:

Notion property Value
Name The form's name-field token
Email The form's email-field token
Source Website contact form
Status New

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

Submit the form yourself. Check the Notion database for the new item, or Zapify → Logs for what Notion answered.

Tokens you can use

Once you pick a specific form in the trigger, Zapify exposes one token per field on that form. If you leave the trigger on Any form, only the general tokens are available.

Token What it holds
Form ID / Form title Which form was submitted.
Submitted at The date and time of the submission.
All fields Every submitted field as one labelled block of text.
One token per field The value the visitor entered, named after the field. Multi-value fields are joined into a comma-separated list.

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

Conclusion

With the A form is submitted trigger and the Create an item in a database action, no enquiry sits in your inbox unseen. To react to the same form in other ways, see sending an email when a Contact Form 7 form is submitted.

FAQs

Where does the message go?

Put the All fields token, or just the message-field token, in the Content field. It becomes the body of the Notion item.

Which Contact Form 7 field becomes the Notion title?

The property of type title. Every Notion database has exactly one, usually called Name. Give it a row in Property values, because a Notion item needs a title.

Is this free in Zapify?

The A form is submitted trigger from Contact Form 7 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.

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.

Was this page helpful?