Sending scheduled communications
Note: The following information is considered a PLUS feature and requires additional licensing.
You can automatically send pre-created communications at regular intervals on the dates and times you specify. For example, you can send the following types of communications on a regular schedule:
- New member welcome
- Event and product promotions
- Upcoming event reminders
To send automated communications, you need to create a scheduled task. Each scheduled task can have Process Automation Triggers, Data sources, Conditions, and Actions. A scheduled task must contain Process Automation Triggers and Actions; Data sources and Conditions are optional.
You must have the advanced tasks license key to create, copy, edit, or delete scheduled tasks.
- In the Staff site, go to RiSE > Process automation.
- Select the Tasks tab.
- Select Add new task.
- Enter a Name that indicates the purpose of the task.
- (optional) It is recommend that you enter a task Description.
- Select Scheduled task as the task Type.
- (Triggers tab) Create Triggers that tell the task when to run.
- Click Add trigger.
- Select the Frequency. You can select One time, Daily, Weekly, or Monthly.
- If you select a Frequency of Daily, Weekly, or Monthly, you can Schedule the task to run at specified intervals. For example, you can schedule a weekly task to run every 3 weeks.
- If you select a Frequency of Weekly or Monthly, you can select the Day of week or Day of month when the task will run.
- Select the Start date and time. When using a Frequency of Daily, Weekly, or Monthly, you can also select an End date and time.
- To activate the trigger, select Enabled.
- Save the trigger.
- Add additional triggers if needed.
Note: Add additional triggers to run scheduled communications for multiple days of the week or multiple days of the month. For example, to schedule a communication to run every week on Monday and Wednesday at 8:00 AM, create two separate triggers. The first trigger should be scheduled to run Monday at 8:00 AM and the second trigger on Wednesday at 8:00 AM.
Note: You can also edit and remove triggers from the Triggers tab.
- (optional) (Data sources tab) Create and manage query data sources for the task.
- Select Add data source.
- Enter a Data source name. It is recommended that you choose a name that indicates the type of records returned by the data source. The name must be unique.
- Select an existing query or click Create source query to add a new query.
- If you select an existing query, the $/Common/Tasks/Queries folder opens by default.
- If you choose to add a new query, you are taken to the Intelligent Query Architect where you can define a new query.
- Save your data source.
- If needed, add additional data sources.
- (optional) (Conditions tab) Specify Conditions that must be met in order for the task to run.
- If a query data source was defined on the Data sources or Actions tab, select one of the following options:
- Use existing data sources - select a previously defined data source from the drop-down that will only display data sources that are not being used in any otherConditions.
- Use results of IQA query as data source - select this option to define a new data source.
- Enter a Data source name. It is recommended that you choose a name that indicates the type of records returned by the data source.
- Select an existing query or click Create source query to add a new query.
- If you select an existing query, the $/Common/Tasks/Queries folder opens by default.
- If you choose to add a new query, you are taken to the Intelligent Query Architect where you can define a new query.
- If there were no previously defined data sources from the Data sources or Actions tab, provide the following required information:
Enter a Data source name. It is recommended that you choose a name that indicates the type of records returned by the data source.
Select an existing query or click Create source query to add a new query.
- If you select an existing query, the $/Common/Tasks/Queries folder opens by default.
- If you choose to add a new query, you are taken to the Intelligent Query Architect where you can define a new query.
- Save your data source.
- If needed, add additional data sources.
All query data sources created for this task are listed. The name of all data sources will populate in a drop-down when defining a Condition or Action. You cannot delete a data source if the data source is selected within a Condition or Action, however not every data source you have defined must be used when creating a Condition or Action.
Warning!
When a task is triggered, it only executes its action if the selected data sources return one or more records or no Conditions are defined.
Note: This data source will populate on the Data sources tab once you click Save.
Note: You can also edit and remove data sources from the Conditions tab.
- (Actions tab) Define the action the task performs when it runs. In this case, you are defining the information needed to send the communication: the recipient list and communication template.
- Click Add action.
- Select an action Type.
- Send a communication
- Run a report
- If you select Run a report, you will be able to select an SSRS report to run. You can then email the report. You are required to enter an email address from which you send the report, and you must enter at least one recipient. You can select existing contacts to which you can send the results, or you can enter email addresses separated by semi-colons. If you do not enter a subject for the email, the title of the report is used as the subject.
- Run a stored procedure
- Enter the name of the stored procedure you want to run.
- (optional) Select a Recipient data source query, which determines the recipient list for your communication. Data sources added on the Conditions or Data Sources tab are available. For more information on creating recipient data source queries, see Creating a list of contacts to email.
- (optional) If needed, you can select Add new data source to select additional query data sources.
- Enter a Data source name. It is recommended that you choose a name that indicates the type of records returned by the data source.
- Select an existing query or click Create source query to add a new query.
- If you select an existing query, the $/Common/Tasks/Queries folder opens by default.
- If you choose to add a new query, you are taken to the Intelligent Query Architect where you can define a new query.
- Specify the Communication template that you want to send to the recipient list. You can either select an existing communication template or create a new template. For more information about templates, see Creating email communication templates.
- Save the action.
- To activate the task, select Enabled.
- Save the task.
- (optional) Click Run task now to instantly execute the task.
Note: You are not required to select a recipient data source if the communication template used by the action already contains a recipient data source. If you select a recipient data source in the action and the communication also contains a recipient data source, the action’s recipient data source is used.
Warning!
If the communication template contains an SSRS report as an attachment, the only parameter that will be passed through the task is an ID parameter (if the report has a parameter for ID). At this time, the ID filter is the only supported filter.
Note: You can also edit and remove actions from the Actions tab.