What if person using my app, use 1 trigger for 2 separate actions (meaning 2 zaps) instead of combining them like zapier recommends. I’m developing app, and i need to address this kind of situation.
Depending on the action in your app, the zaps would likely function fine. It’s not advisable – multi-step zaps keep things cleaner and more efficient – but I don’t think it would fundamentally break anything.
- If the trigger is a webhook trigger then each zap will have a different subscription URL for the same event, so they will be triggered separately, which should work in your case.
- If it’s a polling trigger then they will both poll the API for data, so if the zap 1 detects a new element A then zap 2 will detect it too because they run separately.
Hope this helps!
Thanks
- Create a unique
id
in your database for each webhook subscription then return theid
in the Subscribe function of the trigger. This will signal Zapier to save that ID, and it will be available viabundle.subscribeData.id
in the Unsubscribe function. You can then send theid
to your API to remove the webhook subscription. - Use the subscription URL itself as the webhook identifier in your database.
bundle.targetUrl
is also available in the Unsubscribe function.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.