Blog | Facebook | Contact      en  pl
Professional online survey tool
Help sections
FAQ

Webhooks

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. sign in to mysurveylab and copy survey link, that you want to trigger using webhook

LiveChat

  1. sign 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://mysurveylab.com/api.php?apiToken=312bce351442&cId=76356e7bffed823fe2b5608d5a864325f2e09738a&source=livechat&action=addContactToCollector

Available actions

addContactToCollector - add contact to the collector
turnOnCollector - turn on collector
turnOffCollector - turn off collector

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

* Functionality is available for Professional and Enterprise plans.