# Weird bugs/issues with webhooks

**URL:** <https://meta.discourse.org/t/weird-bugs-issues-with-webhooks/305487>\
**Category:** Bug\
**Tags:** webhooks\
**Created:** [April 26, 2024, 12:01am UTC](https://meta.discourse.org/t/weird-bugs-issues-with-webhooks/305487 "2024-04-26T00:01:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [April 26, 2024, 3:28am UTC](https://meta.discourse.org/t/weird-bugs-issues-with-webhooks/305487/2 "2024-04-26T03:28:11Z")

</div>

> [@jordan-violet](#):
>
> Is there any documentation that clearly defines what the response objects are mapped to when the webhook is triggered?

Not what you’re looking for, but:

> <https://github.com/discourse/discourse/blob/main/app/serializers/basic_group_serializer.rb#L4-L35>

The “Automatic” field is the group’s `automatic_membership_email_domains` property. As you can see, it’s not in the attributes list.

The “Automatic” field that you’re seeing in the payload indicates whether or not the group is an “automatic” group. Essentially, the built in trust level and staff groups are automatic. Custom groups that you create are not automatic.

It seems like it would be easy to add the `automatic_membership_email_domains` field to the group webhook serializer. Also, this information should be available without having to look at the source code.

---

_[View the full topic](https://meta.discourse.org/t/weird-bugs-issues-with-webhooks/305487)._
