Configure Automations
Content
- Overview
- Pre-conditions
- Steps
- Create or Edit an Automation Rule
- Test an Automation Rule
- Supplementary Information
- Notes
Overview
In a template or a document, you can create and configure automation rules to help streamline the workflows of the teams working on the applicable document(s).
This means that when an applicable document's trigger is met, an action automatically occurs for the document.
Triggers:
- Specific stage is moved to
- Deadline of specific stage is anticipated, met, or passed
- Filled in metadata date is anticipated, met, or passed
- Approval change (approved, rejected, pending, added, or removed)
Conditions (what approvals and/or metadata have to be met for the execution to successfully fire):
- Approvals for the current stage are:
- approved
- pending
- rejected
- operator:
- all
- equals
- greater than
- less than
- is empty
- Document fields are as specified (view in Steps section for a more comprehensive list)
Actions:
- Send an email to recipients (specific in the steps section of this article)
- Update metadata field*
After creating and configuring automation rules, you can run a test with any of them and manage them as well.
Lastly, you can review their executions through the audit logs.
As your side may decide to create multiple automations per template, there can be more complexity in the overall picture, as 1 automation's action can be the trigger for another automation.
With this potential complexity in mind, it is highly recommended to test this scenario of multiple automations out with a test template and test documents with the scenarios your business has in mind, so as to identify best practices and configurations to aim towards, but also configurations to be wary/stay away from.
Also, if an automation has multiple actions, it may be best and simpler to split the automation into 2 and have each one have less actions in them, as more actions and possibly conditions in only 1 automation can create unneeded dependencies on early conditions and also undesirable scenarios where only 1 action is executed.
Pre-conditions
- System Level Permission: [ 'System Administration' ] or [ 'Manage Automations' + ( 'Edit Documents' or 'Create Documents' or 'Document Manager' / 'Create Templates' )]
- Document Level Permission: 'Owner', 'Editor', 'Reviewer', 'Viewer', or 'Read Released'
Steps
Create or edit an automation rule:
- Click on the
icon in the top pane of the template/document. - Click +Create automation or on an existing automation rule to edit it.
- Enter name and description.
- Select 1 or both of the following on who can trigger this automation:
- User.
- Automation.
- Select the trigger type:
- Metadata date:
- Specify the:
- Metadata date field.
- Timezone.
- Whether it's before, after, or at the metadata date:
- (If) before or after is selected:
- Time interval:
- 1 day.
- 1 week.
- 1 month.
- 3 months.
- Custom number with selectable time unit.
- Time of the day.
- Time interval:
- (If) before or after is selected:
- (Optional): Click on the + symbol to add an or time sub-trigger relative to the first time sub-trigger.
- Specify the:
- Stage change:
- Specify the stage(s)/state(s):
- Any.
- Draft.
- Custom.
- Release.
- Published.
- Non-material changes.
- Archived.
- Unarchived.
- New Version.
- New Amended Version.
- Specify the stage(s)/state(s):
- Stage deadline:
- Specify the:
- Stage(s):
- Any.
- Draft.
- Custom.
- Release.
- Timezone.
- Whether it's before, after, or at the stage deadline:
- (If) before or after is selected:
-
- Time interval:
- 1 day.
- 1 week.
- 1 month.
- 3 months.
- Custom number with selectable time unit.
- Time interval:
- Time of the day.
-
- (If) before or after is selected:
- (Optional): Click on the + symbol to add an or time sub-trigger relative to the first time sub-trigger.
- Stage(s):
- Note: Since a stage can be configured from the template level to not have a deadline, coordination with the template owner(s) configuring the stages is recommended to ensure alignment on whether to create this type of automation.
- Specify the:
- Approval Change:
- Care is to be taken with this type of trigger, as it can be met several times. So it's worth considering whether to place any conditions (view further below for a better understanding of what it is and what options you have) after the trigger, and if so, which ones are appropriate so as to prevent excess executions.
- Select which types of approval changes:
- Status:
- Approved
- Rejected
- Pending*
- Other:
- Added
- Removed
- Status:
- Metadata Change:
- Specify field to monitor change.
- Metadata date:
- (Optional) Select which condition(s) are to be met:
- Approval(s):
- Which operator to use:
- All:
- Pending
- Rejected
- Approved
- Equals: How many of the specified approval type are exactly needed for this condition to be met
- Pending
- Rejected
- Approved
- Greater Than: There has to be more of the specified approval type than this specified amount for this condition to be met.
- Less Than: There has to be less of the specified approval type than this specified amount for this condition to be met.
- Is Empty: There cannot be any type of approval for the current stage for this condition to be met.
- All:
- Which operator to use:
- Metadata field(s):
- Checkbox:
- Equals ticked or not.
- Connection Picker:
- Operators:
- All
- Any
- None
- Is Empty
- Operators:
- Date:
- Operators:
- Exact
- Before
- After
- Between
- Calculate the specific time period before or after either the date the automation executes or the metadata's date.
- Operators:
- Link:
- Operators:
- Equals
- Contains
- Operators:
- Number:
- Operators:
- Equals
- Greater Than
- Less Than
- Is Empty
- Operators:
- Select:
- Operators:
- All
- Any
- None
- Is Empty
- Operators:
- Text:
- Operators:
- Equals
- Contains
- Operators:
- User Picker:
- Operators:
- All
- Any
- None
- Is Empty
- Operators:
- Checkbox:
- Approval(s):
- Select what action is to be executed:
- Send email*:
- Recipients:
- Document role.
- Platform user.
- Platform user group.
- Email address.
- Approver type:
- All approvers
- Approvers - Approved
- Approvers - Pending
- Approvers - Rejected
- Recipients:
- Send email*:
-
-
-
- User picker field value*:
- For example: Give me users from these document metadata fields:
- "Owner of the Document" user picker metadata
- “SME” user picker metadata
- etc...
- For example: Give me users from these document metadata fields:
- User picker field value*:
-
-
-
-
- Subject.
- Body.
- Update Metadata:
- Search and select which custom field to use.
- Select the applicable, relative action to take place on it:
- Set
- Add/Remove
- Calculate*
- Clear
- If applicable, choose what to set at/add in the Value field.
- Move to Stage/State*:
- Next Stage
- Previous Stage
- Draft
- Release
- Custom Stage
- Archive
- Unarchive
-
- (Optional): Toggle Enabled on/off from the top of the window to activate/deactivate the automation rule.
- Click Save.
Test an Automation Rule
- Click on the
icon in the top pane of the template/document. - Click on an existing automation rule in the Automations tab.
- Click Run.
- This will send a test email to the recipients of the automation rule.*
Supplementary Information
Email content
You can make use of any of the following smart values (standard and/or metadata) to personalize the content:
- Standard smart values:
- @document title (subject): will be replaced by the name of the relevant document.
- @document (body): will be replaced by a clickable name of the relevant document.
- @document version (subject & body): will be replaced by the latest version number of the relevant document.
- @portal document title (subject): will be replaced by the name of the relevant document in the Policy Portal.
- @portal document (body): will be replaced by the clickable name of the relevant document in the Policy Portal.
- @portal version (subject & body): will be replaced by latest version number of the relevant document in the Policy Portal.
- Metadata smart values:
- @metadata name (subject & body): will be replaced by selected metadata field (both custom and system fields are available*)

Full screen mode
Click on the
icon to expand the automation rule window to full screen.
Notes
Real-time reconfiguration update
- Configuring an automation rule reflects in real-time on to documents created from the template, so this type of enforcement is not through template releasing.
Scope
- If the automation rule is being created within a document, its scope will only extend to that document.
- Automation is to be viewed as a global entity - it will receive its own module in future iterations of the Clausematch platform.
With this in mind, the scope will be more flexible, allowing the selection of exact documents to monitor without having to restrict the selection to a relatively-rigid option of a single document or documents from a specific template.
Documents won't be the only objects to monitor, other objects such as Tasks will also be selectable.
Execution Subscription Limit
- During our Beta phase for this functionality, you will have unlimited automation executions.
After the Beta phase, you will have a number of included executions per month according to your tariff (with a specified cycle end date), which can be confirmed in the Automations tab of a template/document.-
This is a paid module based on the number of executions per month.
- If exceeded, the additional executions will count towards the monthly bill.
- For more information on this subscription model, please contact your company's Customer Success Manager.
-
Metadata Date Notifications Migration
- Metadata date notification settings before the deployment of 2024.1 to your platform have been automatically migrated to automation rules after 2024.1 deployment.
Users will need to configure the recipient and content of the email.
UAT Whitelisting
- Only whitelisted users on the platform will receive notifications based on Automation configurations.
So you can safely test automations with your team without bothering other users.
Test an Automation rule
- We will send 1 email with a list of recipients.
- All recipients will be added to the BCC field (blind carbon copy - a copy of the message is sent to that recipient, but that name is not visible to other recipients of the message).
- A test run will impact the execution counter.
- When the automation scope is a specific document - then we will use this Document data to send test emails.
- When the automation scope is Documents from the template - then we will use Template data to send test emails.
Metadata Smart Values
- Subject does not allow selectable metadata such as links or multiline text fields.
- If the metadata field has an empty value, was archived (or removed from the Document entity) or deleted from the platform - we will show [No Data].
User Picker Recipient
If the user picker field is removed from the platform or unassigned from the document entity, automation will no longer send emails to the users specified in this metadata field.
Update Metadata Field
This automatic setting or clearing would bypass the standard editing restriction, so even if the field is set as required or read-only (as set by its screen), the automation action will still take place.
- However, like manual editing, system fields (e.g. release date) cannot be edited.
Approval Change
- If an approver is added, it will only count as an Added event, not as a Pending event.
- Pending can be caused not just by an approver being added, but also by other scenarios, such as:
- The approver manually undoes their approve or reject decision.
- Someone updates the document, which returns the approver to pending so they can review the changes again.
- Pending can be caused not just by an approver being added, but also by other scenarios, such as:
- Pending is the default state when an approver is first added, or when they are moved back to ensure they re-review updates. That’s why we have three states: pending as the default, then approve or reject
- The trigger operates at the document level and emits individual events for each approval change. So if there are multiple approvals present (e.g. 10 approvals on a document), each change (added, approved, rejected, removed) will activate the automation separately, potentially resulting in numerous actions.
Move to Stage Action
-
This action will bypass all stage restrictions, including:
- Stages: Skip mandatory stages
- Metadata: Skip required metadata fields
- Approvals: Remove all rejected and pending approvals
- Paragraphs: Remove paragraphs pending deletion
- 🔥 Automations cannot move a document beyond the last stage in the workflow or before the first stage, so "Next" and "Previous" are only available where a stage exists.
Action: Calculate Metadata Date
-
Public holidays are not taken into consideration when selecting weekdays, so they will be counted as a weekday.
