DBT Webhooks - With two triggers

Hey there! I’ve noticed with the DBT webhooks, you get a completed post as even if it has failures. I haven’t worked with multiple triggers yet- but can I set up two triggers for the same work flow- and if the failure webhook shows up before the completed one (which should happen per my understanding) - cancel them? How would that look like. Two triggers- and then a filter condition between 1st step and two triggers, saying don’t continue if I get a value from the failure trigger?

Thanks!

Mike

Hey @mike.melanson!

I’m not sure if I understood your question correctly, but let me know if this helps:

Even when setting 2 triggers, each workflow execution is independent of one another and acts the same as if it were only 1 trigger.

So if one trigger fails and the other one completes successfully, 1 workflow execution will fail and the other will run normally.

Gotcha- See it’s rather annoying that DBT sends a failure webhook AND a completed webook. sometimes it can fail AND complete- so I’m trying to figure out a way to cancel the workflow run if I get the failure one before the completed one! I currently have it set up to trigger on a completion webhook.