Retrieve Freshchat User ID into Yellow's DB

How to retrieve the Freshchat user ID into a DB in yellow? What is the value to be passed?

Freshchat native integration is being used

@Rijo_Jacob

Can you share more context on the userID?

Is this userID present only on Freshchat? Are you looking to fetch this when the ticket is closed to insert into yellowDB

@gautham That’s right. Post ticket closure, the freshchat ticket ID needs to come back to a custom DB that’s built in yellow.

@Rijo_Jacob

Got it. At time of ticket close, Freshchat will pass an event to us ticket-closed
that event will contain numerous datapoints like agentID, userID and a couple of other details.

You can fetch those values and use it in the bot flow to insert the ticket data (along with userID) into the yellow DB

1 Like