Enabling Saved Search Email Alerts
Set up email alerts for a saved search so recipients and subscribers get email messages when search results are added or updated.
-
By default, alerts are triggered for new records that match criteria defined in the saved search. Enable the Send on Update option so that the alerts are triggered also when an existing record is updated to match criteria defined in the saved search. You can modify update alerts to add information about recent changes or send them only when certain fields or values change.
-
If a saved search is inactive, email alerts aren't triggered. The alerts still exist in the system, but no emails are sent.
-
You can't use alerts for all types of saved searches. For a full list, see Types of Saved Searches Available for Alerts.
-
You can't use alerts for searches with summarized results. For more information, see Summary Types for Search Results.
-
Specify alert recipients by user or group name, or set up a search field to select recipients based on results, such as the Sales Rep field for a Customer search. For more information, see Defining Recipients for Saved Search Email.
-
To let more users receive email alerts, enable the Public and the Allow Users to Subscribe options. Users can then set their own alert preferences. For more information, see Setting User Preferences to Receive Saved Search Alerts.
-
You can customize much of the text for alert email messages. For information, see Customizing Saved Search Email Content.
-
You can specify the sender for saved search emails. See Defining the Sender for Saved Search Email.
-
Each record add or update sends a separate alert to each recipient. If a recipient group has an email address, the alert is sent there. Otherwise, alerts are sent to the individual addresses of the members.
-
Each alert usually shows one result, filtered by the record that triggered it. For searches with multiple results per record, you can include more. For information, see Enabling Multi-Row Results for Email Alerts.
-
If a saved search that has an alert is in a bundle, the alert is not sent in target accounts where the bundle is installed. Enable the Enable Email Alerts for WS and CSV Imports preference for the alert to be sent. You can do that at Setup > Company > Email > Email Preferences.
-
Saved Search Email doesn't work with email capture features or plug-ins. Use an email address that isn't associated with a capture feature. For more information, see Email Capture Plug-in Overview.
By default, email alerts aren't sent for CSV imports updates or SOAP web services integrations updates. To enable them, an account administrator or a user with the Set Up Company permission can set the Enable Email Alerts for WS and CSV Imports preference at Setup > Company > Email > Email Preferences. See Setting Printing and Fax Preferences.
To enable email alerts for a saved search:
-
On a saved search page's Email subtab, enable the Send Email Alerts When Records are Created/Updated option.
If this option is not available, it means alerts aren't available for this type of search. For more information, see Types of Saved Searches Available for Alerts.
-
To allow other users to receive this search's alerts, enable the Public and Allow Users to Subscribe options.
The Public option is available near the top of the page, only for administrators and other users with the Publish Search permission. The Allow Users to Subscribe option is on the Specific Recipients subtab. Users can subscribe to a search's alerts by setting a preference. For information, see Setting User Preferences to Receive Saved Search Alerts.
-
To specify recipients by user name, group name, or both, click the Specific Recipients subtab.
-
Select a user or group in the Recipient field. Click the
button and select List. Notice that you can limit the list of possible recipients to a specific type: contacts, customers, employees, groups, partners, or vendors. By default all types are listed.
-
If you want this recipient to receive alerts for updates as well as adds, enable the Send on Update option.
-
If you have enabled the Send on Update option, and you want these alerts to include information about changes, enable the Show Recent Changes option.
-
Click Add.
-
Repeat these steps for other users and groups as necessary.
-
-
To target recipients based on values of search results fields, click the Recipients from Results subtab.
-
If you want all recipients derived from results to receive alerts for updates as well as adds, enable the Send on Update option.
-
If you have enabled the Send on Update option, and you want these alerts to include information about changes, enable the Show Recent Changes option.
-
Select a field from the Recipient Field dropdown list and click Add, repeating as necessary.
Available options include entity and email type fields. For example, for a Customer saved search, you can select Sales Rep.
-
-
To filter update alerts to occur only for a subset of updates, click the Updated Fields subtab:
-
If you want alerts to be sent only when a particular field is updated, select the field from the dropdown list.
-
If you want alerts to be sent only when a particular old value (value before update) occurs for the selected updated field, enter that value.
-
If you want updates to be sent only for a particular new value (value after update) occurs for the selected updated field, enter that value.
-
Click Add.
-
Repeat these steps for other fields as necessary.
-
-
To customize email message text, click the Customize Message subtab.
-
In the From field, enter optional custom text. You can include values from search results fields by entering field IDs enclosed in curly braces {fieldID}.
-
In the Subject field, enter optional custom text. You can include values from search results fields by entering field IDs enclosed in curly braces {fieldID}.
-
In the Introduction field, enter optional custom text to appear before search results.
-
Enter custom message body text in the Single-Record Results field.
-
You can include values from search results fields in this text by entering field IDs enclosed in curly braces {fieldID}. Select a field in the Insert Field dropdown list to insert its field ID.
-
Use the syntax <%=formula%> to add formulas to the text. Formulas can include {fieldID} references.
-
You can define email body text as an entire HTML page (by enclosing it with HTML tags), to send email content exactly as specified, with no additional styles, View Record link, or introduction.
-
-
-
Click Preview, Save, Save & Run, or Save & Email.
Adding the Same Field Multiple Times to a Saved Search
You can add the same field multiple times to a saved search. Search evaluates a change and adds an OR relation between all updated fields. For example, if you define:
Field |
Old Value |
New Value |
Test |
a |
b |
Test |
c |
— |
Test |
— |
d |
The email will send if the Test field is changing from 'a' to 'b' or the Test field is changing from 'c' to anything else or the Test field is changing from anything to 'd'. Additionally, you can define the following:
Field |
Old Value |
New Value |
Test |
— |
— |
In this example, an email alert will send if the Test field is changing from anything to anything else, but the email will send only if the Test field was modified. For example, if you modified Amount and not the Test field then the email alert will not be sent.
Email Alerts Limitations
-
The Show Internal IDs preference does not apply to results in saved search email alerts. You must add Internal ID as a results column to return Internal ID values for a search.
-
If a saved search includes criteria filters that have non-specific values, such as -Mine- or -My Team-, email alerts may not be sent. Try to avoid using these values in your criteria filters.
Related Topics
- Saved Search Email
- Enabling Saved Search Scheduled Email
- Canceling Scheduled Saved Search Emails When No Results
- Types of Saved Searches Available for Alerts
- Setting User Preferences to Receive Saved Search Alerts
- Defining the Sender for Saved Search Email
- Defining Recipients for Saved Search Email
- Customizing Saved Search Email Content
- Sending Summarized vs. Single-Record Results