# Time Trigger · Automation · Admin Portal

Run an automation on a specific date, day of the week or time interval. Filter the affected tickets and choose an action.

Canonical: https://docs.mintsd.com/docs/mint-service-desk/admin-portal-time-trigger
Language: en-GB
Revision: 2a2d39f1e31deba465d9905cd685a5a3416966a588eb6151bba19ba5bc3c7cc9

<a id="element-01a1452e-124b-7b19-bdaf-8e3b84d7de1d"></a>

**Time Trigger** automation runs on a specific date, day of the week or time interval. Configure its general settings in the same way as an Event automation.

<a id="element-01a1452e-124b-7d7e-87ef-9513b85c8260"></a>

<a id="element-01a1452e-124c-7ba6-a393-03b5ff3d1ff3"></a>

## Schedule

The second section is **Time Triggers** where you configure when you want the automation to turn on.
To start the configuration, you need to press ![Add Trigger](https://docs.mintsd.com/api/reader/assets/assets/images/image869.png?v=f40449fa754e1bbee35a554ccf3839f40c3e68b14deb8d71462f8ec4868cb3f0#element-01a1452e-124b-7d7e-87ef-9513b85c8260) button.

<a id="element-01a1452e-124c-76e4-ab81-b8239b2b2f27"></a>

When this button is pressed, a dropdown menu will appear with three possible options:

<a id="element-01a1452e-124f-794b-9705-b002210f4e1c"></a>

- Single date
- Day of week
- Period of time

<a id="element-01a1452e-124f-771e-a3f6-b596a8f78e71"></a>

<a id="element-01a1452e-1250-7e82-9d51-9c860aa36e36"></a>

After selecting the appropriate time trigger, press ![Add](https://docs.mintsd.com/api/reader/assets/assets/images/image3.png?v=50654a0321a77a3b2271140f1b6a5080d18fbef92f3639b9b83ad57f0fd5735d#element-01a1452e-124f-771e-a3f6-b596a8f78e71) button.When you do this a new field will appear in
place of this dropdown menu depending on what you selected in the dropdown menu. Below is an example of a field after
selecting Period of time.

<a id="element-01a1452e-1251-74c7-9b71-5fdd3d65559d"></a>

![After selecting the appropriate time trigger, press button.When you do this a new field will appear in place of this dropdown menu depending on what you selected in the dropdown menu. Below is an example of a field after selecting Period of time.](https://docs.mintsd.com/api/reader/assets/assets/images/image870.JPG?v=d252bad19d0c834518a140979615089ddf4f18cd713ccda96802c4ce8ea93c87)

<a id="element-01a1452e-1253-794c-894c-679beb75af1d"></a>

## Filters

The next sections are **Based on** and **Filters**, which are related. In Based on, select an option from the dropdown
menu (currently there is only a Ticket selection). Then the whole filter configuration will appear.

<a id="element-01a1452e-1253-7732-99a4-0dc1f7e2a0f1"></a>

![The next sections are Based on and Filters , which are related. In Based on, select an option from the dropdown menu (currently there is only a Ticket selection). Then the whole filter configuration will appear.](https://docs.mintsd.com/api/reader/assets/assets/images/image871.JPG?v=6c2d674978d78271dd868da2f9a6acef8f1ae3f0a60be222b57c5933d546ded5)

<a id="element-01a1452e-125e-70e2-a845-20615455fd83"></a>

- **ticket.assignee** - filters by the agents assigned to the ticket.
- **ticket.company** - filters by the company assigned to the ticket.
- **ticket.customer** - filters by customer.
- **ticket.global_status** - filters by the global status.
- **ticket.priority** - filters by the priority that was set on the ticket.
- **ticket.queue** - filters by the queue in which the ticket is created.
- **ticket.service** - filters by the service in which the ticket is created.
- **ticket.status** - filters by the status that was set on the ticket.
- **ticket.ticket_type** - filters by ticket type in which the ticket is created.
- **ticket.ticket.modificationDate** - filters by modification date, all users are taken into account.
- **ticket.ticket.customer_modificationDate** - filters by modification date, all customers are taken into account.
- **ticket.ticket.ticket.agent_modificationDate** - filters by modification date, all agents are taken into account.

<a id="element-01a1452e-125f-7d31-8636-61daa9b06b89"></a>

## Actions

In **Actions**, choose what happens to tickets that match the filters.

<a id="element-01a1452e-1260-71cc-b7a1-ba40b85ffb9f"></a>

<a id="element-01a1452e-1260-78df-bd6d-8b80491925fe"></a>

<a id="element-01a1452e-1261-7982-aa3e-d596efce3b37"></a>

To start the configuration you need to press ![Add action](https://docs.mintsd.com/api/reader/assets/assets/images/image866.png?v=4aa69b5a4bdf2ee33fe297068028640194a41ed3a09570412b44e6915a3070c8#element-01a1452e-1260-71cc-b7a1-ba40b85ffb9f) button. Then a dropdown menu will appear from which you can select the option you are
interested in and then press ![Add](https://docs.mintsd.com/api/reader/assets/assets/images/image3.png?v=50654a0321a77a3b2271140f1b6a5080d18fbef92f3639b9b83ad57f0fd5735d#element-01a1452e-1260-78df-bd6d-8b80491925fe) button.

<a id="element-01a1452e-1262-7ada-aef5-888baa8c484f"></a>

## Selectable options for event type

<a id="element-01a1452e-1264-7fb9-ad53-de21032f8a34"></a>

- **Close Tickets** - This option allows you to automatically close tickets.
- **Create Ticket** - This option allows you to create tickets automatically.

<a id="element-01a1452e-1264-7d9e-8721-3a6b285667f0"></a>

![Close Tickets - This option allows you to automatically close tickets.; Create Ticket - This option allows you to create tickets automatically.](https://docs.mintsd.com/api/reader/assets/assets/images/image872.JPG?v=0c9de4d1cf194b34801ede1c1416ec7b869620fa44e33da9abaee9b8df4697c6)

<a id="element-01a1452e-1265-7341-bf95-5cc2a5be9ac4"></a>

<a id="element-01a1452e-1266-7c4f-9773-9a56a9299d49"></a>

Press ![Create](https://docs.mintsd.com/api/reader/assets/assets/images/image58.png?v=3659f4ed6ae2729e35fe5eb8832cf827f8c264181610e981304daec839c30f99#element-01a1452e-1265-7341-bf95-5cc2a5be9ac4) button to complete the automation setup process.

