Notion Survey Create Database
notion_survey_create_databaseCreate a Notion database built from a survey's questions (typed columns: choices as selects, ratings as numbers, dates, emails and so on) and send every new completed response to it as a page. With backfill (the default) the responses collected so far are sent too, on the server. The database goes inside parentPageId (a page from notion_list_pages; Notion lets QuestionPunk create databases only inside a shared page, so if notion_list_pages returns none, ask the user to share a page with QuestionPunk in Notion). Not idempotent: each call creates another database and points the survey at it, and a survey that already syncs stops sending to its old database, so check notion_survey_sync_get first and confirm with the user before replacing a sync. Sends respondents' answers to Notion. Returns the survey's sync as notion_survey_sync_get does; give the user its databaseUrl.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"surveyId": "<surveyId>",
"connectionId": "<connectionId>",
"parentPageId": "<parentPageId>"
},
"name": "notion_survey_create_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backfill | No | Also send the responses collected before now, on the server (default true) | |
| surveyId | Yes | The survey ID (from survey_list) | |
| connectionId | Yes | A connected workspace's id (connections[].id from notion_status) | |
| parentPageId | Yes | The page to create the database in (pageId from notion_list_pages) | |
| includeSummary | No | Put the AI summary of each response in its page (default true) | |
| includeTranscript | No | Put interview transcripts in each page (default true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |