https://discord.gg/botpress logo
User data is not displayed when chat is transfered...
# 🤝help
b
Hi, when I am transfering chat to a live agent, Ive set up varibles for the user info. However when agent opens a chat widow this info is not accessable for the agent. It doesn't show title of the chat, description or email. An user name is set as Anonymous User. How to resolve that issue? https://cdn.discordapp.com/attachments/1367198330320457800/1367198330827837551/Screenshot_2025-04-30_at_10.54.21_AM.png?ex=6813b62b&is=681264ab&hm=acf2229e562cdf0f43165264faca9fd83fc8dba63e117cb6167cee7bc28e3a50& https://cdn.discordapp.com/attachments/1367198330320457800/1367198331251593346/Screenshot_2025-04-30_at_10.54.26_AM.png?ex=6813b62b&is=681264ab&hm=8e3d3a6bcc28bb48e1b39b64917f1b0c5d6aa03bfbe930411c19dc4020ec735b&
p
Hi! I'm unsure if you are aware but the HITL process was updated recently to use a plugin. However, the information passed is in fact not being displayed to the live agent in the current version, either. Thank you for bringing this to our attention. We will be working on a solution. Sorry for the trouble.
b
@prehistoric-airplane-85682 the problem is that if I create a chat through the HITL plugin - the chat getting created, but i don't see the chat though the botpress dashboard. in this specific example from screenshot you can see how I have 13 unassigned chats created: 4 of them I created through the old plugin and 9 of them though the new. https://cdn.discordapp.com/attachments/1367198330320457800/1367209761216401468/Screenshot_2025-04-30_at_11.41.56_AM.png?ex=6813c0d0&is=68126f50&hm=2b1a1f5569be37a3c1d0969523978e6f4d85d8ea099ea7348c4bffd10a7eb640&
p
Right, the reason why they don't appear is because you then have to assign them to a person (ex: yourself) to see the chat and answer.
b
@prehistoric-airplane-85682 how can I assigne them, if they are not visible for me?
Old version is still visible even when pending and not assigned to anyone
b
@prehistoric-airplane-85682 again, the 4 pending conversations on my screenshot were created by the OLD HITL, there is 13 unassigned conversations, where 9 0f them were created by the NEW HITL plugin, and those 9 I can not see or assign
p
Ahh my bad, I understand your issue now. I would recommend looking into this thread as it may be related to the values you are passing to create the ticket: https://discord.com/channels/1108396290624213082/1346177499045822535
o
@billowy-hamburger-97029 in that thread ^^ @salmon-bird-2821 was having the same issue when he wasn't correctly passing the user name, I changed it to {{event.userId}} as a test and it started working again. Please make sure you are passing the values correctly and that the autonomous node isn't updating these values incorrectly. I wouldn't trust the autonomous node to pass values directly to the escalate to human card. I would use the autonomous node as a router and route the user to an escalate to human workflow where you pass the values to the card manually and _do not _ leave it up to the autonomous node to update
See the routing chapter of this video:

https://www.youtube.com/watch?v=-N4OoKg_w4I▾

b
@orange-egg-72655 I dont have an issue with creating the HITL session, I am passing {{event.userId}} as you have mentioned, but after session has been created successfully it is not displayed inside the HITL interface in dashboard (please see the screenshot - there is an evident discrepancy in the amount of unassigned conversations and the actual conversations I can see)
4 Views