Notion - Query database action

The Query database action searches a Notion database and returns a list of records that match the criteria you specify.

Input

FieldDescription
DatabaseSelect the database to search.
Filter source listInput a list datapill to create the filter from.
ColumnSelect the column to filter by.
ValueProvide the value to compare against the selected Column values.
Filter conditionSpecify how to compare the returned Column values against the Value you set.
ConditionSpecify whether to use AND or OR logic for the filter's conditions.
Sort bySelect a property to sort the results by.
Sort orderSpecify whether to sort the records in ascending or descending order.
Sort by Timestamp columnSelect a timestamp column to sort the results by.
CursorProvide the next_cursor value to retrieve the next page of results. Defaults to the first page if left blank.
Page sizeEnter the number of records to return per page. The maximum and default value is 100.

Output

FieldDescription
ObjectThe type of object retrieved.
Page IDThe identifier for the associated page.
Created timeThe timestamp when the object was created.
Last edited timeThe timestamp when the object was last updated.
ArchivedIndicates whether the database is archived.
URLThe queried object's URL.
ParentContains information about the queried object's parent, such as its Type and ID.
PropertiesContains information about the queried object's properties, such as its Title, Type, and ID.
List sizeThe total number of matching results.
List indexThe position of the returned entries within the results list.
Next cursorThe identifier for the next page of results.
Has moreIndicates if there are additional results.

Last updated: