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
AI-generated summary
The discussion revolves around automatically inserting user details into a CRM system (like Salesforce) as soon as a user signs up on Discourse. lovechopra1 seeks a solution to trigger a CRM API call with user data (name, email, custom fields) upon signup. naggar shares a similar need. adopilot suggests using SSO to register users in CRM first, but naggar clarifies that they want to avoid CRM registration and instead send data from Discourse to CRM via an API. simon provides a solution, recommending the use of a webhook triggered by the ‘User Created’ event, as detailed in the Discourse documentation on webhooks.
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).
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. ![]()
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 for details.