Automations
Automations watch your incoming responses and act when a rule's condition is met: they notify you (Telegram, Slack or email), or create a record in Salesforce. (They used to be called alerts, and the address of this page still says so.) Create and manage them from Automations, or from the Automations section of a survey in the survey editor, which lists that survey's automations and opens the same form with the survey already chosen.
Automations need a paid plan (Growth and up; the Salesforce action needs Business). On Free the New automation button is locked and existing automations don't run, for example after a trial ends. They are kept and run again once you upgrade; until then you can still switch them off or delete them. See Free & paid accounts.
Creating an automation
Each automation has:
- Name: shown in notifications and the firing history.
- Scope: either All surveys (global) on the domain, or one specific survey.
- Time window: Last hour, Last day or Last week. This is how far back the rule looks each time it's evaluated (e.g. Last day checks responses from the last 24 hours), not a fixed schedule.
- Condition: at least N responses within the time window (optionally filtered by an operator against the survey's main rating, e.g. "at least 3 responses with rating ≤ 2"). If you don't set an operator/value, it simply counts every response in the window.
- Throttle: an optional number of hours the rule must wait after firing before it's allowed to fire again, even if the condition is still met. Leave it empty for the minimum: no rule fires more often than once every 30 minutes.
- Actions: what it does. At least one is required and at most 10, up to 5 of them email addresses: one automation can hold several Slack channels or addresses. Setting each one up: Slack, Telegram, email. The Salesforce action creates a Case, a Lead or a Task instead of sending a message (see below).
A site can have at most 20 automations. A space's alerts send at most 100 emails and 200 other notifications (Slack, Telegram) a day; past that, a rule still fires and its firing is recorded, but nothing is sent.
The Salesforce action
Add Salesforce under Actions and choose what to create: a Case, a Lead, a Task, or a Case and a Task together (each kind once per automation). A record is made for every response that matches the survey and the rating condition, as the response arrives: this action has no time window, no minimum number of responses and no throttle, so the form leaves those out when Salesforce is the only action. A Task points at the Case (or the Lead) made just before it, and a Lead is made only when the response has an email address from the survey's contact form.
Only a space admin can add the Salesforce action to an automation, change which survey or rating it covers, or switch it on; anyone who can edit the automation can still rename it, change its other actions, take the Salesforce action off or switch it off. Connect Salesforce first, under Settings → Integrations: see Salesforce integration, which also covers the daily limit and what to do when a record fails.
Throttle, precisely
Throttle prevents notification spam from a rule whose condition stays true for a while: once a
rule fires, it won't fire again until throttleHours have passed since its last firing, even if
new matching responses keep arriving in the meantime. Without a throttle, a rule still waits 30
minutes after each firing (the minimum for every rule).
Viewing firing history
Each time a rule fires, it creates a firing instance: the responses that matched (the newest 100 when more did; the count still covers them all), the reason it fired, and a timestamp. Find these in the Automations page's firing history. An automation whose only action is Salesforce never fires in this sense: it has no firings, its records are on the responses. Open one to see full details, jump to the matching responses, and acknowledge it once you've handled it.
A response from a survey whose responses only certain teams can read shows its score, survey and time, but not its text, and can't be opened. The teams that can read it are listed under it, each with a button to request access.