Email Notifications of New Tickets
Last updated
Last updated
This guide explains how to set up automatic email notifications for new tickets that meet specific criteria.
For instance, you may want your engineering team to receive an email notification whenever a new ticket with potential savings greater than $500 is created. This ensures that they can prioritize and address such tickets promptly.
Ensure that the email ID(s) receiving notifications have OneLens access within your organization.
For a more detailed walkthrough, refer to the video available here.
Navigate to the workflow
section of OneLens.
Click the Create button in the top-left corner to start a new workflow.
A dialog box will appear asking for a workflow name. Enter a descriptive name (e.g., “Send Email Alerts for High-Value Tickets
").
You can also add a description, which is optional.
Once you’ve filled in the details, click Create to proceed.
In the workflow setup, select the Tickets
option as your trigger.
You will then be prompted to choose between two options:
Ticket is Created
Ticket is Updated
For this scenario, choose Ticket is Created, as you want to trigger the workflow when a new ticket is generated.
You’ll have two options for how these conditions should be applied:
Trigger when all conditions match – the workflow will only trigger if all conditions are met.
Trigger when any condition matches – the workflow will trigger if one of the conditions is met.
You can configure multiple conditions by clicking on the Add Rule button.
Each condition involves filling out three fields:
Criteria: Choose the specific property of the ticket you want to filter by. You can use the following attributes:
Ticket: Status, Category
Recommendation: Potential Savings, Effort
Resource: Name, Account, Region, Service, Tags
Cost Center (Org Hierarchy): Cost Center, Category
Policy: Name, Category
Limit: Set a comparison operator or criteria type for the selected attribute. The available options vary based on the chosen criteria.
Borderline: Set the specific value or list of values to compare against.
Criteria: Potential Savings
Limit: Greater Than
Borderline: 500 (this would filter for tickets where potential savings are greater than $500).
You can set multiple conditions, each with unique criteria, limits, and boundaries, depending on the ticket types you wish to target.
Once all conditions are defined, click Save Changes to finalize the trigger.
After defining the trigger and conditions, click Add Step.
Under Messaging
, choose Send Email to Users.
Add the following details:
Recipients: Enter the email addresses of the users who should receive the email notifications.
Cc/Bcc: Optionally, add additional recipients in the Cc or Bcc fields.
Subject: Specify the subject line for the email notification.
Message: Enter the email's body content, including relevant details for the recipients.
To ensure the email looks as expected, you can preview it before sending it.
Click on Show Preview with Mock Data to view the email preview. This will display how the email will appear with sample data, allowing you to verify its format and content.
Once you're satisfied with the preview, click on Save Changes.
Review the workflow representation to ensure everything is set up correctly.
Click Publish to make the workflow active.
Here is how your email would look: