On Scheduled
The On Scheduled trigger activates at a specified time and date. It can also be configured to activate based on other conditions, such as whether a related item is in a specified condition. For example, you may want the trigger to run weekly to generate a report of opportunities in Salesforce, but only for opportunities in a stage of "Closed Won."
The conditions available in this trigger are detailed in Conditions.
Name the Trigger
Select the trigger title or the edit icon, , and provide a descriptive title for the trigger.
Turn Trigger Block On or Off
By default, trigger blocks are enabled and turned on. Select the toggle in the top right of the trigger panel to disable or turn it off.
When building a module, remember you can toggle triggers on and off rather than deleting them.
Change Trigger Type
To change the trigger type, select the edit icon, , and select the new trigger type from the Change Type To dropdown.
Activate Trigger When
This section is where you define the frequency with which the trigger activates.
Select the Enter frequency dropdown and select a frequency from the list.
Depending on your selected frequency, an additional section displays to further configure the frequency. For example, if you select Weekly, the following section displays:
Configure the detailed timing options as desired.
Note that you can select Run Now at the bottom of the section to activate the trigger now when in build mode. This option is helpful for testing the logic of the trigger without having to wait for the specified interval.
Run Settings
Select the relevant checkbox to enable the trigger to activate under various conditions:
Run also on inner items - Trigger conditions evaluate on inner items in addition to parent items.
Evaluate trigger conditions when a new item is created - Trigger conditions evaluate when a new item is added to the module.
And Only If
In addition to activating the trigger at specified intervals, you can include additional conditions. This is useful if only certain kinds of changes should activate a trigger (for example, if the trigger is set to activate weekly to send an update, but you only want the module logic to run if there is new content to share.
Select the dropdown to choose to run the trigger when All or At least one of the conditions are met. This option defaults to All.
Select a primary field, a condition, and a qualifying value as the condition that activates the trigger:
Select Search data field to select a field. The field dropdown displays.
Select a field from the dropdown. This is the primary field that the module is checking and can be a field from a data source, a form, or any custom field you've created.
Select the condition field. This field defines how a value is matched or compared to the primary field.
For definitions for all available conditions, see Conditions.
Enter a value. This is the qualifying value that is compared to the primary field, based on the selected condition. Depending on field type of the item, this value may be predefined or you may have the option to enter free text.
To add another And Only If condition, select + AND and repeat the process. This creates a compound match condition.
Add a Condition Group
In addition to defining individual conditions that activate a trigger, you can create a condition group that combines several related conditions. Condition groups allow you to organize complex conditions for the sake of visibility (for example, you might have three AND conditions that must be met and five OR conditions that can be met, which can be organized in two separate groups).
In the Activate Trigger When section, select + AND. The condition options dropdown displays.
Select New Condition Group. A new condition group section displays.
Select the default name, New Conditions Group, or the pencil icon, , to rename the condition group.
Select the dropdown to choose to run the trigger when All or At least one of the conditions are met. This option defaults to All.
Selecting All makes the condition inclusive, adding an + AND button to the bottom of the section, while selecting At least one makes the conditions exclusive, adding an + OR button.
Follow the process of adding a new condition as described in Set New Condition.