Automation

Admins can create automation workflows to automatically update ticket properties. Automations support multiple triggers, including added, deleted, modified, and added & modified.

In this article:

Permissions

Analysts can view automations, but only administrators can update or create new automations. For details on managing app roles, see Assign users and groups to Application Roles.

How to view Automation settings

To access and manage automations:

  1. Open the Tikit web app at https://web.tikit.ai.

  2. Once in the Tikit web app, select settings gear in the header, then select Automation.

  • Hover over the labels or check out the following key section for more details.

1234567

  1. New Automation Add a new automation.

  2. Search Search for automations by name, description, or status.

  3. Title Automation title. Select to view and update automation details.

  4. Description Automation description.

  5. Status The status of the automation based on its last run:

    • Success Completed successfully.

    • Failed Did not complete successfully.

    • Partial Success Automation was partially successful.

  6. Enabled Enable/Disable an automation.

  7. Delete Delete an automation.

How to add a new automation

Need to prioritize a ticket based on the request or handle common tasks and improve workflows? Automations to the rescue with support for triggering automation on ticket creation, updates, and deleting to handle processes your way.

To add a new automation in the Tikit web app:

  1. In Settings > Automation, select + New Automation from the toolbar.

  1. Enter automation information in each section. Check out the Automation Form section below for more details.

  2. Select Save to save the new automation.

How to edit an automation

Processes can change and automations can change with them. Administrators can quickly enable/disable automations and update their triggers, filters, and actions.

To edit an existing automation:

  1. In Settings > Automation, find and select an automation

  1. Update necessary automation information in each section. Check out the Automation Form section below for more details.

  2. Select Save to save any changes.

How to delete an automation

Retiring a process or tweaking your workflows and need to remove an automation? Don’t forget that automations can be disabled to avoid deleting them permanently, and then when the automation is needed again it can be quickly enabled. Otherwise, administrators can permanently delete automations.

To delete an automation:

  1. In Settings > Automation, find the automation to be deleted and select the delete button in the Actions column, then select Delete to confirm.

Automation Form

The automation form has several sections to define when and how the automation should run:

  • Information General automation settings like name, description, and if automation is enabled.

    • When Determine when the automation should be run by choosing a trigger type.

    • If Determine if an automation should run with a set of rules.

    • Do Determine what the automation should do when run with a set of properties.

Information

General information like Title, Description, and if the automation is Enabled can be found here.

  • Hover over the labels or check out the following key section for more details.

  1. Title Title for automation.

  2. Description Description of automation.

  3. Enabled Enable/Disable automation. Disabled automations can still be updated, but will not run.

When

Determine when an automation runs.  Automations run either by schedule or by event. Automations also support multiple ticket events: added, deleted, modified, and added & modified.

  • Hover over the labels or check out the following key section for more details.

  1. On a schedule Defines that automations will run on a schedule

  2. Trigger  The frequency on when automation should run:

    • Every Hour

    • Every Day – runs daily at 00:00:00 UTC

    • Every Week – every Sunday at 00:00:00 UTC

    • Every Month – first day of the month at 00:00:00 UTC

    • Every Year – first day of the year at 00:00:00 UTC

  1. On an Event Defines that automations will run based on an event

  2. Entity Name The type of entity to add automation to. The default and only value currently is Ticket.

  3. Trigger Type The event that triggers, or starts, the automation:

    • Added A new ticket has been created.

    • Deleted A ticket has been deleted.

    • Modified A ticket has been modified.

    • Added & Modified A ticket has been either created or modified. Great for avoiding managing two separate automations for Added and Modified events.

If

Determine if an automation should run. The filtering rules are defined based on the properties of the ticket triggering the automation. Rules are categorized into groups of filters. All groups must evaluate to true to continue to the Do section while the filters within each group can be evaluated with AND(&&) or OR(||) logic by selecting the AND|OR switch in the top left of the group.

  • Hover over the the table labels or check out the following key section for more details.

  1. Rule Title Title of the rule.

  2. Global Rules Select and copy a rule template from a set of predefined rules.

  3. Logical Operator (AND|OR) Toggle between AND (&&) and OR (||) when evaluating the group’s filters:

    • AND All filters in the group must be true.

    • OR At at least one filter in the group must be true.

  4. Add Filter Add a new filter to a group.

  5. Property Filter Filter based on the properties of the Ticket triggering the automation. Choose a Property to evaluate, an Operator for the type of comparison, and a Value compare with.

  6. Delete Filter Remove a filter from the group.

  7. Add Group Add a new group of filters to the rule. All groups must pass for an automation to continue.

How to add a filter group

Rules can contain multiple groups working together for advanced logic. Selecting Add Group will add a new group at the bottom of the rule. Any added groups can also be removed by selecting the delete icon to the right of each added group.

To add a group:

  • Select Add Group to add a new group to the rule.

To remove a group, select the delete icon to the right of the group.

How to add a filter to a filter group

Each group can contain multiple filters. Selecting Add Filter will add a new property filter to a group. For more on the different property types see the section below on 

To add a filter to a group:

  1. Select Add Filter to add a property filter to a specific group. New blank properties require Property to be selected before the Operator and Value fields are enabled.

  1. Select the ticket Property to filter by.

  1. Select an Operator.

The Operator and Value fields are based on the data type of the selected Property. Properties can be Strings, True/False (Boolean), and Dates. See the following sections on each type for details.

  1. In the Value field, enter a value to compare with the Property using the Operator. Some Operators like Is Null do not require a value to be entered.

For example, Title Contains Printer will look for “Printer” anywhere in the Title string like “The Printer is out of ink”, while Ticket Starts With Printer will match strings starting with “Printer” like “Printer is out of ink”.

String Filters

Strings include fields like Request.

String Operators

  • Equal

  • Not Equal

  • Contains

  • Not Contains

  • End With

  • Not Ends With

  • Starts With

  • Not Starts With

  • Is Empty

  • Not Is Empty

  • Is Null

  • Is Not Null

Value is a string (e.g., “Printer”, “Product Key”, “Network”, etc.).

Note that some operators like the “Is Null” and “Is Not Null” operators do not require a value to be set.

Date Filters

Date properties represent dates and include fields like Ticket Due Date and Resolution Date. The filter values for these properties support either specific Values like ’12/1/2021′ or Relative Dates like Today, # Days Ago, and # Days from Now.

DateTime Operators

  • Earlier Than

  • Earlier Than or Equal to

  • Later Than

  • Later Than or Equal to

  • Is Null

  • Is Not Null

Value is a date. Specific dates can be entered manually or by using the date pickers by selecting the calendar button. Relative Dates are dynamic and can be selected from a dropdown. Several Relative Dates like # Days Ago have additional number input with spinner buttons to increase or decrease the number of Days, Months, Years, etc..

Note that the “Is Null” and “Is Not Null” operators do not require a value to be set.

True/False (Boolean) Filters

Boolean properties have a value of either True or False and include fields like Closed.

True/False (Boolean) Operators

  • Equal

  • Not Equal

  • Is Null

  • Is Not Null

Value is either True or False. Values are selected from a dropdown. If no value is selected, leaving the Value field blank, then the property’s value will be Null. The “Is Null” and “Is Not Null” operators would be used in that case.

Note that the “Is Null” and “Is Not Null” operators do not require a value to be set.

Do

The Do section is where the action is. This section determines what Properties should be updated by the automation.

For example, setting Resolution Date automatically when tickets are resolved or setting the Assignee for a ticket to an Analyst based on category.

 

  • Hover over the the table labels or check out the following key section for more details.

  1. Action Title Title to describe the action. 

  2. Global Actions Select and copy an action template from a predefined list.

  3. Action Type What type of action the automation should perform:

    • Create Create a new ticket.

    • Update Update the properties of the Ticket that triggered the automation.

    • Notification Sends a teams and/or email notification to the requester and/or assignee of the ticket that triggered the automation

  4. Property Property to update.

  5. Add Property Add a new property to update.

Action Type

Picking an Action Type depends on what you would like your automation to do:

  • Create Create a new ticket, using the action’s properties to set its values.

  • Update Update the ticket that triggered the automation, using the action’s properties to update its values.

  • Notification Sends a teams and/or email notification to the requester and/or assignee of the ticket that triggered the automation. 

How to add a property value

Define a list of properties to update:

  • on the ticket that triggered the automation if the action type is Update.

  • on a new ticket if the action type is Create.

Properties can be strings, dates, users, or picker values (e.g., Status, Priority, Categories, etc.).

To add an action property:

  1. Select Add Property to add a property. Properties require Property to be selected before the Value field is enabled.

  1. Select a ticket Property. After selecting the Property, the Value field will be enabled.

The Value field is based on the data type of the selected Property. Properties can be Strings, True/False (Boolean), and Dates. See the following sections on each type for details. 

  1. Enter a Value for the new action property.

String Properties

Strings include fields like Title, Description, and Name.

Value is a string value like “Printer”.

Date Properties

Dates include fields like Due Date and Resolution Date. These properties support either specific Values like ‘1/1/2024 12:00 AM’ or Relative Dates like Today, # Days Ago, and # Days from Now.

Value is a Date. Specific Dates can be entered manually or using the date picker by clicking the calendar button. Relative Dates are dynamic and can be chosen from a dropdown. Some Relative Dates like # Days Ago have additional number input and spinner buttons to increase or decrease the number of Days, Months, Years, etc..

True/False (Boolean) Properties

Boolean properties have a value of either True or False and include fields like Closed and IsDeleted.

Value is either True or False based on a dropdown selection.

How to setup a notification

  1. Select Notification from Action Type

  2. To send notification via teams, toggle on Teams Notification switch. 

  3. Under Teams Notification, select the appropriate recipient by ticking the checkbox.

  4. To send notification via email, toggle on Email Notification switch

  5. Under Email Notification,  select the appropriate recipient by ticking the checkbox.

  6. Under the From field, you can choose to send notifications from Tikit’s No Reply or the Inbox you configured in the Email Connector.

  7. Fill in the Notification Subject and Message  box

    1. The Subject and Body of Email notifications can use variables from the Ticket. To use a variable, begin typing { to see a list of options.

    2. The Email Connector processes updates to tickets by looking for #Id in the Subject. e.g. #5731.

As seen above, custom notifications also support the use of variables for including dynamic content about the ticket into the email subject and body. For more details on the available variables and how to include them, see Notification Variables.

Teams Notification Delivery Options

  • Requesters: The Virtual Agent will notify the requester(s) on a ticket when the automation is triggered

  • Assignee: The Tikit app will notify the assignee(s) on a ticket when the automation is triggered

  • Group: The Tikit app will notify the group a ticket is a part of when the automation triggers

  • Team: The Tikit app will notify the team a ticket is a part of when the automation triggers

  • Approvers: The Virtual Agent will notify the approver(s) on a ticket when the automation triggers

  • Task Assignee: The Tikit app will notify the task assignee(s) on a ticket when the automation triggers

  • Collaborators: The Tikit app will notify the collaborator(s) on a ticket when the automation triggers

  • Affected Users: The Virtual Agent will notify the affected user(s) on a ticket when the automation triggers

  • Selected Users: The Virtual Agent will notify the specified user(s) on a ticket when the automation triggers

You can modify how the Tikit app and the Virtual Agent send notifications. As shown below, you can adjust these notifications individually:

Below is an example of what the Teams notifications look like, including how variables with no value appear: