Go to

Integration with Livechat

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

Integration with LiveChat using webhooks.

SurveyLab

  1. Log in to SurveyLab
  2. Select survey and copy survey link, that you want to trigger using the LiveChat webhook.

LiveChat

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

Example

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

Available actions

ActionDescription
addContactToCollectorAdd contact to the collector
turnOnCollectorTurn on collector
turnOffCollectorTurn off collector

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

* Functionality is available in the Professional and Enterprise plans.