I am trying to format and show some already extracted customers information from our admin to FreshChat, this information is available under the Custom User Properties, so that they are more convenient to read for our agents.
Some of the information we are getting from our admin are formatted in a way of numbers, so imagine instead of getting “Google” as the website the customer is on, we are extracting our brand IDs in the form of 767676_8.
The problem, or more the question is, is it possible in the Smart Plug to format those numbers to string, so instead of 767676_8, I will show “Google”
If I understood correctly you want to show text instead of IDs from backend in Custom Properties Sidebar in agent portal?
I believe OOB this would not be possible however couple of workaround I can think are as following;
Store the custom IDs in concatenated string e.g "767676_8 | Google " so that in the side bar they are displayed as a concatenated string.
Create a Custom App and fetch the user details in App init() and format the properties as per your requirement and display them. You can hide OOB widget to show custom properties and show your custom app for custom user properties.