Connect to Notion to Extract items form Database

Hi, I am creating a connector via JSON to connect to a Notion Database via API. The pagination in notion is cursor-based. How can I configure this?

Answers

  • brycec
    brycec Contributor

    This is possible using the JSON connector. In the Parsing setup step, you can configure the pagination for your request. For Notion, select the type of "Get next page token from results". Then, select "Add as a parameter" for the option "Select how the token should be used". Then, input the parameter name as start_cursor. Finally, wait for the connector to grab a sample response, select "Yes" for "Does the column below contain the token to retrieve the next page?" and drill down to the next_cursor column using the selection interface.

    Was this comment helpful? Click Agree or Like below.
    Did this comment solve your problem? Accept it as the solution!