Search search
Help sections
FAQ

Integration with Livechat

mysurveylab.com provides integration via webhooks. Thanks to this functionality you can trigger survey with any event (e.g. conversation finished on a chat) in the other system.

Integration with LiveChat using webhooks.

MySurveyLab

  1. Log in to mysurveylab and copy survey link, that you want to trigger using webhook

LiveChat

  1. Log into LiveChat and go to Settings.
  2. In the section Integration select Webhooks.
  3. Press ADD A WEBHOOK button.
  4. Select Event and Data type.
  5. In the field Target URL paste survey link copied from mysurveylab.
  6. On the link end add add parameters source=livechat and action=addContactToCollector

Example

https://www.mysurveylab.com/api.php?apiToken=312bce351442&cId=76356e7bffed823fe2b5608d5a864325f2e09738a&source=livechat&action=addContactToCollector

Available actions
 
Action Description
addContactToCollector add contact to the collector
turnOnCollector turn on collector
turnOffCollector turn off collector
 

NOTE. Webhook is an instant notification about certain event e.g. chat closed or ticket closed. This kind of notification can be transferred with HTTP / HTTPS protocol.

* Functionality is available for Professional and Enterprise plans.