Purpose
Stores visitor email submissions from the marketing website waitlist form into a Notion database.Architecture
Internal Services
| Service | Purpose |
|---|---|
| build_notion_properties | Formats submission data for Notion API |
Code Location
Environment Variables
| Variable | Description |
|---|---|
NOTION_API_KEY | Notion integration API key |
NOTION_DATABASE_ID | Target database ID for waitlist entries |
Notion Database Schema
The Notion database should have these properties:| Property | Type | Description |
|---|---|---|
| Title | The submitted email address | |
| Website URL | URL | Optional business URL |
| Referral | Rich Text | Referral source |
| UTM Campaign | Rich Text | Marketing campaign tracking |
| Submitted At | Date | Timestamp of submission |
| Status | Status | Set to βWaitlistβ |
Rate Limiting
- 5 requests per minute per IP address