Skip to main content

Intro

AutoTask is a ticketing system. This page guides you through the process of setting up an integration via the AutoTask API.

info

Note: Pia allows just one active ticketing system integration at a time.

Prerequisites

You will need the following details before setting up your AutoTask integrations. (More details about these items can be found where you enter them in the sections below.)

  • AutoTask API Keys
    • Username (Key)
    • Password (Secret)
    • Tracking Token
  • AutoTask WebServices URL
  • Time that Pia will sync with AutoTask on a daily basis
  • Name of the board Pia reads tickets from
  • Name of the board Pia escalates tickets to

Set Up Process

Here is a quick intro to setting up a new integration. Details for the fields specific to each service are on the pages linked below.

Summary of the set up process

  • Set-up and Test integration
  • Perform Initial Sync with Ticketing System
  • Install Webhooks in Ticketing System

Set-up integration​

  1. Log in to your Pia portal.

  2. In the left menu, click on integrations

  3. The integrations page opens.
    Search for Autotask using the search bar at the top.

    Or, click on the "View All" button available in the All Integration section.

    This will open up a screen that displays all the available integrations where you can navigate to Autotask.

  4. Click on the "Configure" button available in the widget for Autotask. This will take you to the configuration page for Autotask.

    In this page, you can add a friendly name for the configuration in the "Configuration Name" field.

  5. You will also see four sections with multiple fields that need to be configured for Autotask.

In the API Credentials tab fill in the following fields:

  • Username: Enter the 'Username (Key)' value that was generated when creating your Pia API account in AutoTask.
  • Secret: Enter the 'Password (Secret)' value that was generated when creating your Pia API account in AutoTask
  • WebService URL: Enter the URL for your AutoTask's WebService, followed by the API version number
  • Integration Token: Enter the Tracking Identifier value that was generated when creating your Pia API account in AutoTask
  • Authentication Token: The token will be automatically generated when the page loads.

In the Company Sync tab, and fill in the following fields:

  • Daily Sync Time: Enter the time that companies will be synced each day
    • The time is entered in 24-hour format (e.g. 04:30 for 4:30 am)
    • The time is entered using the UTC time zone (e.g. 00:45 for 10:45 +1000)
  • Company Type(s) (optional): This field is used to filter the AutoTask Account Types that are synced into Pia
    • Enter a comma "," seperated list of tags to filter by
    • Leave blank to sync all companies
  • User-Defined Field Name (optional): This field is the name of the User-Defined Field you have created in AutoTask
    • You can further filter down the list of clients synchronized into Pia on top of the account type based on a user defined field set on the account (see steps at the bottom of this page on how to create the User-Defined Field)
  • User-Defined Field Filter Value (optional): This is the value which you have entered into the User-Defined Field for clients that you would like to sync into Pia.

CompanySyncAT_UDF

In the Pia Screen tab, fill in the following fields:

  • Pia Board: Enter the name of the board that Pia reads tickets from.
    • For most partners that will be 'Pia'.
  • Pia Escalate To: This is where you select the default escalation contact for tickets
    • Until you have performed a sync, there will be no selectable contact in this field
    • Leave this field blank to have no default escalation
  • Pia Escalate Board: Enter the name of the board that escalated ticket will be moved to
    • For most partners that will be 'Pia'.

  1. Click Save to commit the settings from the 3 tabs. (If any mandatory fields have been left blank you will receive an error message, and the missed field will have a red box around them.)

Install Webhooks in Ticketing System​

Once you have set up your integration and synced the companies, you will need to install Pia webhooks in your ticketing system so the ticketing system can send notifications to Pia.

  1. In the Integration section, click on the Configure button.
note

Pia will automatically test the connection with the given credentials before configuration. If the connection fails, an error will be displayed.

  1. You should receive a message stating the webhook install was successful. If you receive a failure message, double-check the configuration details and try again.

  2. Once your connection is successful, you can move on to performing the initial sync with the ticketing system.

Perform Initial Sync with Ticketing System​

After you have finished setting up the integration for your ticketing system you will need to perform an initial sync to make sure Pia knows about the companies defined in your ticketing system.

  1. Return to the Autotask integration screen if you have exited from the screen

  2. In the Company Sync section, you will be able to see a "Sync Now" button
    Click on the button to start the sync.

When you click on the "Sync Now" button, it will be disabled and you will also see the Sync status change to "Syncing"

  1. Wait for the sync to complete and check the Clients list has been populated.
  2. You have finished setting up your AutoTask integration.

Create User-Defined Fields in AutoTask

  1. Hover your mouse over the hamburger icon (☰)

  2. Hover your mouse over 'Admin'

  3. Click 'Features & Settings'

    Autotask_UDF1

  4. Expand 'Application-Wide (Shared Features)'

  5. Select 'User-Defined Fields'

    Autotask_UDF2

  6. Select 'Accounts' tab.

    Note: The name of the 'Accounts' tab can vary depending on your localisation setting in AutoTask, it may also be called one of the following:
     - Account
     - Client
     - Company
     - Business Unit
     - Site
     - Customer
     - Organization

  7. Click '+ New' button

    Autotask_UDF3

  8. Create a name for the User-Defined Fields

  9. Click 'Save & Close'

    Autotask_UDF4

  10. Hover mouse over the hamburger icon (☰)

  11. Click 'Admin'

    Autotask_UDF5

  12. Expand 'Accounts & Contacts'

Note: as mentioned in Step 6, the name of this section may vary depending on your localization setting in AutoTask.

Autotask_UDF6

  1. Select 'Account Categories'

    Autotask_UDF7

  2. Hover mouse over the settings icon button of the preferred Account Category

  3. Click 'Edit'

    Autotask_UDF8

  4. Click the 'Details' tab

    Autotask_UDF9

  5. Scroll to the bottom of the page

  6. Scroll to the bottom of the embedded window

  7. The UDF you've just created will show in the Hidden Fields section. Drag & Drop the UDF out of Hidden Fields to the User-Defined Fields section.

    Autotask_UDF10 Autotask_UDF10opt

  8. Click 'Save & Close'

    Autotask_UDF11

Setting a User-Defined Field on a Client

  1. Hover your mouse over the hamburger icon (☰)
  2. Hover your mouse over 'CRM'
  3. Click 'Accounts'

Steps1-3

  1. Click the 'Search' button in the top right hand corner of the page.

Step4

  1. From the Account Search List, select the client that you want to add the UDF to.

Step5

  1. Click the 'Edit' button

Step6

  1. In the Edit Account Window, scroll to the bottom of the page until you see the User-Defined Fields section.

Step7

  1. Enter a Value into the UDF you created.
  2. Click 'Save & Close' will close the Edit Account window, and take you back to the Account Search Window, close this window as well.

Step8and9 Step9.2

  1. Repeat Steps 4-9 for all clients that you want to sync into the pia portal.

  2. Open the pia portal, enter the UDF values into the fields as shown in Step 7 of 'Set-up integration'.

Also See

Once you have configured the AutoTask integration you might want to look at: