Setting it up
Add an Email delivery trigger from Add Node, then set:- Start this flow when an email is: one or more of Bounced, Blocked, Dropped, Not sent, Delayed, Marked as spam, Unsubscribed, Delivered, Opened and Clicked.
- Email type: Commercial, Transactional or Any.
- Template: a published template, or Any.
Opened and Clicked events only arrive when Track opens and clicks is on and your sending domain is verified.
What the flow receives
$.trigger holds msg_id, to, event, reason, template_key and ref (the object you set on the Send email step), plus subject on a failure.
Email sent by a run this trigger started starts no flow and raises no task, whatever becomes of it.
If you only want a task per failed recipient, you do not need a flow: turn on Raise a task when an email fails under Email sending.