function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tall 642Tall 642 

Http Post with Salesforce Live Agent Help????

We have recently implemented the Salesforce.com Live Agent. The system itself is a little immature and does not allow a lot of avenues to get the data out of it. It does have a "HTTP" post method. We would like to push the chat data into a custom object in salesforce. I am not a developer so I have been struggling to do this. I am not sure of the exact URL that I need to give the Live Agent, but this is the one that I have determined is closest: https://cs4.salesforce.com/services/async/24/a0Q 

 

There is no way for me to currently see why this is failing from the live agent console. If I go directly to the URL I see this error message: 

<error xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<exceptionCode>InvalidSessionId</exceptionCode>
<exceptionMessage>Unable to find session id</exceptionMessage>
</error>

I assume that this is because I have not provided my credentials to the system, but I'm not sure how to do that. 

 

I guess the bottom line question is, does anyone know what I have to do to get the HTTP post from Salesforce live agent to create a custom object record in Salesforce.com?

JonAnianoJonAniano

What you are attempting to do is possible, but, it will certainly require a bit of development effort, some custom Apex code, etc. to process the incoming transcript post.

 

Details about the format and nature of the post are available in the following Live Agent support articles, but, you'll need a developer to take this to the next level and actually build the integration:

 

https://dashboard.liveagentforsalesforce.com/support/Deployment/how-to/77

 

https://dashboard.liveagentforsalesforce.com/support/Deployment/information/76