Conditional triggering

  • 21 July 2022
  • 1 reply


I am building an integration (a Zapier application) with API that does not support conditional webhook; so it fires all events on a configured webhook and provides a type of event fired in a POST body, json, a kind of:
   event_type: “xxx”, 
   event_specific_data” {



I build an UI, a combo with multiple choice, with the list of event_types to choose. 

How can I prevent from firing trigger based on selected in UI types and and event type? In other words, can I stop running workflow programmatically based on some business rules.

Thank you!

1 reply

Userlevel 7
Badge +11

Hi @Dmitry Karpezo 

In short, yes this is possible. You will need to check in your Perform request the event type before returning anything. 

Assuming the input variable in the trigger is also called event_type your check might look something like this