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

[REQUEST] Zapier Support for AM Trigger/Webhooks #35

Open
blankster opened this issue Jun 15, 2021 · 1 comment
Open

[REQUEST] Zapier Support for AM Trigger/Webhooks #35

blankster opened this issue Jun 15, 2021 · 1 comment
Labels
request API feature request

Comments

@blankster
Copy link

blankster commented Jun 15, 2021

Statement of purpose
I do solemnly swear (or affirm) that this is an API feature request and not a Marvin feature request. For a Marvin feature request, I would use Product Board.

Is your feature request related to a problem? Please describe.
According https://github.com/amazingmarvin/MarvinAPI/wiki/Webhooks AM expects a certain answer when the webhook strategy is used, as far as I know, Zapier can't provide this when webhooks are used (https://zapier.com/page/webhooks/). Besides this, the current Zapier integration doesn't allow the usage of AM as a trigger.

Describe the solution you'd like
I would like the direct option that allows AM webhooks to trigger Zapier webhooks.

Example:
If in AM, a task/habit/Pomodoro is completed, what is triggering a webhook directly to Zapier and sends detailed data to it, related to the object completed.

Clarification: I don't need a visual configuration option directly in Zapier, just an option that allows me to trigger Zapier by AM webhook.

The only danger I see is that multiple tasks could be completed sometimes faster than 3s between each completion. It would be great if webhooks aren't sent faster (queueing?) than this. Zapier isn't the bottleneck here, it could theoretically handle 10K requests/5min.

Describe alternatives you've considered
Developing a "man in the middle"/proxy that replies with the needed feedback to AM while forwarding the information to Zapier. But that's an additional part that can break, overhead, and can be considered an ugly workaround, as especially Zapier is exactly built, to receive such webhooks/triggers and deal with it (no danger of DOS).

If this is the only route possible in near future, then I do it, but if there is a cleaner solution possible, I would like to avoid it.

Additional context
Personally, I want to let run a custom Python script on Zapier that manages the Exist.io integration (http://developer.exist.io/#list-of-attributes) and provides productivity data directly fed by AM (tasks completed, Pomodoro, and so on). I did this once successfully for https://habitica.com/ and it worked very well.

This request seems to be similar to the Integromat integration request (#21).

@blankster blankster added the request API feature request label Jun 15, 2021
@blankster blankster changed the title [REQUEST]Zapier Support for Webhooks [REQUEST] Zapier Support for AM Trigger/Webhooks Jun 15, 2021
@amazingmarvin
Copy link
Collaborator

Webhooks are queued up and only fire once every 3 seconds, so that part should be fine.

I've started working on the Zapier webhooks. No ETA yet but this will happen, and it seems easier to setup than Integromat.

@amazingmarvin amazingmarvin removed their assignment Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request API feature request
Projects
None yet
Development

No branches or pull requests

1 participant