I have a requirement of sending an email to the user, once the Live Agent, ends a chat. I have a pre chat form page, where in I will taking the user's email id. I need to send an email to this email id, once the agent ends the chat.

It would be great if any suggestions are provided. Thanks in advance.

regards, PH

1 Answer 1


Assuming you already stored the email in the Live Chat Transcript, all you would need to do is to create a workflow rule on that object to send an email to that email address.

  • Thanks-- The pre chat form I am using, is as below. How should I trigger the email, after the session has been ended by the live agent user?Where will the user email gets saved? I used this code from a forum <input type="hidden" name="liveagent.prechat.findorcreate.saveToTranscript:Contact" value="ContactId" />
    – PSH
    Oct 8, 2014 at 18:04
  • The transcript is created when the chat ends, at that point your workflow rule would fire and send the email. The email will be saved on whatever field you created in the transcript object, there are clear examples on the live agent developer guide and on this site about how to save a value in a filed in the transcript.
    – PepeFloyd
    Oct 8, 2014 at 20:17
  • Thanks for your reply. I did not find any record getting created. There are two transripts. LIVE AGENT TRANSCRIPT and LIVE AGENT TRANSCRIPT EVENT. Which one should I use?
    – PSH
    Oct 8, 2014 at 21:14
  • Live Agent Ttranscript
    – PepeFloyd
    Oct 9, 2014 at 10:16
  • Well my requirement says that, I should not save the transcript. So I have disabled that feature. But I need to send an email to that user after the chat.
    – PSH
    Oct 9, 2014 at 16:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .