Notion¶
Node: notion · Full type: n8n-nodes-base.notion · Version: 2.2
Credentials¶
notionApi (alias: @notion)
Operations¶
Resource: block¶
append¶
| Parameter | Type | Default | Details |
|---|---|---|---|
blockId |
resourceLocator | {...} | required; modes: url, id |
blockId |
resourceLocator | {...} | required; modes: url, id |
blockUi |
fixedCollection | {} | groups: blockValues |
getAll¶
| Parameter | Type | Default | Details |
|---|---|---|---|
blockId |
resourceLocator | {...} | required; modes: url, id |
blockId |
resourceLocator | {...} | required; modes: url, id |
returnAll |
boolean | false | |
limit |
number | 50 | |
fetchNestedBlocks |
boolean | false | |
simplifyOutput |
boolean | true |
Resource: database¶
get¶
| Parameter | Type | Default | Details |
|---|---|---|---|
databaseId |
resourceLocator | {...} | required; modes: list, url, id |
simple |
boolean | true |
getAll¶
| Parameter | Type | Default | Details |
|---|---|---|---|
returnAll |
boolean | false | |
limit |
number | 50 | |
simple |
boolean | true |
search¶
| Parameter | Type | Default | Details |
|---|---|---|---|
text |
string | "" | |
returnAll |
boolean | false | |
limit |
number | 50 | |
simple |
boolean | true | |
options |
collection | {} | keys: sort |
get¶
| Parameter | Type | Default | Details |
|---|---|---|---|
databaseId |
resourceLocator | {...} | required; modes: list, url, id |
simple |
boolean | true |
getAll¶
| Parameter | Type | Default | Details |
|---|---|---|---|
returnAll |
boolean | false | |
limit |
number | 50 | |
simple |
boolean | true |
Resource: databasePage¶
create¶
| Parameter | Type | Default | Details |
|---|---|---|---|
databaseId |
resourceLocator | {...} | required; modes: list, url, id |
title |
string | "" | |
simple |
boolean | true | |
propertiesUi |
fixedCollection | {} | groups: propertyValues |
blockUi |
fixedCollection | {} | groups: blockValues |
options |
collection | {} | keys: iconType, icon |
get¶
| Parameter | Type | Default | Details |
|---|---|---|---|
pageId |
resourceLocator | {...} | required; modes: url, id |
simple |
boolean | true |
getAll¶
| Parameter | Type | Default | Details |
|---|---|---|---|
databaseId |
resourceLocator | {...} | required; modes: list, url, id |
returnAll |
boolean | false | |
limit |
number | 50 | |
simple |
boolean | true | |
filterType |
options | "none" | none, manual, json |
matchType |
options | "anyFilter" | anyFilter, allFilters |
filters |
fixedCollection | {} | groups: conditions |
filterJson |
string | "" | |
options |
collection | {} | keys: downloadFiles, filter, sort |
update¶
| Parameter | Type | Default | Details |
|---|---|---|---|
pageId |
resourceLocator | {...} | required; modes: url, id |
simple |
boolean | true | |
propertiesUi |
fixedCollection | {} | groups: propertyValues |
options |
collection | {} | keys: iconType, icon |
create¶
| Parameter | Type | Default | Details |
|---|---|---|---|
databaseId |
resourceLocator | {...} | required; modes: list, url, id |
title |
string | "" | |
simple |
boolean | true | |
propertiesUi |
fixedCollection | {} | groups: propertyValues |
blockUi |
fixedCollection | {} | groups: blockValues |
options |
collection | {} | keys: iconType, icon |
getAll¶
| Parameter | Type | Default | Details |
|---|---|---|---|
databaseId |
resourceLocator | {...} | required; modes: list, url, id |
returnAll |
boolean | false | |
limit |
number | 50 | |
simple |
boolean | true | |
filterType |
options | "none" | none, manual, json |
matchType |
options | "anyFilter" | anyFilter, allFilters |
filters |
fixedCollection | {} | groups: conditions |
filterJson |
string | "" | |
options |
collection | {} | keys: downloadFiles, filter, sort |
update¶
| Parameter | Type | Default | Details |
|---|---|---|---|
pageId |
resourceLocator | {...} | required; modes: url, id |
simple |
boolean | true | |
propertiesUi |
fixedCollection | {} | groups: propertyValues |
options |
collection | {} | keys: iconType, icon |
Resource: page¶
create¶
| Parameter | Type | Default | Details |
|---|---|---|---|
pageId |
resourceLocator | {...} | required; modes: url, id |
title |
string | "" | required |
simple |
boolean | true | |
blockUi |
fixedCollection | {} | groups: blockValues |
options |
collection | {} | keys: iconType, icon |
get¶
| Parameter | Type | Default | Details |
|---|---|---|---|
pageId |
string | "" | required |
simple |
boolean | true |
search¶
| Parameter | Type | Default | Details |
|---|---|---|---|
text |
string | "" | |
returnAll |
boolean | false | |
limit |
number | 50 | |
simple |
boolean | true | |
options |
collection | {} | keys: filter, sort |
archive¶
| Parameter | Type | Default | Details |
|---|---|---|---|
pageId |
resourceLocator | {...} | required; modes: url, id |
simple |
boolean | true |
create¶
| Parameter | Type | Default | Details |
|---|---|---|---|
pageId |
resourceLocator | {...} | required; modes: url, id |
title |
string | "" | required |
simple |
boolean | true | |
blockUi |
fixedCollection | {} | groups: blockValues |
options |
collection | {} | keys: iconType, icon |
search¶
| Parameter | Type | Default | Details |
|---|---|---|---|
text |
string | "" | |
returnAll |
boolean | false | |
limit |
number | 50 | |
simple |
boolean | true | |
options |
collection | {} | keys: filter, sort |
Resource: user¶
get¶
| Parameter | Type | Default | Details |
|---|---|---|---|
userId |
string | "" | required |
getAll¶
| Parameter | Type | Default | Details |
|---|---|---|---|
returnAll |
boolean | false | |
limit |
number | 50 |
Parameter Details¶
blockUi children:
blockValues group:
| Parameter | Type | Default | Details |
|---|---|---|---|
type |
options | "paragraph" | |
richText |
boolean | false | |
textContent |
string | "" | |
text |
fixedCollection | {} | groups: text |
richText |
boolean | false | |
textContent |
string | "" | |
text |
fixedCollection | {} | groups: text |
richText |
boolean | false | |
textContent |
string | "" | |
text |
fixedCollection | {} | groups: text |
richText |
boolean | false | |
textContent |
string | "" | |
text |
fixedCollection | {} | groups: text |
richText |
boolean | false | |
textContent |
string | "" | |
text |
fixedCollection | {} | groups: text |
checked |
boolean | false | |
richText |
boolean | false | |
textContent |
string | "" | |
text |
fixedCollection | {} | groups: text |
title |
string | "" | |
richText |
boolean | false | |
textContent |
string | "" | |
text |
fixedCollection | {} | groups: text |
richText |
boolean | false | |
textContent |
string | "" | |
text |
fixedCollection | {} | groups: text |
url |
string | "" |
options children:
| Parameter | Type | Default | Details |
|---|---|---|---|
sort |
fixedCollection | {} | groups: sortValue |
propertiesUi children:
propertyValues group:
| Parameter | Type | Default | Details |
|---|---|---|---|
key |
options | "" | |
type |
hidden | "={{$parameter["&key"].split("|")[1]}}" | |
title |
string | "" | |
richText |
boolean | false | |
textContent |
string | "" | |
text |
fixedCollection | {} | groups: text |
phoneValue |
string | "" | |
multiSelectValue |
multiOptions | [] | |
selectValue |
options | "" | |
statusValue |
options | "" | |
emailValue |
string | "" | |
ignoreIfEmpty |
boolean | false | |
urlValue |
string | "" | |
peopleValue |
multiOptions | [] | |
relationValue |
string | [] | |
checkboxValue |
boolean | false | |
numberValue |
number | 0 | |
range |
boolean | false | |
includeTime |
boolean | true | |
date |
dateTime | "" | |
dateStart |
dateTime | "" | |
dateEnd |
dateTime | "" | |
timezone |
options | "default" | |
fileUrls |
fixedCollection | {} | groups: fileUrl |
filters children:
conditions group:
| Parameter | Type | Default | Details |
|---|---|---|---|
key |
options | "" | |
type |
hidden | "={{$parameter["&key"].split("|")[1]}}" | |
condition |
options | "" | equals, does_not_equal, contains, does_not_contain, starts_with, ends_with, is_empty, is_not_empty |
condition |
options | "" | equals, does_not_equal, contains, does_not_contain, starts_with, ends_with, is_empty, is_not_empty |
condition |
options | "" | equals, does_not_equal, greater_than, less_than, greater_than_or_equal_to, less_than_or_equal_to, is_empty, is_not_empty |
condition |
options | "" | equals, does_not_equal |
condition |
options | "" | equals, does_not_equal, is_empty, is_not_empty |
condition |
options | "" | contains, does_not_equal, is_empty, is_not_empty |
condition |
options | "" | equals, does_not_equal |
condition |
options | "" | equals, before, after, on_or_before, is_empty, is_not_empty, on_or_after, past_week, ... (13 total) |
condition |
options | "" | contains, does_not_contain, is_empty, is_not_empty |
condition |
options | "" | is_empty, is_not_empty |
condition |
options | "" | equals, does_not_equal, contains, does_not_contain, starts_with, ends_with, is_empty, is_not_empty |
condition |
options | "" | equals, does_not_equal, contains, does_not_contain, starts_with, ends_with, is_empty, is_not_empty |
condition |
options | "" | equals, does_not_equal, contains, does_not_contain, starts_with, ends_with, is_empty, is_not_empty |
condition |
options | "" | contains, does_not_contain, is_empty, is_not_empty |
condition |
options | "" | contains, does_not_contain, is_empty, is_not_empty |
condition |
options | "" | equals, before, after, on_or_before, is_empty, is_not_empty, on_or_after, past_week, ... (13 total) |
condition |
options | "" | contains, does_not_contain, is_empty, is_not_empty |
condition |
options | "" | equals, before, after, on_or_before, is_empty, is_not_empty, on_or_after, past_week, ... (13 total) |
returnType |
options | "" | text, checkbox, number, date |
condition |
options | "" | equals, does_not_equal, contains, does_not_contain, starts_with, ends_with, is_empty, is_not_empty |
condition |
options | "" | equals, does_not_equal |
condition |
options | "" | equals, does_not_equal, greater_than, less_than, greater_than_or_equal_to, less_than_or_equal_to, is_empty, is_not_empty |
condition |
options | "" | equals, before, after, on_or_before, is_empty, is_not_empty, on_or_after, past_week, ... (13 total) |
titleValue |
string | "" | |
richTextValue |
string | "" | |
phoneNumberValue |
string | "" | |
multiSelectValue |
options | [] | |
selectValue |
options | "" | |
statusValue |
options | "" | |
emailValue |
string | "" | |
urlValue |
string | "" | |
peopleValue |
options | "" | |
createdByValue |
options | "" | |
lastEditedByValue |
options | "" | |
relationValue |
string | "" | |
checkboxValue |
boolean | false | |
numberValue |
number | 0 | |
date |
dateTime | "" | |
createdTimeValue |
dateTime | "" | |
lastEditedTime |
dateTime | "" | |
numberValue |
number | 0 | |
textValue |
string | "" | |
checkboxValue |
boolean | false | |
dateValue |
dateTime | "" |