Questions tagged [pre-chat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Is it possible to findOrCreate contact in customized prechat form using lightningSnapin__PreChat?

We have customized the pre-chat form using LWC(lightningSnapin__PreChat). With every chat session, a new contact is getting created, we want to link with existing contact if a contact with the same ...
0 votes
0 answers
36 views

Display Chat Button When Agent With Specific Skills Are Available

I'm currently using Salesforce Livechat with Skill Based Routing. We display the chat button in our commerce site only when an agent is available. I currently have a new request to display the chat ...
0 votes
0 answers
38 views

Please explain about Fallback routing using Embedded service js for chat

I am trying to use Fallback routing using embedded service js. I have implemented the js file with fallback routing using arrays.embedded_svc.settings.fallbackRouting = [primarybuttonId,...
0 votes
0 answers
32 views

How to add default label to picklist / array of field when using lightningsnapin:prechatAPI e.x "Please select from dropdown"

We have live chat implementation , where we are using lightningsnapin:prechatAPI to prepare list as below controller : onInit: function(cmp, evt, hlp) { // Get pre-chat fields defined in setup using ...
0 votes
1 answer
174 views

Customize Pre-Chat Form on Salesforce-

Rename Label without chancing them globally on pre chat form. Case Subject, we 'd like rename Subject field as a How can I help you.Is it possible to achieve this without coding. If we need to modify ...
0 votes
0 answers
133 views

For an Embedded Service Deployments deployed to a Digital Experience, is there a way to programatically change the Record Type of the Case?

The Base Pre Chat Component lets you manipulate a Pre Chat form, but it's limited to the fields you specify in the Embedded Service Deployment via Setup. Sadly that interface doesn't let you specify ...
0 votes
0 answers
104 views

Concatenate First & Last Name Pre-Chat

all is there a way to concatenate First & Last names from the Pre chat form to populate the Web Name field on a Case?
0 votes
0 answers
22 views

How to restrict Labels under Additional branding? Please help

When I am removing the Customized Label then it is displaying Default label. But I don't want both of them. How can I achieve this? Please suggest.
  • 1
0 votes
0 answers
208 views

Error when displaying the preChat window: "The token provided ('slds-form-element__label slds-no-flex') contains HTML space char" in lightning-input

I'm building a custom preChat using LWC. Strictly speaking, this is base preChat (taken from here : https://developer.salesforce.com/docs/component-library/bundle/lightningsnapin-base-prechat/...
0 votes
1 answer
177 views

Salesforce chatbot not rendering SLDS CSS StyleSheet on Android Webview, what is the wrong with Salesforce

I am developing Salesforce chatbot in Android using JavaScript file. I am using Webview to load the content and it shows Chat with an Expert button. When I clicking on this button prechat page coming ...
  • 61
0 votes
0 answers
151 views

Formula (text) field on prechat form for live Agent

I am setting up prechat form on salesforce live agent and couldn't find any date fields. I have created a text formula field and it is not on available list of fields while configuring prechat form. ...
  • 15
0 votes
0 answers
110 views

Custom Logic in PreChat API findOrCreate.map.doFind - Embedded Web Chat

We are building a web chat with a custom prechat form where we are taking input of First Name, Last Name, Phone and Email. We used prechat API to find an existing account with the provided details ...
0 votes
0 answers
343 views

Case is not automatically associated with the Chat Transcript on the Service Console

When the customer fills in the pre-chat form with some basic info like First Name, Last Name, Email, Subject and Company and Begin the Chat the case is not automatically associated with the Chat ...
  • 1
0 votes
0 answers
67 views

Live Chat Trasnscript Record shows staus as 'Blocked' in salesforce. How it is coming as Blocked

When i request chat, the live chat transcript shows status as 'Blocked'. What will be the solution for this?
0 votes
0 answers
40 views

Omni channel "End Chat" button throwing an exception

I am using salesforce embedded service chat and when a community user chats with an agent and when the agent clicks on the "End chat" button from Service console app, it is throwing this ...
  • 83
1 vote
0 answers
290 views

How to stop contact & case creation in chat using ExtraPrechatDetails & ExtraPrechatInfo?

I am not using a Prechat form would that automatically avoid case/contact creation while chat If not then what to do to avoid it using ExtraPreChatInfo & ExtraPreChatDetails.What is the meaning of ...
  • 41
0 votes
1 answer
220 views

How to skip pre-chat page when use chatUserData method to pass field

I am working on Embedded Service SDK for Android. I want to pass some field values to agent before chat, but I don't want to popup a pre-chat page, because all field value passed to agent is by ...
0 votes
1 answer
848 views

Where I edit the text of the waiting chat window, as shown in the image below?

Where I edit the text of the waiting chat window, as shown in the image below? The priority is to change the informational text but if you can change the text of the button and the window title it ...
1 vote
0 answers
233 views

Pass a parameter in a hidden field for embedded chat?

We currently have a visual force page for a custom chat solution. In this solution we use hidden fields to pass parameters from the .com site where the chat is hosted to salesforce. Specifically ...
1 vote
0 answers
75 views

Web Chat Routing - Via Pre Chat form on ths same page

We have x2 channels for our chat support. Tech support and Web Support. We currently use a form to separate out the support channels and change the Button ID using this function below based on a ...
0 votes
0 answers
581 views

Contact is not getting created from Pre-Chat form

I am having a problem with my pre-chat questions not creating a Contact if no match is found for the Contact. The Chat starts fine and the Case is created, but the Contact is not created and the Case ...
0 votes
1 answer
1k views

How to add custom fields to LWC preChat form?

I used this "tutorial" https://developer.salesforce.com/docs/component-library/bundle/lightningsnapin-base-prechat/documentation to create a custom live chat preChat form. But I couldnt ...
0 votes
0 answers
409 views

How can I fix this error?

Error: Web_Chat line 9, column 2: The markup in the document following the root element must be well-formed Error Error: The markup in the document following the root element must be well-formed &...
0 votes
1 answer
959 views

Can you set embedded services chat to automatically open the pre-chat form if agents are available?

Basically the title. I've got my chat configuration all set up how the stakeholders want it, but they're asking if there's a way that the Pre-Chat form can automatically open in the page that we have ...
0 votes
1 answer
58 views

JS Remoting cannot access contacts

I've read all the documentation I could find, and tried several variations of code, but nothing has produced results. I'm working on a pre-chat form for Live Chat, and what I want to do is search all ...
0 votes
1 answer
617 views

How do I add a terms and conditions checkbox to the pre-chat form for Salesforce Live Chat?

We have used the embed code from the embedded service deployment to successfully run Live Chat on our website. We also have been able to pre-populate the pre-chat form fields. However, we'd like to ...
0 votes
1 answer
45 views

X-Frame Options Issue when using Chat Preview Form on external website

I'm trying to build a custom prechat page for live-agent (specifically on an external webpage, not on a community or on a Force.com Site) so that I can manually define the behaviour when a user ...
0 votes
2 answers
758 views

Make SF Chat appear only when agent is available

I recently created a Chat Button in SF successfully. I created the Routing, the Queue, Pre Chat button and the Chat Embedded Deployment. I used the code snippet form the embedded deployment and placed ...
0 votes
1 answer
430 views

Add Images to a Live Agent that is embedded in an external Website

I am trying to add images to a live agent deployment that is embedded in an External Website. The images are stored in Static Resource and I have set the Cache-Control as Public. If I put the live ...
1 vote
1 answer
2k views

Get Pre chat data in Einstein Bots

I have a bot deployed using Embedded Service. I'm following Einstein Bots Developer Cookbook. In my PreChat form, I'm getting customer Name, which I want to use while greeting. I have added below ...
1 vote
2 answers
1k views

Unable to set custom field value on the chat transcript object from pre-chat using Embedded Service

I am using an embedded service deployment to show a chat window on a publicly hosted webpage. This chat has a pre-chat form configured where I take in the contact details. I want to input some ...
  • 95
1 vote
0 answers
56 views

Live Agent Chat - How Do You Append A Value From The Prechat Form To A Chat Conversation?

I currently have a textarea on my prechat form that looks like: <textarea name='liveagent.prechat:CaseSubject' class="form-control-desc" id='subject' cols="75" rows="3" maxlength="255" size="250" ...
3 votes
0 answers
754 views

Not able to pass custom field value to Live Chat Transcript object usin embedded service chat extra Prechat JS

I've below code in snippet setting file of embedded service chat component. embedded_svc.snippetSettingsFile.extraPrechatFormDetails = [{ label: "RecordTypeId", value: "...
2 votes
1 answer
205 views

Restrict contact creation for non-English language embedded service chat using extra JS snippet setting file

I've got a multilingual community and added standard embedded service chat component in the footer and overridden features using an external snippet setting file named Prechat JS. I've already added ...
0 votes
1 answer
996 views

Record is not getting created from Pre-Chat form

Pre-Chat form has a feature that tries to match the information entered, with existing records. If no match found, a record will be created and Chat transcript is associated with that record. For ...
1 vote
0 answers
89 views

Mobile Live Chat Agent update prechat fields doesn't work

I couldn't update a value for the new custom prechat fields. I am using Mobile chat-ui SDK to send a a new custom fields in Contact Entity. This custom field shows in CLT dashboard but didn't get the ...
2 votes
0 answers
277 views

Community logged in user info for extraprechatform

I have implemented snap-ins (embedded chat) on Portal (VF page) and on websites, where in I am not having prechat form at all. When user clicks on "chat with an expert" button it will not goto prechat ...
0 votes
1 answer
545 views

Is it possible to link slds to an embedded chat deployment?

I am building a chat deployment to be embedded on an external site. I created a custom prechat form using aura/lightning components that rely on styling from slds. When embedded in the external site, ...
0 votes
1 answer
2k views

Live Agent - Custom Pre-Chat From

I have created a Visualforce page with below details and have it linked on Chat Buttons & Invitations as custom Pre-Chat Form and Site for Resources. However when I click on the chat button it ...
1 vote
0 answers
490 views

Is there a way to secure a live agent deployment?

I am working on putting a liveAgent deployment in our website, I basically got a javascript snippet like the one shared here: https://developer.salesforce.com/docs/atlas.en-us.live_agent_dev.meta/...
  • 11
1 vote
0 answers
213 views

Pre Chat Form with a Custom Chat Page

I am having an issue with my pre-chat form and my custom chat page in my live chat deployment. If I remove the pre chat page from this configuration I can go to my custom chat page but if I have both ...
0 votes
1 answer
3k views

Snap-Ins Custom Pre-Chat Component Using Aura and problem with contact matching

In some org we use Custom Pre-Chat Component(aura) to start chat on community. Here's the implemenation Component Code <aura:component implements="lightningsnapin:prechatUI" description="Sample ...
  • 400
3 votes
2 answers
1k views

How to display custom Form/Pre chat form before transferring to an Agent in Einstein Bots

I'm using Einstein Bots for knowledge Articles, where in I have a Dialog to transfer to an agent based on some predefined options that the customer has chosen. Everything works, but I would like to ...
1 vote
1 answer
972 views

Use PreChatObjects from liveAgent in Einstein Bot

I have a LiveAgent chat configured for iOS and Android devices, we send some informations like UserName, Email, PhoneNumber etc. using PrechatObject. I am now building an Einstein bot, and I need to ...
0 votes
1 answer
2k views

Snap-ins Pre-Chat - Case is not created when no "Subject" is given

I use Snap-Ins chat with a Pre-Chat form to connect an external site with Salesforce Service Console which uses Omni-Channel chat. From the user side: I fill the prechat form only with first and ...
1 vote
1 answer
291 views

Pass Additional Parameters to Prechat?

So the code to include the prechat component looks something like below: <div class="prechat"> <img id="liveagent_button_online_573000000000000" onclick="liveagent.startChat('...
  • 146k
9 votes
1 answer
2k views

Is it possible to upsert Prechat data in a custom Lightning Snap-in?

Here are some related links: Custom Pre-Chat Component Sample Using Aura Custom Pre-Chat Component Sample Using JavaScript Find and Create Records Pre-Chat API Code Sample Based on link 3, it seems ...
  • 146k
1 vote
1 answer
4k views

Einstein Bots Pre-chat data

I have a bot deployed using a chat button through a snap-ins chat. I've deployed this on a community using the snap-ins component and the bot engages fine. I'm trying to get the Pre-chat form details ...
  • 151
0 votes
1 answer
2k views

Snap ins, Pre chat form - adding custom fields

I'm trying to figure out how to add a custom field from Case Object to the pre-chat form. I saw a video from salesforce and I see it was possible. https://www.youtube.com/watch?v=TdnxS8MYSr0 Time: ...
1 vote
2 answers
433 views

Pre-existing cases with snap-ins chat in a community

I'm building a custom pre-chat form that I'm using with a snap-ins chat deployment. I am using it in a Salesforce community and everything works great except I have no way of sending specific cases ...