Skip to main content
This is linking to java to see the code in color
Link
Samuel De Rycke
  • 9.6k
  • 8
  • 46
  • 73

How to Create a Case and contact automatically from Prechat form using LiveAgent through API

deleted 1913 characters in body
Source Link
User1511
  • 493
  • 1
  • 14
  • 27

I've a requirement is,When the Visitor fills in the prechat form with some basic stuff like First Name, Last Name, Email, Case Number,then "I'm trying to find that Case if not found create a new Case or display the existing Case and find ContactSearch Contact,if not found create new Contact or display the existing Contact.

Below is the Code I've written,it is working for Contact creation and searchingI followed one link http://peterknolle.com/live-agent-pre-chat-api/ ,but not working forhere explained about Create a Case creation and findingevery time,plsbut I do search for existing case or create new one if not exist then link to contact.

Please help me in this regards.

First Name:
Last Name:
Email Address:
Phone Number:
Company:
Country:
State/Province:
Brief Description:
Case Number:

I've a requirement is,When the Visitor fills in the prechat form with some basic stuff like First Name, Last Name, Email, Case Number,then "I'm trying to find that Case if not found create a new Case or display the existing Case and find Contact,if not found create new Contact or display the existing Contact.

Below is the Code I've written,it is working for Contact creation and searching ,but not working for Case creation and finding,pls help me in this regards.

First Name:
Last Name:
Email Address:
Phone Number:
Company:
Country:
State/Province:
Brief Description:
Case Number:

I've a requirement is,When the Visitor fills in the prechat form with some basic stuff like First Name, Last Name, Email, Case Number,then "I'm trying to find that Case if not found create a new Case or display the existing Case and Search Contact,if not found create new Contact or display the existing Contact.

I followed one link http://peterknolle.com/live-agent-pre-chat-api/ ,but here explained about Create a Case every time,but I do search for existing case or create new one if not exist then link to contact.

Please help me in this regards

Source Link
User1511
  • 493
  • 1
  • 14
  • 27
Loading