AskNicely / Send Survey
appKey:
asknicely
actionKey:
send-survey
Action Inputs
The following parameters are available when configuring this action:
customFields
Custom Fields
Add extra argments to send through extra custom data to help identify/filter/leaderboard customers. Multiple arguments can be sent with each request.
string | undefined
delayMinutes
Delay Minutes
If you want to trigger a survey to have a delay, use delayminutes. 10 = 10 minute delay. 7 day delay would be 60*24*7 = 10800, there is no limit to how minutes or days you can delay. This value ignored for sms, surveys are always sent immediately.
string | undefined
thenDeactivate
Then Deactivate
After a survey has been sent, de-activate this customer so they are not eligible for NPS surveys sent via the Daily Scheduler on the Send page. If you wish to de-activate a customer regardless of if a survey is sent or not, please use the [remove contact](https://demo.asknice.ly/help/removecontact) API. `Very handy if you are using both the Daily Scheduler and API calls.`
boolean | undefined
triggerEmail
Trigger Email
If set to true, the API will always send a survey, we recommend to only use this parameter for testing the API to see the survey emails being sent. Remove this entirely when in production, as including this parameter will override all contact rules and send a survey for each API call. Setting **false** won't stop it from sending surveys.
boolean | undefined