I want to trigger a API call as soon as customer completed chat using Freshchat

Currently I have created a Freshchat Server less APP, where I am watching for when chat resolved and then making an API call.

I am getting resolved event sometime and sometime not. I think it is when the Freshchat is offline.

I am checking the “Resolved” event in “Changes” key from Response. Using onConversationUpdateCallback method. Sometime I got the below response.


Sometime I didn’t get “Resolved” event in response. Especially when Freshchat is offline. Could you Please suggest on this.


Also I want to trigger the API for specific bots. So what will be the unique ID of bots that differentiate in response. I tried this by using “channel_id” from response, but getting same id in every bot response. Please suggest.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.