Notion

LiveAPI Key

Automation

Overview

Automatically add identified companies and hot leads as pages in your Notion databases. RAEK View creates rich database entries with company details, lead scores, and engagement data. Use Notion's views, filters, sorts, and relations to build a powerful lead tracking system right inside your existing workspace.

What Gets Synced

  • Database pages - Each company or hot lead creates a new page in your Notion database
  • Rich properties - Company name, domain, industry, size, lead score, grade, and location
  • Timeline data - First seen and last seen dates to track visitor engagement

Supported Events

EventDescription
company.identifiedFires when a new company is identified visiting your site
lead.hotFires when a visitor is classified as a hot lead

Prerequisites

  • A Notion workspace with a database for receiving RAEK View data
  • A Notion Internal Integration token with read and write content permissions
  • The database must be shared with the integration
  • RAEK View tracking script installed on your site

Setup Guide

1

Create a Notion integration

Go to notion.so/my-integrations and click "New integration". Give it a name like "RAEK View" and select your workspace.

2

Set permissions

Under Capabilities, enable "Read content" and "Insert content". These permissions allow RAEK View to create new pages in your databases.

3

Copy the integration token

Click "Show" next to Internal Integration Secret and copy the token (starts with secret_).

Keep your token secure

Your integration token provides access to shared databases. Never expose it in client-side code or public repositories.
4

Share your database with the integration

Open the Notion database where you want RAEK View to add records. Click the "..." menu in the top-right, select "Add connections", and choose your RAEK View integration.

This step is required

Notion integrations can only access pages and databases that are explicitly shared with them. Without this step, RAEK View will receive a permission error.
5

Copy your database ID

Open the database in Notion. The database ID is in the URL: notion.so/your-workspace/DATABASE_ID?v=... Copy the 32-character ID (before the ?v= parameter).

6

Configure in RAEK View

Go to RAEK View Dashboard > Integrations > Notion. Enter your integration token (secret_xxx) and database ID. Select your events and save.

7

Test the connection

Click the Test button in RAEK View. A new page should appear in your Notion database within a few seconds.

Configuration Fields

FieldTypeDescription
apiKey
SecretInternal Integration Secret (starts with secret_). Created at notion.so/my-integrations.
databaseId
StringThe 32-character Notion database ID. Found in the database URL before the ?v= parameter.

Data Mapping

RAEK View FieldNotion PropertyProperty Type
Company NameName (Title)title
DomainDomainurl
IndustryIndustryselect
Employee CountEmployeesnumber
Lead ScoreLead Scorenumber
Lead GradeGradeselect
Source PageSourceurl
CountryCountryselect
First SeenFirst Seendate
Last SeenLast Seendate

Example Payload

RAEK View creates pages using the Notion API. Here is the structure of a page creation request:

notion_page.json
json
{
"parent": {
"database_id": "your-database-id-here"
},
"properties": {
"Name": {
"title": [
{
"text": {
"content": "Acme Corp"
}
}
]
},
"Domain": {
"url": "https://acme.com"
},
"Industry": {
"select": {
"name": "Technology"
}
},
"Employees": {
"number": 250
},
"Lead Score": {
"number": 87
},
"Grade": {
"select": {
"name": "A"
}
},
"Source": {
"url": "https://yoursite.com/pricing"
},
"Country": {
"select": {
"name": "US"
}
},
"First Seen": {
"date": {
"start": "2026-03-20"
}
},
"Last Seen": {
"date": {
"start": "2026-03-25"
}
}
}
}

Custom database properties

Your Notion database needs matching property names and types. RAEK View will auto-create select options (like Industry or Grade) as they are encountered.

Troubleshooting

"Could not find database" error

Make sure the database is shared with your integration. Open the database in Notion, click the "..." menu, select "Add connections", and add your RAEK View integration.

Property validation errors

Ensure your database properties match the expected types (title, url, select, number, date). If a property type is wrong, update it in Notion or adjust the column name to match.

Rate limit errors

The Notion API allows 3 requests per second. RAEK View batches requests to stay within this limit, but very high-traffic sites may encounter occasional rate limiting. Events are automatically retried with exponential backoff.

Need Help?

Our team is here to help you get the Notion integration running smoothly.

Contact Support