Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add static webhooks for each integration trigger #443

Open
GibsDev opened this issue Nov 3, 2021 · 3 comments
Open

Add static webhooks for each integration trigger #443

GibsDev opened this issue Nov 3, 2021 · 3 comments

Comments

@GibsDev
Copy link

GibsDev commented Nov 3, 2021

Current Behavior

In order to receive a webhook from an application, the application needs to implement rest hooks, or Zapier will generate a new webhook url per zap when only specifying the perform function within a trigger.

image
image
image

image

Desired Behavior

Each trigger can be (optionally) set to have a statically assigned webhook url so you do not need to register a new webhook url in the application each time you implement the trigger into a zap.

image

These static webhooks urls should also be displayed for each trigger when running zapier describe in CLI (after a valid push has been made)

@xavdid
Copy link
Contributor

xavdid commented Nov 3, 2021

Each trigger can be (optionally) set to have a statically assigned webhook url so you do not need to register a new webhook url in the application each time you implement the trigger into a zap.

I don't quite follow the request here. Can you be more clear about who needs to do what? I'm mixing up who "you" is- he developer or the end user?

For what it's worth, I think you're describing how rest hooks work. When a zap is turned on, the zap sends its unique URL to the external service (thereby "registering" it) and the end-user doesn't need to do any extra steps.

For the static webhook, each zap gets its own webhook url and the end user has to paste that url into the external service (once for each zap). Are you wanting the same static webhook url to be used for multiple zaps (but still unique to that user)?

@GibsDev
Copy link
Author

GibsDev commented Nov 4, 2021

Are you wanting the same static webhook url to be used for multiple zaps (but still unique to that user)?

Yes, exactly this.

As a third party integration creator, it is not possible to modify the application to implement rest hooks. But in most cases you can manually add a webhook url. Rather than having to manually register webhook urls for each zap (implementation), it would be very useful to only need to register a single webhook url and that information will be passed to all implementations of a certain trigger.

@GibsDev
Copy link
Author

GibsDev commented Nov 4, 2021

At first I was completely oblivious to keeping webhooks unique to a user, as I am going to be the only one using my integration, but I see now how that is challenging.

Perhaps this could be done in a similar manner to how accounts are stored and available through a dropdown for actions? The zap creator/implementer could select from a list of existing webhooks, or create and add new ones as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants