Enabling Saved Search Email Alerts

You can enable email alerts for a saved search, so that specified recipients, and additional subscribers, receive email messages whenever search results are added, and in some cases updated.

Important:

To improve performance and avoid unnecessary email, by default email alerts are not sent for updates made by CSV imports or SOAP web services integrations. To cause email alerts to be sent for CSV imports and SOAP web services integrations, an account administrator or another 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:

  1. 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 are not available for this type of saved search. For more information, see Types of Saved Searches Available for Alerts.

  2. To allow users other than your selected recipients 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 saved search's alerts by setting a preference. For information, see Setting User Preferences to Receive Saved Search Alerts.

  3. To specify recipients by user name, group name, or both, click the Specific Recipients subtab.

    1. Select a user or group in the Recipient field. Click the Expand recipient list icon 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.

    2. If you want this recipient to receive alerts for updates as well as adds, enable the Send on Update option.

    3. 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.

    4. Click Add.

    5. Repeat these steps for other users and groups as necessary.

  4. To target recipients based on values of search results fields, click the Recipients from Results subtab.

    1. If you want all recipients derived from results to receive alerts for updates as well as adds, enable the Send on Update option.

    2. 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.

    3. 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.

  5. To filter update alerts to occur only for a subset of updates, click the Updated Fields subtab:

    1. If you want alerts to be sent only when a particular field is updated, select the field from the dropdown list.

    2. 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.

    3. 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.

    4. Click Add.

    5. Repeat these steps for other fields as necessary.

  6. To customize email message text, click the Customize Message subtab.

    1. 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}.

    2. 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}.

    3. In the Introduction field, enter optional custom text to appear before search results.

    4. 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.

  7. 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

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

General Notices