This feature will allow you to automatically add an email and other selected information from Zendesk to SurveyLab and then based on this information customize and send a survey.
STEP 1. Generate and get access to SURVEYLAB API TOKEN
STEP 2. Create and set up survey collector.
STEP 3. Get API connector URL
URL structure
https://www.surveylab.com/api.php?apiToken=[TOKEN]&cId=[COLLECTOR ID]&email=[DYNAMIC RESPONDENT EMAIL]&crk=[DYNAMIC CRK DATA]&referrer=[DYNAMIC RESPONDENT DATA]&language=[DYNAMIC LANGUAGE]
Example
https://www.surveylab.com/api.php?apiToken=yadfhjs&cId=8379821739721&email={{ticket.requester.email}}&crk={{ticket.id}}&referrer={{ticket.url}}&language={{ticket.requester.language}}
Description | Example | |
---|---|---|
apiToken | API token generated in SurveyLab. | yadfhjs |
Email on which system will send a survey. | email={{ticket.requester.email}} | |
crk | Response Key (must be unique). | crk={{ticket.id}} |
referrer | Any kind of information. | referrer={{ticket.url}} |
language | Survey language (ISO code). | language={{ticket.requester.language}} |
custom1 | Custom information. | custom1={{ticket.id}} |
custom2 | Custom information. | custom2={{ticket.id}} |
custom3 | Custom information. | custom3={{ticket.id}} |
custom4 | Custom information. | custom4={{ticket.id}} |
custom5 | Custom information. | custom5={{ticket.id}} |
custom6 | Custom information. | custom6={{ticket.id}} |
custom7 | Custom information. | custom7={{ticket.id}} |
custom8 | Custom information. | custom8={{ticket.id}} |
NOTE. Pair of email and crk must be unique per Collector. It means that with the above example URL setting you can have only one survey response for each ticket. If you need more than one response per ticket then crk value must be more complex and contain additional data that will make it unique.
STEP 4. Set up Extensions in Zendesk.
STEP 5. Set up Triggers in Zendesk
NOTE. Please remember that Zendesk trigger message can't be empty.
Functionality is available in the Professional and Enterprise plan.
Related pages