Chatwoot - Email Address Not Being Passed

I'm handing off a user to Chatwoot and when the chat is started, the email address is not passed from Typebot. I can't see any issues with the flow and it's weird that the Name is passed, but not the email address. I've attached screenshots of the flow, and chatwoot settings and a video showing what's happening. The response message from Chatwoot is also attached as a screenshot to show where it is supposed to output the variables. https://sendspark.com/share/2okmwztfix6b15r9
RandomMSP
Video Message
Watch this video I made for you
No description
No description
No description
3 Replies
Baptiste
Baptiste7mo ago
Managed to reproduce the bug. Working on it I'm confused though, when I console.log the chatwoot user in the Javascript console, it's correctly set:
console.log(window.$chatwoot.user)
console.log(window.$chatwoot.user)
Maybe an issue on their side?
Baptiste
Baptiste7mo ago
Ok, here is the underlying issue: https://github.com/chatwoot/chatwoot/issues/2811
GitHub
Contacts with same email address are merged although identifier is ...
Describe the bug I'm using Chatwoot on a portal where the email address of the customers are not yet known. However customers can already be differentiated based on an ID. So when initializing ...
Baptiste
Baptiste7mo ago
It happens when the email address you are setting is already in your Chatwoot contact, but since the contact IDs are not matched, it leaves the email attribute empty. To work around that, I suggest to put {{Email}} in the ID input as well. Thid will be the default behavior in the next release of Typebot