https://discord.gg/botpress logo
Unable to add email or name to botpress metadata o...
# 🤝help
m
We are building a bot for a client that requires us to pass over tags, username and email address for ticket creation, the act of passing over to zendesk switchboard and adding tags is working perfectly fine. The documentation says that to add a name you need to add it to the meta data as "datacapture.userField.requester.name", this worked with on prem, but now we are using cloud, it no longer passes username and email over. Adding tags is working as stated earlier, but nothing from the others. Tickets are creating as you would expect, but at the same time, the name and email arent added and the username is the conversation id. Its likely stupid, but any ideas? https://cdn.discordapp.com/attachments/1382334520929288283/1382334521147523094/image.png?ex=685bea58&is=685a98d8&hm=35da6c7742755fb0c6792b1604e40e11f163f39b9a762c4285311d4c4b13c5a2&
p
Can you show your workflow? I'd like to try and replicate it.
m
I had to refactor my code to handoff at the same time as setting the meta data, using the passcontrol endpoint: Previously I was building and applying the metadata and passing control on the next node. Dont know why it works, but it does. https://cdn.discordapp.com/attachments/1382334520929288283/1382658659481423912/image.png?ex=684bf4b8&is=684aa338&hm=3a8b2472ae7a7dee2e0f32c0dd5d77733064d3e225dcfb402b6a71add7b7c373&
p
Glad you found a solution!
2 Views