# How can I insert users details in to CRM as soon as user signup on discourse

**URL:** <https://meta.discourse.org/t/how-can-i-insert-users-details-in-to-crm-as-soon-as-user-signup-on-discourse/25064>\
**Category:** Support\
**Created:** [2015年二月10日 06:08 UTC](https://meta.discourse.org/t/how-can-i-insert-users-details-in-to-crm-as-soon-as-user-signup-on-discourse/25064 "2015-02-10T06:08:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lovechopra1](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@lovechopra1](https://meta.discourse.org/u/lovechopra1)\
**Post date:** [2015年二月10日 06:08 UTC](https://meta.discourse.org/t/how-can-i-insert-users-details-in-to-crm-as-soon-as-user-signup-on-discourse/25064/1 "2015-02-10T06:08:44Z")

</div>

We are using a CRM which already have API for inserting leads. Now as soon as user signup on discourse I want to call CRM’s insert lead API and want to insert user details like Name, Email and custom fields into CRM, please suggest how can I do this? Thanks

---

<div class="post-metadata">

**Author:** ![naggar](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@naggar](https://meta.discourse.org/u/naggar)\
**Post date:** [2015年二月19日 06:30 UTC](https://meta.discourse.org/t/how-can-i-insert-users-details-in-to-crm-as-soon-as-user-signup-on-discourse/25064/2 "2015-02-19T06:30:55Z")

</div>

Hi,

Please suggest any solution to it as i also have same type of requirement (inserting user details into CRM as soon as user registered and post question).

---

<div class="post-metadata">

**Author:** ![adopilot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adopilot/32/105040_2.png) [@adopilot](https://meta.discourse.org/u/adopilot)\
**Post date:** [2015年二月19日 07:14 UTC](https://meta.discourse.org/t/how-can-i-insert-users-details-in-to-crm-as-soon-as-user-signup-on-discourse/25064/3 "2015-02-19T07:14:56Z")

</div>

> [@naggar](#):
>
> Please suggest any solution to it as i also have same type of requirement (inserting user details into CRM as soon

Why you do not try this in reverse order. Let user register inside CRM and wired to discourse by SSO. So when user log in discpurse CRM will provide additional info throught SSO call

---

<div class="post-metadata">

**Author:** ![naggar](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@naggar](https://meta.discourse.org/u/naggar)\
**Post date:** [2015年二月20日 06:36 UTC](https://meta.discourse.org/t/how-can-i-insert-users-details-in-to-crm-as-soon-as-user-signup-on-discourse/25064/4 "2015-02-20T06:36:21Z")

</div>

> [@adopilot](#):
>
> Why you do not try this in reverse order. Let user register inside CRM and wired to discourse by SSO. So when user log in discpurse CRM will provide additional info throught SSO call

I don’t want to register user from CRM.

What i want as soon user signup, there small amount detail like Name and Email ID will go into CRM through API (Its a third party tool like salesforce lead management system where we can only able to see the list of record inserted or updated, there is no login mechanism in it.)

Let me make it more simple its more like calling an Custom API as soon as user signup and activate there account. 😄

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2018年九月10日 19:03 UTC](https://meta.discourse.org/t/how-can-i-insert-users-details-in-to-crm-as-soon-as-user-signup-on-discourse/25064/5 "2018-09-10T19:03:31Z")

</div>



---

<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:** [2018年九月10日 20:14 UTC](https://meta.discourse.org/t/how-can-i-insert-users-details-in-to-crm-as-soon-as-user-signup-on-discourse/25064/6 "2018-09-10T20:14:40Z")

</div>

> [@lovechopra1](#):
>
> Now as soon as user signup on discourse I want to call CRM’s insert lead API and want to insert user details like Name, Email and custom fields into CRM

This can now be done by configuring a webhook that is triggered on the User Event. The webhook is sent when a user logs in, logs out, is created, approved or updated. See [Configure webhooks that trigger on Discourse events to integrate with external services](https://meta.discourse.org/t/setting-up-webhooks/49045) for details.

---

<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:** [2018年九月10日 20:14 UTC](https://meta.discourse.org/t/how-can-i-insert-users-details-in-to-crm-as-soon-as-user-signup-on-discourse/25064/7 "2018-09-10T20:14:45Z")

</div>


