zapier / zapier-platform

The SDK for you to build an integration on Zapier

Home Page:https://platform.zapier.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pass information on whether Zap was disabled or deleted to `performUnsubscribe`

monsagri opened this issue · comments

Current Behavior

performUnsubscribe is called whenever a user turns a Zap off, or deletes a Zap.
There is some basic information on bundle.meta.zap, however while we can access live, we can't determine what action triggered the call to performUnsubscribe.

We are in the process of building a Zapier Integration and we support a concept of having a webhook turned on/off on our end.
As a result we'd love to avoid deleting/recreating webhooks when a Zap is simply turned on/off.

Desired Behavior

bundle passes information on why the call to performUnsubscribe was triggered.