Marketplace Platform v2.3 deprecation:We’re continuing to improve the Marketplace Platform to deliver stronger security, better performance, and new capabilities. As part of this evolution, Marketplace Platform v2.3 will be deprecated. To learn the dates and next steps, see Migration guide.
onConversationCreate
When a reply or note is added to a ticket, the onConversationCreate event is invoked and the registered callback method is executed.
The supported conversation create events are:
- Reply added
- Public note added
- Private note added
Subscribe to the onConversationCreate event and register the callback by using the following sample manifest.json content.
"events": {
"onConversationCreate": {
"handler": "onConversationCreateCallback"
}
}Define the corresponding callback by using the following sample server.js content:
exports = {
onConversationCreateCallback: function(payload) {
console.log("Logging arguments from onConversationCreate event: " + JSON.stringify(payload));
}
}Attributes of the data object
- actorobject
Information pertaining to the system, agent, or requester who triggered the onConversationCreate event in the Freshservice system.
- conversationobject
Information pertaining to the conversation when the onConversationCreate event is triggered in the Freshservice system.