tv-notion-automate
Turns Notion Form submissions into tasks in a Notion Tasks database.
Flow
- Notion sends
page.createdtoPOST /webhooks/notion(HMAC signature verified withNOTION_WEBHOOK_SECRET). - The submission page is fetched via the Notion API.
- A task is created in
NOTION_TASKS_DB: the form title becomes the task title, other answers go into the task body; status, tags and project are set when those properties exist in the Tasks schema. - The form entry is archived (only after task creation succeeded).
Endpoints
-
GET /pinghealthcheck -
GET /checkvalidate settings against the live Notion API -
POST /webhooks/notionNotion event receiver
Tooling
-
edwh setupconfigure .env -
edwh local.webhookshow tunnel URL and catch the verification token