1. Navigate to Settings > Notifications via the left-hand navigation bar.
2. Click Add to add a new notification.
3. Check the Active box to enable the notification.
4. Enter the name of the notification in the Label field.
5. Click Query and enter a query.
6. Select a frequency from the Alert periodicity dropdown menu.
7. Check the Business hour periodicity box if needed.
8. Enter a number of messages in the Threshold field.
9. Click the Restricted to role dropdown menu and select the roles that will receive the alert.
10. Click the Restricted to team dropdown menu and select the teams that will receive the alert.
11. Click the Restricted to agents dropdown menu and select the agents that will receive the alert.
12. Check the Recovery notification box if you want this option.
13. Click Save.