- Have a group with some users in it (mine is called ‘forum-mods’ and has trust level 4 users in it)
In the /admin/api/web_hooks panel, create a webhook with the following settings
Login as one of the users that is part of your group (ie. 'forum-mods). Or impersonate them
Flag a regular user’s post as inapropiate
Notice the flag appears in the /admin/flags/active part of the dashboard. But the request doesn’t appear in /admin/api/web_hooks/[webhook id]/events
See a webhook event get fired for a user in the ‘forum-mod’ group flagging another user’s post.
Possibly this is me misunderstanding the proper usage of the “Triggered Groups” setting in my webhook. The wording is a bit confusing for me “webhooks will only be triggered if the event is ‘related’ with specific groups”
Not entirely sure about ‘related’, but I’m assuming that a member of the ‘forum-mod’ group should be able to flag another user.
Also, the webhook events work fine when I remove my group from the Triggered Groups field. But I was hoping it would act as a filter because I’m creating a webhook that only cares about forum-mods flagging other users.