# Autotask Inbound Integration

[Datto's Autotask](https://www.datto.com/products/autotask-psa/) Professional Services Automation (PSA) is a powerful and intuitive cloud-based PSA platform providing a singular view of the entire business — enabling MSPs to centralize business operations and make data-driven decisions to improve service, productivity, and profitability. With the ilert's Autotask integration, you can create alerts in ilert based on tickets from Autotask.

## In Autotask: Create an API user <a href="#create-api-user" id="create-api-user"></a>

1. Sign in to Autotask and then go to **Admin -> Resources (Users)**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MBYQXWv4Jb9sKeU1LBQ%2F-MBYQsN7uqSI7T9wZq-F%2Fautotask1.png?alt=media\&token=caf1076a-5bba-4cc6-a6b2-f5c7f717e301)

2. Click the **New** button and then navigate to **New API User**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MBYQvoYwpZeeKCJVGEa%2F-MBYR8eVlDlfSLEgbPZQ%2Fautotask2.png?alt=media\&token=fc54a46e-ce56-4806-bb6b-95bc7c41014a)

3. In the **First Name** section, enter a first name eg. ilert
4. In the **Last Name** section, enter a last name eg. API
5. In the **Email** section, enter an email
6. Click the **Generate key** button to generate a username and then the **Generate Secret** button to generate a password. You will need **Username** and **Secret** below when setting up the alert source.
7. In the **Integration Vendor** section, choose **iLert - Alerts**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FfLPtxGSQXeZiOrz9XXt6%2Fspaces_-M76ygPnS4HUcFSX8ulm_uploads_git-blob-199ae32531f88ba7bcc6575b4cc9e08e5fc1c90c_autotask3%20\(3\).png?alt=media\&token=19f0c32b-0838-4133-9d63-b4c8152a9153)

{% hint style="warning" %}
Please make sure that the Integration Vendor is selected properly.
{% endhint %}

## In ilert: Create an Autotask alert source <a href="#create-alert-source" id="create-alert-source"></a>

1. Go to the "Alert sources" tab and click on "Create new alert source"

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MBYQvoYwpZeeKCJVGEa%2F-MBYRFG9vyOkdaYa4xiZ%2Fautotask4.png?alt=media\&token=3c327644-2134-49dd-a764-f245c9455b5a)

2. In the **Name** section, enter a name eg. ilert
3. In the **Integration Type** section, choose "Autotask"
4. In the **Autotask Settings -> Username** section, paste the API user username generated above
5. In the **Autotask Settings -> Secret** section, paste the API user secret generated above
6. Select your desired escalation policy and click the **Save** button

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MCpbF6NBZxVSDtbFpb7%2F-MCpbU40vJGqS3LKAmmP%2FiLert.png?alt=media\&token=78d757dd-a3d9-40af-aa52-510ac37d66b0)

7. On the next page, a Webhook URL is generated. You will need this URL below when setting up the extension callout in Autotask.

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MBYQXWv4Jb9sKeU1LBQ%2F-MBYQsNCVKvnFLI-YcZj%2Fautotask6.png?alt=media\&token=a779259a-3383-4bfe-bf75-fc1efb6f3d5e)

## In Autotask: Create an Extension Callout <a href="#create-extension-callout" id="create-extension-callout"></a>

1. Go to Autotask and then to **Admin -> Extensions & Integrations**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2Fsync%2Fed2804226ef91e3bc50cc71f87063b85843896cf.png?generation=1632944461958902\&alt=media)

2. Click the **Other Extensions & Tools** panel and then click on the **Extension Callout (Tickets)** link

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2Fsync%2F515437a141b89ccf11905c5da3254d9a958679ca.png?generation=1632944462400283\&alt=media)

3. Click on **New Extension Callout**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MBYQXWv4Jb9sKeU1LBQ%2F-MBYQsNFBYfSR1h5b5gp%2Fautotask9.png?alt=media\&token=b195ea14-dc56-48f4-aeb0-2fd8f3b6aafd)

4. In the **Name** section, enter a name eg. ilert
5. In the **URL** section, paste the **Webhook URL** that you generated in ilert
6. Ensure that **Active** is selected and click the **Save & Close** button

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2Fsync%2F8a6832404c90f2a8b9c608fd0d8e6d73957d4b26.png?generation=1632944462574983\&alt=media)

## In Autotask: Create a Workflow Rule <a href="#create-workflow-rule" id="create-workflow-rule"></a>

1. Go to Autotask and then to **Admin -> Workflow Rules**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2Fsync%2F94d82c32e9b3f557e845cfbc9ce72fdbf18018f9.png?generation=1632944462740196\&alt=media)

2. Click the **New** button

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MBYQXWv4Jb9sKeU1LBQ%2F-MBYQsNIUbOf3hXkuO6R%2Fautotask12.png?alt=media\&token=f4217345-fed3-4a3d-9713-ff099f024b80)

3. In the **General -> Workflow Rule Name** section, enter a name eg. ilert
4. Ensure that **Active** is selected
5. In the **Events -> CREATED/EDITED** section, activate the **Created by** and the **Edited by** fields and choose **Anyone**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MBYQvoYwpZeeKCJVGEa%2F-MBYR_4pP6y5O4oJyM14%2Fautotask13.png?alt=media\&token=4cf9cc15-7e1a-46cd-9d52-883d82956768)

6. Scroll down to the **Actions** panel and in the **Then Execute Extension Callout** section choose the **iLert Callout** that you created above
7. Click on the **Save & Close** button

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-MBYQvoYwpZeeKCJVGEa%2F-MBYRayMh31mc9dewjeg%2Fautotask14.png?alt=media\&token=c2ece921-7c8a-407b-8c19-118cdee29a7c)

## Autotask Alert Lifecycle

| **When Autotask creates a ticket with status ...**                                                                                                                                                                                                                                                                                                        | **... then an ilert alert ...**                                       |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| <p><code>New</code> or<br><code>In Progress</code></p>                                                                                                                                                                                                                                                                                                    | is created                                                            |
| <p><code>Complete</code> or</p><p><code>Denied</code> or</p><p><code>Waiting Customer</code> or</p><p><code>Waiting Materials</code> or</p><p><code>Scheduled</code> or</p><p><code>Escalate</code> or</p><p><code>Waiting Vendor</code> or</p><p><code>Waiting Approva</code>l or</p><p><code>Waiting Dispatch</code> or</p><p><code>Approved</code></p> | <p>will not be created and a</p><p>400 (bad request) error occurs</p> |
| any other status                                                                                                                                                                                                                                                                                                                                          | is created                                                            |

| **When Autotask updates a ticket with status ...**                                                                                                                                                                                                                                                                                                        | .**.. and the ilert alert ...** | **... then the/an ilert alert ...**                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | --------------------------------------------------------------------- |
| <p><code>New</code> or<br><code>In Progress</code></p>                                                                                                                                                                                                                                                                                                    | does not exist                  | is created                                                            |
| <p><code>Complete</code> or</p><p><code>Denied</code> or</p><p><code>Waiting Customer</code> or</p><p><code>Waiting Materials</code> or</p><p><code>Scheduled</code> or</p><p><code>Escalate</code> or</p><p><code>Waiting Vendor</code> or</p><p><code>Waiting Approva</code>l or</p><p><code>Waiting Dispatch</code> or</p><p><code>Approved</code></p> | does not exist                  | <p>will not be created and a</p><p>400 (bad request) error occurs</p> |
| any other                                                                                                                                                                                                                                                                                                                                                 | does not exist                  | is created                                                            |
| `New`                                                                                                                                                                                                                                                                                                                                                     | exists                          | doesn't change                                                        |
| <p><code>Complete</code> or</p><p><code>Denied</code></p>                                                                                                                                                                                                                                                                                                 | exists                          | change status to **Resolved** if not already resolved                 |
| <p><code>Waiting Customer</code> or</p><p><code>In Progress</code> or</p><p><code>Waiting Materials</code> or</p><p><code>Scheduled</code> or</p><p><code>Escalate</code> or</p><p><code>Waiting Vendor</code> or</p><p><code>Waiting Approval</code> or</p><p><code>Waiting Dispatch</code> or</p><p><code>Approved</code></p>                           | exists                          | change status to **Accepted** if not already accepted                 |
| any other status                                                                                                                                                                                                                                                                                                                                          | exists                          | doesn't change                                                        |

## Mapping Autotask ticket priority to ilert alert priority

| Autotask ticket priority                      | ilert alert priority |
| --------------------------------------------- | -------------------- |
| 1 - Low                                       | Low                  |
| <p>2 - High<br>3 - Medium<br>4 - Critical</p> | High                 |

## Bidirectional alert synchronisation

When providing credentials you may choose to activate bidirectional mode on the Autotask ticket source. This will cause your alert source to be automatically linked with an outbound connector and alert action. This way status changes to ilert alerts will synchronize to Autotask ticket.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fg8rm1TXZ11GXpoF7oRBY%2Fimage.png?alt=media&#x26;token=3f68fc94-6ddd-4cf4-a20f-6faf2d4cdf35" alt=""><figcaption></figcaption></figure>

When saving the Autotask alert source with bidirectional setting enabled, it will automatically create an outbound connector for you and take you to the creation page of the necessary alert action, please make sure to continue with the setup of the action to finish your bidirectional alert source setup.

## Setting up multi workflows in Autotask

To use Autotask workflows combined with holiday calendars to manage on-call availability, you will need to set up following 2 workflows:<br>

1. Go to Autotask and then to **Admin -> Workflow Rules**
2. In the **General -> Workflow Rule Name** section, enter a name eg. ilert (business hours)
3. Ensure that **Active** is selected
4. In the **Events -> CREATED/EDITED** section, activate the **Created by** and the **Edited by** fields and choose **Anyone**

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FpfYn3EM7YTPERoTgiRwc%2FScreenshot%202023-04-17%20at%2022.29.39.png?alt=media&#x26;token=3fcc3dad-7e0c-4ebe-88f8-41dacb2f8374" alt=""><figcaption></figcaption></figure>

5. In the **Conditions** section, select **Status Equal to New**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F9fE1hO5knov3Hkt4iZ16%2FScreenshot%202023-04-17%20at%2022.33.38.png?alt=media&#x26;token=bb015df6-d673-42f4-9ff4-8a98ecb395d9" alt=""><figcaption></figcaption></figure>

6. Scroll down to the **Actions** panel and in the **Then Execute Extension Callout** section choose the **iLert Callout** that you created above
7. Click on the **Save & New** button

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fp0KIxg5JNiNDcpAuXtxV%2FScreenshot%202023-04-17%20at%2022.34.04.png?alt=media&#x26;token=c3e956fe-7701-44d9-adcd-4e87eda210da" alt=""><figcaption></figcaption></figure>

8. Enter a name eg. ilert (no business hours)
9. Ensure that **Active** is selected
10. In the **Events -> CREATED/EDITED** section, activate the **Created by** and the **Edited by** fields and choose **Anyone**

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FVD7vVAjfj2lKdTU5N1lj%2FScreenshot%202023-04-17%20at%2022.34.50.png?alt=media&#x26;token=242ebc60-26ef-4da5-acd3-cad7cd26d4ba" alt=""><figcaption></figcaption></figure>

11. In the **Conditions** section, select **Status Not equal to New**.
12. Tick the **Time Sensitive** checkbox and select **Outside Business Hours of**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F52EOkQAcYhtdlR2iNEDH%2FScreenshot%202023-04-17%20at%2022.36.21.png?alt=media&#x26;token=939f64fc-8b63-4a70-8830-2be5c5823b34" alt=""><figcaption></figcaption></figure>

13. Scroll down to the **Actions** panel and in the **Then Execute Extension Callout** section choose the **iLert Callout** that you created above
14. Click on the **Save & New** button

## FAQ <a href="#faq" id="faq"></a>

**Will alerts in ilert be resolved automatically?**

Yes, as soon as an Autotask Ticket is completed, the alert in ilert will be resolved automatically.

**Can I connect Autotask with multiple alert sources from ilert?**

Yes, simply create more Extension Callouts in Autotask.

**Can I customize the alert messages?**

No.

## Related articles

{% content-ref url="../outbound-integrations/autotask" %}
[autotask](https://docs.ilert.com/integrations/outbound-integrations/autotask)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ilert.com/integrations/inbound-integrations/autotask.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
