Automation Rules are a versatile tool that can be configured to trigger just about any action you need.
In many ways, they work as "virtual community assistants" that allow you to automate tedious and time-consuming actions that likely need to be performed across your site on a daily, weekly, and/or monthly basis. Ultimately, they enable Community Managers to spend their time and energy focusing on their most important responsibility: Increasing member engagement.
IMPORTANT: The Community Name and Community Manager's Email Address must be specified on the Automation Rules Settings page before working with Automation Rules. If either of these values is missing, you'll get an error prompt on the Automation Rules page.
To manage your Automation Rules:
- In the Admin Toolbar, click Admin.
- Navigate to Automation > Automation Rules.
Watch the video
Tasks that can be automated
- Sending targeted emails to various groups of users across your site, based on a set of criteria you choose
- Giving Ribbons to users
- Adding users to Higher Logic-managed communities
- Adding Higher Logic-managed Demographics to user profiles
- Adding users to Higher Logic-managed Security Groups
Create Automation Rules
Because Automation Rules are so complex, highly customizable, and organization-specific, it's impossible to outline how to create the rule(s) you specifically want or need. Instead, we'll showcase how to create a sample rule to help you learn the basic concepts you can then apply to create your own.
TIP: Your site is provisioned with our best-practice rules already in place; these rules, marked with "BP" in the Group column, give Super Admins a starting point, needing only simple tweaks to fit the needs of your community.
EXAMPLE: Create an email-based rule
SCENARIO - Users without profile photos have been posting to one of your Discussions and you'd like to send an email message to prompt these users to upload profile photos.
ACTION - Create an email-based rule as described below. Note that doing so has three high-level steps (Create an Email Template, Create the Email Automation Rule, and Monitor the Rule's Effectiveness), each with several sub-steps.
Step 1 - Create an Email Template
Because this rule centers around sending an email, you have two options:
- use an existing template
- create a new one specifically for this rule.
NOTE: If you already have a template you plan to use, skip to Step 2.
For this example, we're going to create a new template, which can be done on the Admin > Email > Email Management > Email Templates page. From there, click Create.
On the resulting page:
- Give the template a name that makes its purpose clear (this is not shown to recipients).
- Make sure the Category is set to Automation Rules.
- Enter the email address where you want replies sent. TIP: If you want replies sent to your community manager, insert the variable CommunityManager.EmailAddress to include the address listed on the Automation Rule Settings page. This way, if the community manager ever changes, or their email address does, the variable will automatically update to match the provided community manager's email.
- Write a compelling subject to grab your users' attention.
- Write an HTML and text-only version of your desired message.
NOTE: Where applicable, be sure to add mail merge variables in the HTML version of your message; these variables are automatically replaced with the appropriate information when the email is sent, and allow you to easily include information that's automatically personalized for each recipient (e.g., automatically inserting each user's first name, etc.).
To view the list of available variables, click the Mail merge variable selector button at the bottom-right of the HTML toolbar. We recommend at least inserting the FirstName variable so each email is personalized to each recipient. This variable is located under the Contact category.
TIP: Variables do function in the Text version, and you can copy/paste them there.
- When finished, click Save to create your template.
Step 2 - Create the Email Automation Rule
Now, you need to create the rule itself. Back on the Automation > Automation Rules page, click Create.
On the resulting page, we're going to define our email rule as follows:
- In the first menu, select the Send an Email to category, and then select the following rule criterion (click Add after each selection):
TIP: After clicking the drop-down, you can type in the search field at the top to quickly filter the criterion you're looking for.
- has made at least one discussion post (new thread or group reply) within the last specified number of days - Set this to 3.
- does not have a profile photo
- has received fewer than the specified number of automation rules emails in the last 24 hours - Set this to 1.
TIP: When more than one criterion is selected, they can have either an AND or an OR relationship, controllable via the associated buttons to the right. Select the appropriate option best suited for your rule.
- At the top of the page, toggle the rule to Scheduled so it's active and ready to be run per the defined schedule.
- From the Send the menu, select the email template you created in Step 1 - Create an Email Template OR select an existing template.
- To prevent users from being spammed with unnecessary Automation Rule emails, set the Send this email to those who have not been affected by this rule option to ever.
- Directly below, set when to start sending the email and decide when to stop.
- Name your rule.
- When it comes to saving your rule, you have two options:
- Click Save to run the rule when designated by the schedule.
- Click Save and Run Now from the dropdown to immediately queue the rule for processing.
NOTE: All rules are processed on a "first come, first served" basis. While this is the best method to run a rule quickly, it's not instantaneous; how quickly it runs depends on how many other rules you have in the queue.
TIP: Click the Calculate Who Qualifies button to see how many users will receive the email. Also, at the bottom of the page, you can send a test email to your address if you want to see how it looks before sending it to your users. This is a good way to verify you're happy with the email's formatting, layout, HTML, and/or variables.
Step 3 - Monitor Your Rule's Effectiveness
Ultimately, the most important aspect of a rule is whether it accomplished its intended goal. One way to gain some clarity on this question is to create another rule, specifically a Conversion rule, which will help you monitor your rule's effectiveness.
NOTE: We recommend waiting a week or two before running a Conversion rule to give users time to perform the desired action (in this case, upload a profile photo). You can then continue to monitor, as desired, as more time passes.
To create another rule, navigate back to the Automation > Automation Rules page and click Create.
Just like during Step 2, we need to define the Conversion rule's criteria:
- Select the Mark as Converted category, and then select the following rule criterion (click Add after each selection):
TIP: After clicking the drop-down, you can type in the search field at the top to quickly filter the criterion you're looking for.
- has been affected by the specified rule within the last specified number of days
- has a profile photo
- Toggle the rule to Scheduled so it's active and ready to be run.
- In the criteria area, for the affected by criterion, select the Automation Rule you created in Step 2 - Create the Email Automation Rule and set it to 30 days.
- Name your rule as desired.
- Click Save to create the rule and run it later OR select Save and Run Now from the drop-down to run it immediately.
TIP: We recommend waiting a week or two before running a Conversion rule to give users time to perform the desired action (in this case, upload a profile photo). You can then continue to monitor, as desired, as more time passes.
Next steps
After your Conversion rule has had time to make an impact, you can quantitatively measure how much using the Rule Conversion report.
To run this report, navigate to the Admin > Automation > Reports page, and then click View Report in the Converted area. A breakdown of the users affected and converted within the designated date range are shown, helping you understand how many users are positively responding to your rules.
Manage Automation Rules
On the Automation Rules page, all of the default Automation Rules are listed, along with any custom ones you and other Super Admins may have created. From here, you can:
- Create a new rule (refer to the Create Automation Rules section above).
- Edit an existing rule's details and criteria.
- Click a rule's drop-down to access a few management actions, including:
- Scheduling/unscheduling the rule. A “Scheduled” rule means it will run at the schedule/frequency set on the Automation Rule Settings page. Ensure a rule is Unscheduled if you don’t want it to run (this is useful when you’re creating Automation Rules to be used later).
- Running a report to view the rule's usage and which users were affected within the defined date range.
- Copying the rule to create one using its existing rule's settings and criteria. Copying existing rules is an excellent way to create new rules (especially complex ones) with minimum effort.
- Deleting a rule.
- Use the menus at the top to filter specific rule categories and groups within those categories, as well as filter scheduled/unscheduled rules.
Integration write-backs
If your site is integrated with a third-party database, some Automation Rules activities in your Community can be written to that database during the standard activity-sync process.
- Navigate to Settings > External Content > Activity Sync in the Admin interface in order to manage writeback activities on the Subscriptions tab.
To learn about the activity-sync process, see Member Activity Sync.