Configuring second-chance surveys
Capture feedback that might have otherwise been lost.
If a customer abandons a survey accidentally or forgets to respond, you can lose the opportunity to gain valuable feedback from someone who was willing to share their experience. That doesn't have to be the end of the story, though! With timeout triggers, you can send second-chance surveys (or as many attempts as you would like) for any interactions that are not responded to within a defined period. This allows you to capture feedback from interactions that would have otherwise been lost.
Using timeout triggers is the key to second-chance surveys, but there are a few items to configure beforehand.
The instructions in this guide will follow the example of configuring a follow-up email survey if the original email survey is ignored for three days (4,320 minutes). The specifics may differ in your case, depending on your goals and the types of surveys you provide.
Define the timeout period for each type of survey (Surveys > Your Survey > Advanced tab).
In our example, we have defined a timeout of 4,320 minutes (three days) for email surveys.
Generate an Add interaction webhook URL.
You will use this later to create a new interaction.
On the Questions tab, add a Custom Trigger in the Timeout Triggers and Events section. Use the example below as a guide when configuring the custom trigger.
Start with the trigger condition.
In our example, we only wish to provide one additional chance to respond, so we use a Boolean variable named
second_attempt
. Ifsecond_attempt
is not true, we will execute an action. Thus, we set our condition to%second_attempt% != true
.Add a Post to URL action configured as shown in the example:
HTTP Method — Select "POST".
URL — Paste in the Add Interaction Webhook URL created earlier.
Authentication Method — Select "None".
Body — Enter a JSON object defining the parameters of the second-chance survey.
Mindful Feedback will use these parameters to generate a new survey interaction. Define as many core survey attributes as possible and any custom attributes that you will need to ensure the second survey matches the first (same
external_ref
, same customer email, etc.). You can copy the example JSON object provided below as a starting point, if you would like.
{"email":"%email%","survey_type":"email","scheduled_at":"Now","external_ref":"%external_ref%","agent_id":"%agent_id%","call_type":"%call_type%","second_attempt":"true"}
A few important parameters from our example JSON object are highlighted below:
"email":"%email%"
— Since we wish to send a second email survey, we set theemail
parameter to the value of the%email%
variable to ensure that the same email address is used for the second attempt."survey_type":"email"
— Since we want to deliver a second email survey, we must define thesurvey_type
asemail
. This could differ in your case, depending on your goal."second_attempt":"true"
— This creates and defines the custom attribute that will be evaluated by the custom trigger condition (%second_attempt% != true
). At the time of the first interaction, second_attempt did not exist, therefore it was not true, which allowed the custom trigger to proceed. In our second interaction, second_attempt will be true, so the custom trigger will not be activated again. This is how we ensure that only two attempts are made.