We need to pass on the data of TOPICS being created, COMMENTS being given by an user to our internal CRMS panel, for analysing some data and deriving few reports based on that data. Is it possible?
AI-generated summary
Aditya_Shevle is seeking a way to automatically push data—specifically new TOPICS and COMMENTS—from Discourse to an internal CRM system for analytics and reporting. They clarify they want an event-driven mechanism (like an EVENT-OBSERVER) that triggers when a topic or reply is created, sending that data to a third-party database. merefield suggests using webhooks, linking to relevant documentation including guides on configuring webhooks for Discourse events, customizing payloads, and manually triggering them. Aditya_Shevle confirms the suggestion is helpful. The discussion centers on integrating Discourse with external systems via webhooks to enable real-time data synchronization without relying on XHR network calls that only store data locally in Discourse.
Can you please provide an example for the same?
This might help you with part of the solution:
Right now, the XHR that are getting shown in NETWORK TAB are used for storing the data in DISCOURSE DB.
We wanted to have an EVENT-OBSERVER kind of a thing in which, as soon as TOPIC/REPLY get created on DISCOURSE(this is an EVENT), an OBSERVER will push that TOPIC/REPLY data to 3rd party portal for storing purpose at 3rd party DB end.
Webhooks?
and e.g.:
Thank you, it helps!