i am facing an issue and I did not find any way to make this work I am transitioning from the Embedded chat Service to the new Messaging in app and web created by salesforce.
With the embedded chat service we were using the extra pre-chat in order to feed our bot with extra information that look something like:
embedded_svc.settings.extraPrechatFormDetails = [{
"label": "First Name",
"value": "John",
"displayToAgent": true
}, {
"label": "Last Name",
"value": "Doe",
"displayToAgent": true
}, {
"label": "Email",
"value": "john.d[email protected]",
"displayToAgent": true
}];
I tried to find some documentation on the internet, but no way to find how to adapt this and pass extra information for the Messaging feature. I tried to do
embeddedservice_bootstrap.settings.extraPrechatFormDetails = [{
"label": "First Name",
"value": "John",
"displayToAgent": true
}];
but this is not working .. any idea ? thx you