Let the platform do the work

Listeners

Overview

Listeners, also referred to as Event Listeners and Lead/Contact Listeners, is a powerful tool that you can use to automate your sales and marketing process. Listeners act like a bridge between your external CRM and Sugar Market as they check contact records for new and updated values you define and initiate actions such as adding a contact to a campaign or removing a contact from a list. 

This page describes how to use, create, and manage listeners throughout Sugar Market.

Using Listeners

Active listeners run in the background approximately every five minutes, so it is important to carefully consider all of the different conditions and how they can be met. Consider whether the behavior you are defining may occur through some other action in Sugar Market, in which case, using a listener may not be necessary. 

There are two types of listeners: On Insert and On Update. When using the On Update type, you will need to enable field tracking to activate the listener. This is to eliminate the excessive resource load that would be required to continuously check every record field.

To enable change tracking for On Update listeners:

  1. From the user menu, click "Admin".
  2. In the Administrator section, within the Marketing Administration tab, click "Change Tracking".
  3. Select the table in the dropdown list, and then select a field in the Available Fields list.
  4. Click the right-facing arrow to add the field to the Selected Fields list.
  5. Click the Track Change button.
     SM UG Listeners track

Creating Listeners

There are three parts to creating a listener: defining listener basics, listener conditional values, and listener actions. The conditional values and actions function as IF/THEN statements: if the defined condition is found, then the defined action will occur.

Defining Listener Basics
  1. In the navigation bar, click the Leads and Contacts module.
  2. Click the Listeners submodule.
    SM UG Listeners menu
  3. Click the Create button.
  4. Complete the following fields, and then click the Save button.
  • Listener Name: Name to identify the listener in Sugar Market.
  • Event Type: Select "On Update" or "On Insert" to define whether the conditions will be evaluated when a record is updated in Sugar Market, or when a new record is added.
  • Monitored Table: Select either the Contacts or Opportunities table as the location of the field to be monitored.
  • Listener Description: Type descriptive text to make it easy to identify and modify this listener in the future.
    SM UG Listeners add
Defining Listener Conditional Values

The listener conditional values describe the field conditions to be evaluated.

  1. In the Listener Conditional Values section, click the Add button.
    listencondnav
  2. Complete the following fields, and then click the Save button:
  • Field: Field name you are monitoring. If you do not see your field name here, enable change tracking for this field.
  • Select an operator: Whether the field should equal or contain the defined Ending Value.
  • Value input: The specific field value to launch the action you will define in the Event Activities section.
  • AND+/OR+: To add additional filtering conditions within the grouping click either the "+ AND" or "+ OR" buttons. Mixed logic conditions are not allowed.

    SM UG Listeners conditions
Defining Listener Actions

Listener actions describe the actions to occur when the defined conditions are met.

  1. In the Listener Actions section, click the Add button.
    listact
  2. Select an action from the dropdown list.
    listeactact
  3. If the action needs to be further defined (e.g. Add to Nurture*, Add to Distribution List, Alert Role), then select the name from the dropdown list provided, and then click the Save button.
  4. Click the Save button within the Listener Profile section to save your changes to the listener. The listener immediately becomes active.

* When using the "Add to Nurture" action, select "Add to Nurture 2" when using Nurture Builder and "Add to Nurture" when using the legacy builder.

Managing Listeners

To make changes to existing listeners:

  1. Navigate to Manage > CRM > Lead/Contact Listener.
  2. Click the listener you want to edit, then click the edit icon from the toolbar.
    SM UG Listeners edit
  3. Click the Save button within the Listener Profile section to save your changes to the listener.

Activating/Deactivating Listeners

When listeners are not needed, you can deactivate the listener to keep it available for future use.

To deactivate a listener:

  1. Navigate to Manage > CRM > Lead/Contact Listener.
  2. Click the listener you want to deactivate, then click the crossed-out eye icon from the toolbar.
    SM UG Listeners hide

To activate a listener:

  1. Navigate to Manage > CRM > Lead/Contact Listener.
  2. Click the check icon from the toolbar to show inactive listeners.
  3. Click the listener you want to activate, then click the eye icon from the toolbar.
    actliste
  4. Select the "Start from" option to make the listener retroactive and therefore update contacts that met the conditions while the listener was inactive, or select the "Start All Time" option to make the listener effective from the time you save the updated listener.
  5. Click the Save button. 
    SM UG LIsteners activate

Searching for Listeners

To search for listeners:

  1. Navigate to Manage > CRM > Lead/Contact Listener.
  2. Use the search field to search for a specific listener, or click the filter icon to create an advanced search.
    listesearch
  3. To sort your listeners by column click the column title, or click the sort icon.
    listesort1

 

Viewing Listener Results

You can view the last event check date of a listener when in edit mode.

listelastcheck

The Listener Results section at the bottom of the page displays every time the listener was run. You can search this section with the search field and click the Export icon to produce a Microsoft Excel file containing the results.

SM UG Listeners results