Notifications on Flaky Tests when running the workflow

I want to send notifications about flaky tests. I am familiar with the Insights API, but I am wondering if I can get information about tests that flaked during or after running the test workflow.