Property Insurance
Automations Setup Guide
This guide will walk you through creating, configuring, and managing automations in 21RISK. By the end, you'll know how to set up powerful automation rules that streamline your insurance workflow.
Before starting, make sure you have access to the Insurance Settings page. If you don't see the "Automations" menu item, contact your administrator for permissions.
Accessing Automations Accessing Automations
To manage automations:
- Navigate to the Insurance section in 21RISK
- Click on "Settings" in the left sidebar
- Select "Automations" from the settings menu
You'll see a list of all existing automations, along with suggested automation templates you can use to get started quickly.
Creating Your First Automation Creating Your First Automation
Let's create an automation that moves items to "In Progress" when all required planning fields are completed.
Step 1: Start a New Automation Step 1: Start a New Automation
- Click the "New automation" button in the top-right corner
- You'll be taken to the automation form
Step 2: Name Your Automation Step 2: Name Your Automation
Give your automation a clear, descriptive name that explains what it does.
Example : "Auto-move to In Progress when planned"
Good naming examples:
- "Move to In Progress when planned"
- "Weekly cleanup of overdue items"
- "Notify on high-cost items"
Avoid:
- "Automation 1"
- "Test"
- "New rule"
Step 3: Choose a Trigger Step 3: Choose a Trigger
Select when the automation should run:
- On any change : Runs whenever an item is created or updated
- On a schedule : Runs at specific times you configure
For this example, select "On any change" since we want immediate reaction when fields are updated.
You'll need to configure the schedule type and timing:
Daily Schedule:
- Select the hour (0-23) and minute (0, 15, 30, or 45)
- Example: Run every day at 9:00 AM
Weekly Schedule:
- Select one or more days of the week
- Select the hour and minute
- Example: Run every Monday and Friday at 6:00 PM
Monthly Schedule:
- Select the day of the month (1-31, or 0 for last day)
- Select the hour and minute
- Example: Run on the 1st of every month at 8:00 AM
When you configure a schedule, 21RISK shows you when it will run next. Use this to verify your schedule is set up correctly.
Step 4: Add Conditions Step 4: Add Conditions
Conditions determine which items the automation affects. Think of this as the "IF" part of your rule.
For our example, we want to match items that:
- Have compliance = "Non-compliant with plan"
- Have a cost estimate (any value >= 0)
- Have a due date in the future
- Have a responsible person assigned
Adding Condition Groups
- You start with one condition by default
- Click "Add condition" to add more conditions within the group
- Click "Add alternative scenario" to create OR conditions
Condition Logic:
- Conditions within a scenario are combined with AND (all must match)
- Different scenarios are combined with OR (any scenario can match)
Example: (Scenario 1) OR (Scenario 2) OR (Scenario 3)
Configuring Individual Conditions
For each condition, you'll need to:
- Select a field : Choose from available fields (name, cost estimate, due date, compliance, responsible)
- Select an operator : Choose how to match the value (contains, equals, greater than, etc.)
- Enter a value (if applicable): Use the appropriate format for the field type
Field Types and Filter Formats:
Use these operators:
-
*- Has any value (exists) -
!*- Is empty (doesn't exist) -
text- Contains "text" (case-insensitive) -
!text- Doesn't contain "text" -
=text- Exactly equals "text" -
!=text- Doesn't equal "text"
Examples:
-
*- Any item with a name -
risk- Name contains "risk" -
=Fire Safety- Name is exactly "Fire Safety"
Use these operators:
-
*- Has any value -
!*- Is empty -
>100- Greater than 100 -
>=100- Greater than or equal to 100 -
<100- Less than 100 -
<=100- Less than or equal to 100 -
=100- Exactly equals 100 -
100..500- Between 100 and 500 (inclusive)
Examples:
-
>=0- Has a cost estimate of 0 or more -
>1000- Cost estimate greater than 1000 -
100..1000- Cost estimate between 100 and 1000
Use these operators:
-
*- Has any value -
!*- Is empty -
>@today- After today -
<@today- Before today -
=@today- Equals today -
>2024-12-31- After a specific date -
@today..@today+7d- Within next 7 days
Examples:
-
>@today- Due date in the future -
<@today- Overdue (past due date) -
@today..@today+30d- Due within next 30 days
-
*- Has any value -
!*- Is empty -
compliant- Specific status (for compliance) -
nonCompliant- Specific status (for compliance) -
nonCompliantWithPlan- Specific status (for compliance) -
{userId}- Specific user ID (for responsible)
Examples:
-
*- Has a responsible person -
nonCompliantWithPlan- Status is "Non-compliant with plan"
If you enter an invalid value format, 21RISK will show an error message. Make sure to check for validation errors before saving.
Example: Our "Move to In Progress" Conditions
For our automation, configure one condition group with these conditions:
| Field | Value | Meaning |
|---|---|---|
| compliance | nonCompliantWithPlan | Status is "Non-compliant with plan" |
| costEstimate | >=0 | Has a cost estimate |
| dueDate | >@today | Due date is in the future |
| responsible | * | Has a responsible person |
All four conditions must be true for the automation to affect an item.
Step 5: Add Actions Step 5: Add Actions
Actions determine what happens when the trigger fires and filters match. This is the "THEN" part of your rule.
Set Status Action
- Select "Status" from the dropdown at the right
- Choose the status to set (e.g., "In Progress")
For our example:
- Action type: Set Status
- Status: In Progress
This will automatically update the item's status to "In Progress" when all conditions are met.
You can add multiple actions to one automation. They'll all execute when the filters match.
Send Notification Action
If you want to also send notifications:
- Click "Add action" again
- Select "Send Notification"
- Enter the notification subject
- Enter the notification content
- Select one or more recipient users
Step 6: Save and Enable Step 6: Save and Enable
- Review your automation configuration
- Leave the automation Disabled initially
- Click "Save" (or "Create" for new automations)
New automations are disabled by default. This gives you time to test and verify before activating.
Testing Your Automation Testing Your Automation
Before enabling your automation, test it to make sure it works correctly:
For Change-Based Automations For Change-Based Automations
- Keep the automation disabled
- Manually review items that match your conditions
- Verify the conditions select the items you intended
- When confident, enable the automation
- Make a test change to an item
- Check if the automation triggered correctly
- Review the automation log
For Scheduled Automations For Scheduled Automations
- Keep the automation disabled
- Note how many items currently match your conditions
- When ready to test, enable the automation
- Click the "Run now" button to trigger immediately
- Wait for the automation to complete
- Review the automation log
- Verify the expected items were updated
The "Run now" button is only available for scheduled automations when they're enabled. Use it to test without waiting for the scheduled time.
Managing Existing Automations Managing Existing Automations
Editing an Automation Editing an Automation
- Click on an automation from the list
- Modify any field (name, trigger, conditions, actions)
- Click "Update" to apply changes
Changes to an enabled automation take effect immediately. If you're making significant changes, consider disabling it first, testing, then re-enabling.
Enabling/Disabling Enabling/Disabling
Toggle the "Enabled" switch to activate or deactivate an automation:
- Enabled : The automation is active and will run on its trigger
- Disabled : The automation is inactive and won't run
Use cases for disabling:
- Temporarily pause an automation during testing
- Seasonal workflows (e.g., end-of-year processing)
- Maintenance or troubleshooting
Deleting an Automation Deleting an Automation
- Open the automation you want to delete
- Scroll to the bottom
- Click "Delete"
- Confirm the deletion
Deleted automations cannot be recovered. You'll need to recreate them manually if needed. Consider disabling instead of deleting if you might need it later.
Monitoring Automation Activity Monitoring Automation Activity
The automation logs help you understand what your automations are doing.
Viewing Logs Viewing Logs
- Open an automation from the list
- Click "Logs"
- Review recent execution history
Understanding Log Entries Understanding Log Entries
Each log entry shows:
- Timestamp : When the automation ran
- Trigger : What caused the automation to run (scheduled, item-updated, manual)
- Items Affected : How many items were updated
- Actions Performed : What changes were made
- Status : Success or error
- Details : Additional context or error messages
If an automation isn't working as expected, check the logs for error messages or unexpected behavior. Common issues include:
- Conditions not matching any items
- Invalid condition syntax
- Permissions issues
- Disabled automation
Using Suggested Automations Using Suggested Automations
21RISK provides pre-configured automation templates to help you get started quickly.
Available Suggestions Available Suggestions
On the automations page, you'll see cards for suggested automations:
- Auto-move to In Progress : Moves items when planning is complete
- Auto-move to To Do : Moves items back when planning is incomplete
- Auto-move overdue to To Do : Scheduled cleanup of overdue items
Activating a Suggestion Activating a Suggestion
- Click "Add" on a suggested automation card
- The automation is created with pre-configured settings
- Review the configuration
- Enable when ready
After adding a suggested automation, you can modify it to fit your specific workflow. Change conditions, adjust schedules, or add additional actions.
Advanced Examples Advanced Examples
Example 1: Weekly Overdue Cleanup Example 1: Weekly Overdue Cleanup
Goal : Every Monday at 8:00 AM, move overdue items back to "To Do"
Configuration:
- Name: "Weekly overdue cleanup"
- Trigger: On a schedule
- Schedule: Weekly, Monday, 8:00 AM
- Conditions:
- dueDate:
<@today - compliance:
nonCompliantWithPlan
- dueDate:
- Actions:
- Set Status: To Do
Example 2: High-Cost Item Notification Example 2: High-Cost Item Notification
Goal : Notify managers when items with cost estimates over €10,000 are created
Configuration:
- Name: "High-cost item notification"
- Trigger: On any change
- Conditions:
- costEstimate:
>10000 - compliance:
*
- costEstimate:
- Actions:
- Send Notification
- Subject: "High-cost insurance item alert"
- Content: "A high-cost insurance item (over €10,000) has been created and requires your review. Please check the insurance board in 21RISK for details."
- Recipients: [Select manager users]
- Send Notification
All automation emails automatically include a "View in 21RISK" button that takes the recipient directly to the item, making it easy for managers to review and take action.
Example 3: Multi-Condition Workflow Example 3: Multi-Condition Workflow
Goal : Move items to "To Do" if any of these is true:
- Missing cost estimate
- Missing due date
- Missing responsible person
Configuration:
- Name: "Auto-move to To Do (incomplete planning)"
- Trigger: On any change
- Scenario 1:
- compliance:
nonCompliantWithPlan - costEstimate:
!*
- compliance:
- Scenario 2:
- compliance:
nonCompliantWithPlan - dueDate:
!*
- compliance:
- Scenario 3:
- compliance:
nonCompliantWithPlan - responsible:
!*
- compliance:
- Actions:
- Set Status: To Do
Best Practices Checklist Best Practices Checklist
Before enabling an automation, verify:
- ✅ The automation has a clear, descriptive name
- ✅ The trigger type matches your use case (change vs. schedule)
- ✅ Conditions are specific enough to avoid unintended matches
- ✅ You've tested with a small subset of items
- ✅ Scheduled automations run at appropriate times
- ✅ Notification messages are clear and professional
- ✅ You've reviewed the automation log after initial runs
- ✅ The automation doesn't conflict with other automations
Troubleshooting Common Issues Troubleshooting Common Issues
Automation Not Running Automation Not Running
Check:
- Is the automation enabled?
- Are you triggering the right event (for change-based)?
- Is the schedule configured correctly (for scheduled)?
- Do any items match your conditions?
Solution: Review the automation logs for error messages and verify configuration.
Too Many/Few Items Affected Too Many/Few Items Affected
Check:
- Review your condition configuration
- Test conditions by manually checking item values
- Check for alternative scenarios (OR logic) that might be too broad
Solution: Refine conditions to be more specific, or add additional constraints.
Schedule Not Running at Expected Time Schedule Not Running at Expected Time
Check:
- Verify schedule type (daily/weekly/monthly)
- Check hour and minute settings
- For weekly: verify days of week
- For monthly: verify day of month
Solution: Edit the automation and reconfigure the schedule settings.
Notifications Not Sending Notifications Not Sending
Check:
- Are recipient users selected?
- Do recipients have valid email addresses?
- Check automation logs for delivery errors
Solution: Verify recipient configuration and check user email settings.
Next Steps Next Steps
Now that you know how to create and manage automations:
- Start with one simple automation to get familiar
- Monitor the logs to ensure it works as expected
- Gradually add more automations as needed
- Use suggested automations as templates
- Share successful automation patterns with your team
Need Help? If you have questions about automations or need assistance setting up complex rules, contact your 21RISK administrator or support team.
For more background on how automations work, see the Automations Introduction .