planningcenter / developers

Planning Center API docs and support
https://developer.planning.center/docs/
85 stars 8 forks source link

Member flags for groups #1190

Closed BizOpsAdvisor closed 3 months ago

BizOpsAdvisor commented 4 months ago

Related Product Which product is this question related to? Webhooks/groups/people

Describe the question I'm looking for a way to identify people in our organization that have specific tags associated with them that we have put in a not or field on their profile. My thought is to get a web-hook for when someone requests to be added to a group or gets added to a group, then checks their profile for a specific code on a field in their profile, then if so, send the group leader a slack message or email. The key to that would be having some sort of web-hook/trigger that we can intercept.

Ie. Someone who shouldn't be put in a co-ed community group, but it wouldn't show up on a background check.

What have you tried that worked?

What have you tried that didn't work? Haven't been able to figure out any way that could flag the person trying to join a group...

Additional context

I have..

americanmouths commented 3 months ago

Hi @BizOpsAdvisor -- thanks for writing in and sorry for the late reply. Groups does currently have webhooks for when memberships to a group are created/updated/destroyed. The event to listen to for that is groups.v2.events.membership.*. More documentation can be found here: https://developer.planning.center/docs/#/overview/webhooks. I'm going to close this issue but let us know if you need anything else!