On the Notion integration page, create a new internal app called “Next Matter”.
Click the app and copy the Integration secret. You’ll need to provide it in the Next Matter workflow.
In Notion, click the parent page under which you’ll be creating new pages. To do this, in the top right-hand corner click … > + Add connections.
Select the Next Matter app.
Allow Notion access to Next Matter.
On your parent page, in the top-right corner click Share.
Click Copy link.
Paste the link somewhere and extract the Notion page ID from the link. You can find the page ID at the end of a Notion page’s URL (before any query strings starting with ?). For example, the page ID here https://www.notion.so/nextmatter/Content-fa12225389b641339a46df8073992b62?pvs=4 would be fa12225389b641339a46df8073992b62.