Search
Searches in Notion.
This node is also exposed as an AI Agent tool.
This node has 1 input port and 1 output port.
Common Properties
Every node shares these.
- Name — the node's display name on the canvas.
- Color — the node's colour on the canvas.
- Delay Before (sec) — wait this long before the node runs.
- Delay After (sec) — wait this long after the node runs.
- Continue On Error — carry on instead of failing the flow. Defaults to false.
info
When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.
Inputs
| Property | Field | Description |
|---|---|---|
| Client ID | inClientID | Client ID from Connect node (optional if credentials provided) |
| Query | inQuery | Search query text (searches titles). Leave empty to list all accessible pages/databases |
Outputs
| Property | Field | Description |
|---|---|---|
| Count | outCount | Number of results returned |
| Has More | outHasMore | Whether more results are available |
| Next Cursor | outNextCursor | Cursor for fetching next page of results |
| Results | outResults | Array of matching pages and/or databases |
Options
| Property | Field | Description |
|---|---|---|
| Credentials | optCredentials | Notion integration token (optional - use instead of Connect node) |
| Page Size | optPageSize | Number of results per page (max 100) |
| Search Type | optSearchType | Type of objects to search for One of: ALL, page, database. |
| Sort By | optSortTimestamp | Timestamp to sort by One of: last_edited_time, created_time. |
| Sort Direction | optSortDirection | Sort order for results One of: ascending, descending. |
| Start Cursor | optStartCursor | Cursor for pagination (optional) |
Requirements
- A Client ID from this package's Connect node, unless you set credentials directly on this node.
- Notion Integration Token — Internal integration token from Notion. Create one at https://www.notion.so/my-integrations
value— Integration Token (password, required). Your Notion integration token (starts with 'secret_' or 'ntn_')
Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.
Related nodes
Connect · Disconnect · Create Page · Get Page · Update Page · Archive Page · Get Database · Query Database · Append Blocks · Get Block Children and 1 more
See also
- Notion — every node in this package
- Message object — how properties read values from
msg - Handling failure — Continue On Error, Catch and retries