membermatters / MemberMatters

An open source membership, access and payments portal for makerspaces and community groups.
https://membermatters.org
MIT License
40 stars 23 forks source link

Generic webhook capability triggered by events #246

Open proffalken opened 5 months ago

proffalken commented 5 months ago

Is your feature request related to a problem? Please describe. I'd like to be able to integrate with other platforms, but in a really simple way

Describe the solution you'd like Most platforms out there such as Hubspot CRM support webhooks as a way of updating data.

Whilst the Moodle and Canvas integrations are excellent, sometimes you just want to have a "one-way" communication with the target platform rather than embed logic within the system.

As an example, we track visitors to our website via their email address when they submit our contact form. This is stored in Hubspot as a "lead", and I'd like to update the status of that lead when someone who has previously interacted with us signs up to MemberMatters.

I can see many other cases where this kind of generic approach could be useful, so I'm thinking that something along the lines of the Github webhook setup where you configure a target, authentication, and select the various events upon which you want the webhook to fire might be a useful addition to the system.

In our case, this could be something like:

When: A new user signs up and completes their induction
Then: Fire a webhook to Hubspot that converts that lead to a sale with the appropriate membership level

Thoughts?

Describe alternatives you've considered Custom integrations for every single platform we want to interact with. This feels like too much work to me!

Additional context N/A

jabelone commented 4 months ago

Love it! I’ll take a look if there’s any Django frameworks out there to make this easier (I assume there probably is) but also feel free to do some research or let me know if you’ve got any suggestions.