Track Notion status with a webhook from https://notion.hostedhooks.com/.

Retrieve page with Notion API https://developers.notion.com/reference/retrieve-a-page, parse author name and title with JS regular expressions.

Get page URL with the url property in Notion API https://developers.notion.com/reference/page.

Send Discord message and create thread with Discord.js https://discordjs.guide/popular-topics/threads.html#thread-related-gateway-events

Update database with link using Notion API https://developers.notion.com/reference/update-a-database