Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PreChat Responses entered are not shown in the LiveChat Workspace #514

Open
GraemeHalls opened this issue Sep 2, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@GraemeHalls
Copy link

Describe the bug
When parsing the Adaptive Card JSON inside the "preChatSurveyPaneProps" object, any responses provided by the user are not passed to the LiveChat Agent when the chat is accepted by the agent.

Reproduce

  1. Pass the PreChat Adaptive Card JSON via the 'preChatSurveyPaneProps' object:
    "preChatSurveyPaneProps": { "controlProps": { "payload": "{\"type\":\"AdaptiveCard\",\"$schema\":\"http://adaptivecards.io/schemas/adaptive-card.json\",\"version\":\"1.3\",\"body\":[{\"type\":\"TextBlock\",\"text\":\"Welcome to our Live Chat Service\",\"size\":\"medium\",\"weight\":\"bolder\",\"style\":\"heading\"},{\"type\":\"TextBlock\",\"text\":\"To help us serve you better, please provide some information before we begin your chat.\",\"size\":\"medium\",\"weight\":\"default\",\"style\":\"heading\",\"wrap\":true},{\"type\":\"Input.ChoiceSet\",\"id\":\"reason\",\"style\":\"compact\",\"label\":\"Please select your product type:\",\"isMultiSelect\":false,\"choices\":[{\"title\":\"Motor\",\"value\":\"Motor\"},{\"title\":\"Home\",\"value\":\"Motor\"},{\"title\":\"Travel\",\"value\":\"Motor\"}],\"isRequired\":true},{\"type\":\"Input.Text\",\"id\":\"fullname\",\"label\":\"What is your full name?\",\"isRequired\":true,\"placeholder\":\"Enter here\"},{\"type\":\"Input.Text\",\"id\":\"name\",\"label\":\"Date of Birth:\",\"isRequired\":true,\"placeholder\":\"Enter here\"},{\"type\":\"Input.Text\",\"id\":\"postcode\",\"label\":\"Please confirm your postcode:\",\"isRequired\":true,\"placeholder\":\"Enter here\"},{\"type\":\"Input.Text\",\"id\":\"phone\",\"label\":\"Please confirm your Policy number:\",\"isRequired\":true,\"placeholder\":\"Enter here\"}],\"actions\":[{\"type\":\"Action.Submit\",\"title\":\"Submit\",\"data\":{\"Type\":\"InputSubmit\"}}]}" } },
  2. Open Chat and fill in responses and click "Submit" when finished.
  3. When chat is accepted by LiveAgent, notice that reponses submitted by the user are not visible to the Agent
    Screenshot 2024-08-30 114812

Expected behavior
Responses provided by the user should be shown to the Agent.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Edge
  • Version 128.0.2
@GraemeHalls GraemeHalls added the bug Something isn't working label Sep 2, 2024
@GraemeHalls GraemeHalls changed the title PreChat Responses entered are not shown in the LiveChat Workspace for the Agent to PreChat Responses entered are not shown in the LiveChat Workspace Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant