# How to differentiate webhooks for created, approved or updated

**URL:** <https://meta.discourse.org/t/how-to-differentiate-webhooks-for-created-approved-or-updated/71607>\
**Category:** Product Support\
**Created:** [8. Oktober 2017 um 00:18 UTC](https://meta.discourse.org/t/how-to-differentiate-webhooks-for-created-approved-or-updated/71607 "2017-10-08T00:18:45Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**Post date:** [8. Oktober 2017 um 00:18 UTC](https://meta.discourse.org/t/how-to-differentiate-webhooks-for-created-approved-or-updated/71607/1 "2017-10-08T00:18:45Z")

</div>

I’m using webhooks to process new users [via zapier](https://meta.discourse.org/t/discourse-webhooks-and-zapier/56753), and lately it’s being triggered too often.

The option we have in the admin is `When a user is created, approved or updated.`

I thought that the email would only be sent on [new user creation](https://meta.discourse.org/t/should-the-email-address-of-a-new-user-be-included-in-the-webhook/59255). but we’re getting it even if the user had a badge awarded, joined a group, etc.

So the question is.. what’s the best way to identify when the webhook is related to a new user, vs a user being updated?

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/how-to-differentiate-webhooks-for-created-approved-or-updated/71607)._
