Custom events as enrolment trigger for workflows

We have defined a couple of custom events in Hubspot to see how our users interact with our software product. One of these custom events is: "upload failed"


I would like to build a workflow on this custom event and send out an automated email with advice whenever a user runs into this kind of error.