# Webhook for new users

**URL:** https://meta.discourse.org/t/webhook-for-new-users/85918
**Category:** Feature
**Created:** [April 22, 2018, 6:34pm UTC](https://meta.discourse.org/t/webhook-for-new-users/85918 "2018-04-22T18:34:47Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)
#### Post date: [April 22, 2018, 6:34pm UTC](https://meta.discourse.org/t/webhook-for-new-users/85918/1 "2018-04-22T18:34:47Z")

</div>

it’d be nice to have a webhook specific for user creation. the **usecase** is to develop some on-boarding plan for new users (e.g. using zapier).

there is a [plugin for this](https://meta.discourse.org/t/discourse-webhooks-and-zapier/56753/20), but it doesn’t work with the current version of discourse.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 23, 2018, 12:20am UTC](https://meta.discourse.org/t/webhook-for-new-users/85918/2 "2018-04-23T00:20:16Z")

</div>

This already exists.

---

<div class="post-metadata">

### Author: ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)
#### Post date: [April 23, 2018, 4:10am UTC](https://meta.discourse.org/t/webhook-for-new-users/85918/3 "2018-04-23T04:10:12Z")

</div>

no it doesn’t.

there is a webhook for users, but it is **not specific** for “user creation”: `When a user logs in, logs out, is created, approved or updated.`

As a result one can’t do any specific work for newbies.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [April 23, 2018, 4:28am UTC](https://meta.discourse.org/t/webhook-for-new-users/85918/4 "2018-04-23T04:28:09Z")

</div>

> [@Pad\_Pors](#):
>
> As a result one can’t do any specific work for newbies.

That is not the case. It is expected that you filter the webhook on the receiving end. In this case you want to filter for `X-Discourse-Event: user_created`.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [April 23, 2018, 5:20am UTC](https://meta.discourse.org/t/webhook-for-new-users/85918/5 "2018-04-23T05:20:40Z")

</div>

This has come up many times and it would be really great if that “catch all” user webhook could be broken up into several. In the meantime, maybe @fantasticfears can repair the plugin?

See also:

> [@How to differentiate webhooks for created, approved or updated](https://meta.discourse.org/t/how-to-differentiate-webhooks-for-created-approved-or-updated/71607/5):
>
> I asked Zapier about this, and while the information sent in the header is awesome, they don’t include it in [Zaps](https://meta.discourse.org/t/discourse-webhooks-and-zapier/56753). I’d love to see this information sent in the body of Discourse’s webhook, and not just the headers. Given this set of headers: Request URL: https://hooks.zapier.com/hooks/catch/REDACTED/ Request method: POST Accept: \*/\* Connection: close Content-Length: 7429 Content-Type: application/json Host: hooks.zapier.com User-Agent: Discourse/1.9.0.beta12 X-Discourse-Instance: https://SIT…

---

<div class="post-metadata">

### Author: ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)
#### Post date: [April 26, 2018, 10:34am UTC](https://meta.discourse.org/t/webhook-for-new-users/85918/6 "2018-04-26T10:34:11Z")

</div>

> [@tophee](#):
>
> This has come up many times and it would be really great if that “catch all” user webhook could be broken up into several. In the meantime, maybe @fantasticfears can repair the plugin?

Is this plugin broken?

[https://github.com/fantasticfears/discourse-user-created-webhook](https://github.com/fantasticfears/discourse-user-created-webhook)

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [April 26, 2018, 10:52am UTC](https://meta.discourse.org/t/webhook-for-new-users/85918/7 "2018-04-26T10:52:57Z")

</div>

> [@fantasticfears](#):
>
> Is this plugin broken?

Apparently it is. See here: [Trigger a Zapier task with Discourse Webhooks](https://meta.discourse.org/t/discourse-webhooks-and-zapier/56753/23)

Also, I tried to get Zapier integration setup and I couldn’t filter it on their end to only new users.

It’s also worth noting that I was planning a workaround where I only ran the zap if an email address was present, because I read here somewhere that it would only be sent with the webhook for new users, but it was there for every user, as far as I could tell.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [April 26, 2018, 11:21am UTC](https://meta.discourse.org/t/webhook-for-new-users/85918/8 "2018-04-26T11:21:05Z")

</div>

> [@jtbayly](#):
>
> Zapier

Zapier is great and easy to use, but for certain use cases it may be not flexible enough. For anyone a bit more on the techie side, this is a great alternative (just FYI):

[www.integromat.com](http://www.integromat.com)

---

<div class="post-metadata">

### Author: ![jord8on](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jord8on/32/166809_2.png) [@jord8on](https://meta.discourse.org/u/jord8on)
#### Post date: [February 10, 2020, 5:07pm UTC](https://meta.discourse.org/t/webhook-for-new-users/85918/9 "2020-02-10T17:07:33Z")

</div>

I’m curious if anyone has used Integromat for onboarding communication

i.e.:

> [@Pad\_Pors](#):
>
> When a user logs in, logs out, is created, approved or updated.

The free version of Integromat seems to give a lot more, with 1,000 tasks/mth - vs the free version of Zapier with 100 tasks/mth.
