# Set up alerts

Create alert rules in Pristo CX that flag responses with a low score or a chosen answer, email the right team members, and pause or resume each rule.

An alert rule in Pristo CX watches one questionnaire and raises an alert when a completed response meets its conditions, such as a score of 6 or lower. You create rules in **Management** > **Alert configurations**, and the alerts they raise appear under **Alerts**.

## Before you start

- Role: account admin or program admin. Program users handle alerts but cannot create rules. See [roles and permissions](https://docs.pristo.io/cx/users/roles-and-permissions).
- Plan: alert rules are available on every plan.
- Setup: a questionnaire with the questions you want to watch. See [Create a questionnaire](https://docs.pristo.io/cx/questionnaires/create-a-questionnaire).

## Steps

![Sketch of the dialog that creates an alert rule, open over the list of rules. Marker 3 is on the rule name. Marker 4 is on the choice of whether every condition or just one must match. Marker 5 is on the condition row, with the question, the comparison and the value. Marker 6 is on the button that adds a condition. Marker 7 is on the switch that turns on the email, above the list of recipients. Marker 8 is on the save button, at the bottom right.](https://docs.pristo.io/_astro/alert-config-dialog.sreczfvb.webp)

1. Open **Management** and select **Alert configurations**.

2. Select **New alert**, choose the questionnaire under **Questionnaire** and select **Continue**.

3. Enter an **Alert name** such as `Low NPS score`. Your team sees it on every alert the rule raises.

4. Under **Trigger when**, choose **All conditions** or **Any condition**.

5. Under **Alert conditions**, choose the question in **Field**, a comparison in **Condition**, such as **Less than or equal**, and the **Value**.

6. To test more answers, select **Add condition** and fill in the new row.

7. To email people when the rule fires, turn on **Send email** and choose them under **Email recipients**.

8. Keep **Active** turned on and select **Save**.

## Result

The rule appears in the list with its questionnaire and a switch under **Status**. From then on, each completed response that meets the rule raises an alert under **Alerts**. To change a rule, select the pencil icon in its row. To pause it, turn off its switch.

### What a condition compares

| Question | Value you choose |
|---|---|
| Choice and dropdown questions | One of the question's options |
| **Checkbox** | **Checked** or **Not checked** |
| **Smiley rating scale** | 1 to 5. A scale with 3 faces uses 1, 3 and 5 |
| **Numeric rating scale** | 0 to 10 |
| Text questions and **Counter** | A value you type |

A number is compared as a number, so **Less than or equal** 6 matches 0 to 6. Any other value is compared with the whole answer as text, ignoring capital letters: equal and not equal compare the whole text, and the other comparisons compare in alphabetical order. A rule cannot find a word inside a longer text. Date, grid, file, location and signature questions are not offered.

For text questions, a **Dimension** list also offers analysis results such as **Sentiment** and **Category**. In this release those conditions never match, so use **Answer**.

### The alert email

Each recipient gets one email per response, in their interface language, even when the response matches several rules. The email names the questionnaire and the response number and lists every rule that matched.

You can choose any active user who can open the program. Pristo CX emails them only while they can still open the program, have a verified email address and keep **Alert triggered** turned on under **User settings** > **Notifications**.

## Limits

- A rule watches one questionnaire, and you cannot move it to another. Create one rule for each questionnaire you want to watch.
- **Alert name**: up to 80 characters.
- Every condition needs a question and a value. You can add a condition only when the rows above it are complete.
- Pristo CX checks each response once, after the respondent reaches an [exit point](https://docs.pristo.io/cx/form-builder/exit-points).
- A rule checks only responses completed while it is active. Creating a rule or turning it on does not check earlier responses.
- A rule fires at most once for each response.
- You cannot delete a rule. Turn off its switch to stop it.

## Troubleshooting

**The dialog asks for a recipient.** A rule with **Send email** turned on needs at least one recipient. Choose someone, or turn the email off.

**The dialog says some recipients will be removed.** Those users were deactivated or lost access to the program. Save to remove them, or ask an account admin to restore their access first.

**Pristo CX says the questionnaire has no form.** Build the questionnaire in the form builder first, then create the rule.

**The rule never fires.** Check that its switch is on, that the response reached an exit point after you saved the rule, that a text value matches the whole answer, and that no condition uses **Sentiment** or another analysis result.

**A recipient gets no email.** They may be inactive, lack access to the program, have an unverified email address or have turned off **Alert triggered**.

## Related

- [Handle alerts](https://docs.pristo.io/cx/alerts/handle-alerts)
- [Insights overview](https://docs.pristo.io/cx/insights/overview)
- [Roles and permissions](https://docs.pristo.io/cx/users/roles-and-permissions)
- [What is Pristo CX?](https://docs.pristo.io/cx/get-started/overview)
