When the status changes, a web hook is sent from Notion with some data. n8n receives the data from the web hook, sorts it by projects, by task type, sorts it by company employees in Notion, processes it into the final format through a JavaScript node, and sends it to Slack via a pre-configured bot.