The FDK is reporting the following when I try to run it with an app built with v3.
✖ Invalid event: 'onConversationUpdate' for module: common
Below is my manifest.
{
"platform-version": "3.0",
"modules": {
"common": {
"events": {
"onAppInstall": {
"handler": "onAppInstallHandler"
},
"onAppUninstall": {
"handler": "onAppUninstallHandler"
},
"onConversationUpdate": {
"handler": "onConversationUpdateHandler"
}
},
"requests": {
}
},
"support_ticket": {}
},
"engines": {
"node": "18.15.9",
"fdk": "9.1.0"
}
}
Hey @RobAtOpinyin ,
Looks like you are defining a Freshdesk event onConversationUpdate
in common module which is not supported. This would be supported in support_ticket
module.
Check out the docs for the same - Freshworks Developer Docs | Configure onConversationCreate, onConversationUpdate, and onConversationDelete
1 Like
Hi @zach_jones_noel
Its a Freshchat event I am trying to catch.
1 Like
Hi Rob,
Supported Events under common:
onAppInstall
onAppUninstall
onExternalEvent
onScheduledEvent
afterAppUpdate
If you’re looking to capture onConversationUpdate,
Could you please try it this way and let me know if it works or not?
{
"platform-version": "3.0",
"modules": {
"common": {
"events": {
"onAppInstall": {
"handler": "onAppInstallHandler"
},
"onAppUninstall": {
"handler": "onAppUninstallHandler"
}
},
"requests": {
}
},
"chat_conversation": {
"events": {
"onConversationUpdate": {
"handler": "onConversationUpdateHandler"
}
}
}
},
"engines": {
"node": "18.15.9",
"fdk": "9.1.0"
}
}```
Note : Move "onConversationUpdate" under "chat_conversation" to point to Freshchat Product.
3 Likes
Thanks @vangakirankumarreddy !
@RobAtOpinyin ,
chat_conversation
module should be the one you are looking for. The manifest shared by @vangakirankumarreddy would resolve it.
1 Like
system
(system)
Closed
April 8, 2024, 4:19pm
6
This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.