How to create a workflow for failed delivery follow-up in Flow app?

Hi, I’m trying to make a workflow with the Flow app to give a follow-up to a failed delivery.

How can I make a workflow to verify the delivery process and set “send an internal email if the delivery fails”?