A rule based solution that fires in real time when a record has been updated or created and meets your criteria.
It works with accounts, contact and lead records. If you are looking to work with other objects then please check out our import wizard.
Subscriber rules are specific to a subscriber list. You can have different rules for different lists.
A subscriber list can have a maximum of 4 rules, one of each type i.e.
- Add contact.
- Remove contact.
- Add lead.
- Remove lead.
Subscriber rules video overview
Rules instantly trigger and typically complete in a few minutes. Subscriber rules are not retrospective so if a record meets the criteria before the rule was created it will not trigger until the record is edited again or you start a retrospective run. Salesforce users will need our standard permission set if they are updating records to trigger the rules to fire correctly.
Go the subscriber list you want to work with in Salesforce.
Click on Show more then Subscriber rules option.
You can choose between four different rule actions -
- a. Add contact subscriber rule.
- b. Add lead subscriber rule.
- c. Delete contact subscriber rule.
- d. Delete lead subscriber rule.
Once you have selected the rule you want to work with click the Edit button.
Enter a rule name and optionally a description.
If you are working with an add rule you can choose the evaluation time.
Rule criteria you don’t have to specify any criteria. This would mean any record that was created or edited would trigger the rule. You can add criteria to restrict which records cause the rule to fire i.e. adding criteria for a record that was created today would only cause the rule to fire for a record that met that criteria.
Rule logic by default are ANDs, so if you have more than one rule criteria the record needs to meet all conditions. You can change this to use a combination of AND/OR i.e. 1 OR 2. To define more complex relationships, use Salesforce's filter logic.
Once you are happy with your rule you can click Save. You will also be prompted to enable the rule when saving if it is disabled.
You can only have 5 rule criteria filters, it is not possible to have more. A work around would be to add a custom formula field so that you can add more filters and evaluate on that. A simpler option would be to use our Import wizard which allows you to build a Salesforce report or list view with more complex filters find out more Here.
To help establish if your rule would bring back the correct records you can click the preview Rules button. This queries Salesforce based on your rule criteria and brings back example records. Within the sample, you can then search to find a specific record.
If you have just created or changed a rule and want to make sure existing records that currently meet the criteria update Campaign Monitor you can run this option. This will trigger a process to run the rule against all contact or lead records depending on which rule you are viewing.
If you want account changes to also trigger automatic subscriptions, go to our general settings tab in Salesforce and select the Sync Settings option. Under advanced settings click Enable Salesforce account trigger for Campaign Monitor actions.
It is possible for your rule to be correct but not fire when a record meets the criteria. Below is a list of tips and tricks that might help.
If you find an example record which has not triggered a rule but should have, try editing it and saving with no changes. This should trigger the rule to fire. If this does not work, try going back to the subscriber rule and previewing them to see if your example record is included. There is a search within the preview to help you find your example record. If the record is there then you can trigger a retrospective run. If it is there now check your rule is correct.
When a record is added to a subscriber list via subscriber rules we will check to make sure the email address is valid, not duplicated, or on a suppression list.
If a record was previously on a subscriber list and has been subsequently deleted or unsubscribed we will not subscribe them via an add rule.
If the Salesforce user that has created or edited a record, which should cause the rule to fire, does not have our standard permission set then the trigger will not work. It is worth checking your users have our standard permission set. In the same way if you have a Salesforce Site user creating or editing records that should trigger the rule it is likely the problem is also down to permission sets. Click here to learn how to assign the permission set to a site user.
If you are having problems and the above issues are a factor the import wizard can be an alternative to subscriber rules or act as a safety net. It can be scheduled to run every hour of every day so will therefore retry if Campaign Monitor is not responsive. The import wizard runs as a batch job so is far less likely to conflict with other code or processes in your Salesforce org. It runs as the user that set it up so permissions should be a non-issue.
Import wizard vs Subscriber rules
- Works with any Salesforce object.
- You can import any email field.
- Inbuilt field mappings.
- Runs as a specific user.
- Can run every hour of every day.
- Only works with contacts and leads.
- Limited to the standard email field.
- Can be combined with field mappings.
- Runs as user who triggered the rule.
- Triggers instantly.