Create Notion page in database
POST https://api.notion.com/v1/pages
Let's iterate over Typeform responses and create a corresponding page on Notion.
If you modified the Notion database, like renaming columns or changing column type, this request might fail.
Request Body
{"parent"=>{"database_id"=>"{{NOTION_DATABASE_ID}}"}, "properties"=>{"Book Title"=>{"title"=>[{"text"=>{"content"=>"{{CURRENT_RESPONSE_BOOKTITLE}}"}}]}, "Description"=>{"rich_text"=>[{"text"=>{"content"=>"{{CURRENT_RESPONSE_DESCRIPTION}}"}}]}, "Genre"=>{"select"=>{"name"=>"{{CURRENT_RESPONSE_GENRE}}"}}, "Recommended By"=>{"rich_text"=>[{"text"=>{"content"=>"{{CURRENT_RESPONSE_RECOMMENDEDBY}}"}}]}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Notion-Version | string | ||
Content-Type | string |