So this is all visible in the UI. Using the Flow to do it is quite tricky. First, you have to read about
State Handlers. You need a Flow state handler to run at the end of the flow. And then you need to use the GraphQL client and query for the states of the task in the current flow run, and then format that and send it to Slack with Python