Questions tagged [liveagent]

Live Agent is a native Salesforce tool that provides the ability to interactively communicate with your web site users. Live Agent lets your support agents help customers through chat. Once you have an active deployment of live agent, you will be able to chat with you site visitors in live time. The information collected during the chat can then be saved into your Salesforce instance and reported on.

Filter by
Sorted by
Tagged with
4
votes
1answer
1k views

Locker Service for Communities blocks any attempts to include Salesforce Live Agent. Is this a bug?

I am leaning on my friends at Salesforce Stack for a very important question that I have spent a great deal of time on over the past few weeks. Warning: This is a long one, please grab yourself a ...
12
votes
1answer
14k views

How to setup pre-chat form in HTML to embed in customer website?

I am setting up a Live Agent for my customer and I am very new to Salesforce. I able to setup a chat button upon clicking it will launch chat window. Now I wanted to have pre-chat window, I search ...
4
votes
2answers
2k views

Affinity token missing from SessionId call

I've recently tried using the Live Agent Rest API and I am unable to even establish a session. I'm following the official online documentation, and according to it when I do the initial SessionId call,...
0
votes
1answer
221 views

Is there any way to get the number of pending chat request on omni channel?

I have a requirement to get the number of pending chat request in the omni channel. I have set the presence configuration capacity to 5 so that an agent can have only 5 chat requests. if a case is ...
3
votes
1answer
2k views

Live Chat error message “Session required but was invalid or not found”

I'm trying to develop an apex function to connect my Org with live agent based on Salesforce official guide. Apex function connect with live agent got 2 main step as following: Create a Live Agent ...
2
votes
1answer
4k views

Live Agent Pre Chat Form - popup window size

We're about to go live with Live Agent (the version that built into your Salesforce instance). We're using some a prechat form which appears as a popup window when the user clicks the "Chat" button. ...
1
vote
0answers
136 views

Disable live chat option if agents are not online

I need to disable the live chat option when all agents are offline. I used liveagent.showWhenOnline and liveagent.showWhenOffline methods in the controller. liveagent.showWhenOnline('button_id', ...
1
vote
1answer
3k views

How to keep Session Id and key after implement ChasitorInit request

I want to integrate an social chat App (WeChat) into Salesforce, I wish this integration can implement an complete chat communication between Live agent and customer such as following: customer send ...
4
votes
1answer
16k views

Automatically associate chat transcript to case and account

We're using the service cloud console and live agent chat. We have chosen not to automatically create a new case for every inbound chat request (So Deployment API and pre-chat API are probably not in ...
8
votes
1answer
3k views

Live Agent, What is the correct syntax to create a case from the pre-chat form?

I am trying to create a case once the visitor submits the pre-chat form but is not working, the record is not created. I managed to get it working using the deployment API but not from the pre-chat ...
2
votes
1answer
3k views

Unable to send chat message in live agent via REST api

I am accessing Salesforce Live Agent through REST API version 40. I am able to create session, do chasitorInit and get Messages successfully. When I send Chat Message which user types to agent via ...
4
votes
2answers
4k views

Is it possible read/write settings of embedded_svc in lightning component of preChat snap-in?

I would like to create two buttons on Snap-ins pre-chat form to route customer to different support departments. According to documentation we can control the agent routing with embedded_svc.settings....
3
votes
1answer
3k views

LiveAgent Availability Check?

I'm trying to check availability for a LiveAgent deployment/button. Which seems to be quite undocumented. I can GET /rest/System/MultiNoun.jsonp?nouns=Settings&Settings.prefix=Visitor&...
5
votes
1answer
504 views

liveagent.startChatWithWindow with userId ignore 'Custom Chat Page' and open default chat

When liveagent chat is started by liveagent.startChatWithWindow without specifying userId - Custom Chat Page is used (ok), but when userId is specified - Custom Chat Page is ignored and default chat ...
4
votes
1answer
2k views

400 Request is not a valid ChasitorInit - live agent rest api

Hi i'm trying to reach this endpoint with live agent rest api https://d.la1-c1-frf.salesforceliveagent.com/chat/rest/Chasitor/ChasitorInit Then got 400 Request is not a valid ChasitorInit Here is my ...
4
votes
2answers
695 views

CaseId is not associated to LiveChatTranscript record as expected

I'm using the Live Agent Deployment API to trigger the live chat flow, before initialize the chat window we also run saveToTranscript to associate a Case to LiveChatTranscript by filling the case id, ...
4
votes
2answers
2k views

Preventing multiple LiveAgent chat windows from being opened

I've been looking through the Live Agent Developer's Guide without much success in trying to determine if there is a way to determine if a visitor is currently engaged in a Live Agent chat, and if so ...
3
votes
2answers
4k views

Liveagent: Possible to use Custom Chat Window without creating a Force.com Site?

From the Chat Button edit screen (Setup->Customize->Live Agent->Chat Buttons & Invitations): Note that "Custom Chat Page" does not have an input box. If I set up a Force.com Site, I get the ...
2
votes
1answer
780 views

LiveAgent Chat with External ID

I am integrating a third-party site with Salesforce LiveAgent to include passing in an external ID for a Contact record. Following the instructions at this site I have a simple web page set up (...
2
votes
2answers
3k views

Einstein Bot: get current Community User for Live Agent Pre-Chat

I'm playing around with Einstein Bots and have created a simple bot that is consumed inside a customer community. I'd like to get the current User inside an Apex action used in a bot dialog. The ...
1
vote
2answers
1k views

Custom Chat Window Queue Position Conditional Message

I'm using the liveAgent:clientChatQueuePosition tag in a customized chat window to display a visitors place in the queue. When an alert has been sent to the agent, however, the value is null. Does ...
7
votes
1answer
3k views

Live Agent- Pre-Chat

I am not able to create/find record using the Pre-Chat Api tags...Any help you guys can give will be appreciated. Here is a snippet of the code: <apex:outputPanel id="prechatFormPanel"> <...
4
votes
2answers
4k views

Embedded Service Chat component in community - using “Snippet Settings File” javascript to override pre-chat file is not working

I am using chat (what was called live agent) and I am using the client side inside a Salesforce community - As explained here. I am doing that with the Embedded Service Chat component in the ...
3
votes
1answer
596 views

LiveAgent - StartChatWithWindow: wrong Chat Page

I have set up a Live Agent. Suppose a chat has begun between a client and the operator. At the end of this chat the operator ha the chance to give to the client a link that he can use in another ...
2
votes
1answer
4k views

Wait until liveagent.init() finishes

It looks like the init() function is asynchronous - is there any way to know when it finishes? Something like jQuery complete? For example .getJSON('/blah', function(data) { /* Invoked when request ...
1
vote
1answer
363 views

chat embedded_svc.settings.fallbackRouting not working

I am trying to implement a fallback routing mechanism for my chat implementation with skills routing. I am putting my chat snippet in a VisualForce page: <apex:page showheader="false" ...
1
vote
1answer
1k views

Capture URL of webpage containing Live Agent chat button

We are implementing Live Agent with a pre-chat form to capture and display information from the customer. The pre-chat form works great but we also want capture the URL the customer was on when they ...
1
vote
2answers
3k views

Live agent chat idle session 10 mins

Can we have an automated end chat feature, if the session is idle for 10 mins, in Live agent configuration of salesforce?
1
vote
1answer
1k views

How to use Live Agent Automated Invitation with Custom Variables?

On the automated invitation configuration page for Live Agent, there is an option to use a custom variable to trigger the invitation but I don't see any documentation on how is it supposed to be used. ...
0
votes
1answer
272 views

Chat (LiveAgent) Customize Response When No Agents Are Available

I am looking to update the message that is delivered to users when no agents are available to chat. I am stumped where the messages are being set. I have checked: quick message $Label.site custom ...
0
votes
1answer
771 views

Using two fields in findorcreate.map.isExactMatch in Live Agent

I am using salesforce for a Live chat to case form. There are two fields i would like the user to enter info. Member ID Email ID Now i am using this <input type="hidden" name="liveagent....
0
votes
1answer
8k views

Adding chat transcript to case in Live Agent

I have gone through the Live Agent Developer Guide (http://www.salesforce.com/us/developer/docs/live_agent_dev/live_agent_dev_guide.pdf), and I think I have a good idea on how to put together a custom ...
0
votes
1answer
615 views

Facing issue with Implementation of Live Agent in Lightning Components: CSP Issues

I am facing issue while implementing Live Agent with Lightning Components(Lockerservice disabled). Below are the details required. Here, I am facing issue with initializing LiveAgent. Any help is ...