Autotask Integration
This integration syncs Autotask PSA data into Resplendent Data through the Autotask REST API.
It is a read-only, poll-based integration: Resplendent queries Autotask on a schedule and does not register or rely on webhooks.
What you can sync:
- Customer context: Companies, Contacts, Resources, Roles, Departments, ConfigurationItems
- Service desk: Tickets, TicketHistory, TicketNotes, TicketCharges, TicketSecondaryResources, ServiceLevelAgreementResults, Appointments, ServiceCalls, ServiceCallTasks, ServiceCallTaskResources, ServiceCallTickets, ServiceCallTicketResources, Time Entries
- Projects: Projects, Phases and Tasks
- Contracts and billing: BillingItems, BillingCodes, Contracts, ContractBlocks, ContractCharges, ContractMilestones, ContractRates, ContractServiceBundles, ContractServices, ContractServiceUnits, Services, Products, Invoices
- Sales: Opportunities, Quotes and QuoteItems
- Purchasing and expenses: PurchaseOrders, PurchaseOrderItems, ExpenseReports and ExpenseItems
Supported datasets in the current integration:
- Appointments
- BillingCodes
- BillingItems
- Companies
- ConfigurationItems
- Contacts
- ContractBlocks
- ContractCharges
- ContractMilestones
- ContractRates
- ContractServiceBundles
- ContractServices
- ContractServiceUnits
- Contracts
- Departments
- ExpenseItems
- ExpenseReports
- Invoices
- Opportunities
- Phases
- Products
- Projects
- PurchaseOrderItems
- PurchaseOrders
- QuoteItems
- Quotes
- Resources
- Roles
- ServiceCalls
- ServiceCallTaskResources
- ServiceCallTasks
- ServiceCallTicketResources
- ServiceCallTickets
- ServiceLevelAgreementResults
- Services
- Tasks
- TicketCharges
- TicketHistory
- TicketNotes
- Tickets
- TicketSecondaryResources
- Time Entries
How datasets relate
Section titled “How datasets relate”Most Autotask reporting starts from a small set of numeric ID join paths. Use the fields below as your default links in the app.
| Start dataset | Join column | Related dataset | Related column | Typical use |
|---|---|---|---|---|
| Companies | id |
Contacts | companyID |
Contacts by customer |
| Companies | id |
Contracts | companyID |
Contracts by customer |
| Companies | id |
Projects | companyID |
Projects by customer |
| Companies | id |
Tickets | companyID |
Ticket volume by customer |
| Companies | id |
ServiceCalls | companyID |
Service calls by customer |
| Companies | id |
ConfigurationItems | companyID |
Configuration items by customer |
| Companies | id |
Invoices | companyID |
Invoices by customer |
| Companies | id |
Opportunities | companyID |
Sales pipeline by customer |
| Companies | id |
Opportunities | companyID |
Sales pipeline by customer |
| Companies | id |
BillingItems | companyID |
Billed amounts by customer |
| Companies | id |
Quotes | companyID |
Quotes by customer |
| Contacts | id |
Opportunities | contactID |
Opportunities tied to a contact |
| Contacts | id |
Opportunities | contactID |
Opportunities tied to a contact |
| Contracts | id |
ContractMilestones | contractID |
Milestones billed against a contract |
| Contracts | id |
ContractRates | contractID |
Hourly rates tied to a contract |
| Contracts | id |
ContractServiceBundles | contractID |
Service bundles attached to a contract |
| Contracts | id |
ContractServices | contractID |
Services attached to a contract |
| Contracts | id |
ContractServiceUnits | contractID |
Unit counts and pricing periods on a contract |
| Contracts | id |
Projects | contractID |
Projects tied to a contract |
| Contracts | id |
Tickets | contractID |
Tickets tied to a contract |
| Contracts | id |
BillingItems | contractID |
Billed revenue per contract |
| Contracts | id |
ContractBlocks | contractID |
Prepaid hour blocks on a contract |
| Contracts | id |
ContractCharges | contractID |
Charges recorded against a contract |
| ContractServices | id |
ContractServiceUnits | contractServiceID |
Quantity / units history for each contract service |
| Services | id |
ContractServices | serviceID |
Service metadata such as name or period type |
| Services | id |
ContractServiceUnits | serviceID |
Unit rows grouped by service |
| Projects | id |
Tasks | projectID |
Project workload and task completion |
| Projects | id |
Tickets | projectID |
Tickets associated with a project |
| Projects | id |
Phases | projectID |
Phases in a project |
| Tasks | id |
Time Entries | taskID |
Time logged against tasks |
| Tickets | id |
Time Entries | ticketID |
Time logged against tickets |
| Tickets | id |
TicketNotes | ticketID |
Notes recorded on a ticket |
| Tickets | id |
TicketHistory | ticketID |
Changes recorded on a ticket (its audit log) |
| Tickets | id |
TicketCharges | ticketID |
Charges recorded against a ticket |
| Tickets | id |
TicketSecondaryResources | ticketID |
Secondary technicians on a ticket |
| Tickets | id |
ServiceLevelAgreementResults | ticketID |
SLA results for a ticket |
| ServiceCalls | id |
ServiceCallTasks | serviceCallID |
Tasks linked to a service call |
| ServiceCalls | id |
ServiceCallTickets | serviceCallID |
Tickets linked to a service call |
| ServiceCallTasks | id |
ServiceCallTaskResources | serviceCallTaskID |
Resources assigned to service-call tasks |
| ServiceCallTickets | id |
ServiceCallTicketResources | serviceCallTicketID |
Resources assigned to service-call tickets |
| Resources | id |
Opportunities | ownerResourceID |
Opportunities owned by a resource |
| Resources | id |
Opportunities | ownerResourceID |
Opportunities owned by a resource |
| Resources | id |
Tickets | assignedResourceID |
Assigned technician on tickets |
| Resources | id |
ServiceCallTaskResources | resourceID |
Assignments on service-call tasks |
| Resources | id |
ServiceCallTicketResources | resourceID |
Assignments on service-call tickets |
| Resources | id |
Time Entries | resourceID |
Time by technician |
| Resources | id |
Appointments | resourceID |
Calendar appointments by technician |
| Resources | id |
ExpenseReports | submitterID |
Expense reports by submitter |
| Invoices | id |
BillingItems | invoiceID |
Line items on an invoice |
| BillingCodes | id |
BillingItems | billingCodeID |
Billing lines by work type |
| BillingCodes | id |
Time Entries | billingCodeID |
Time by work type |
| Roles | id |
Time Entries | roleID |
Time by role and rate |
| Roles | id |
BillingItems | roleID |
Labor billing by role |
| Departments | id |
BillingCodes | department |
Work types by department |
| Phases | id |
Tasks | phaseID |
Tasks grouped by phase |
| Opportunities | id |
Quotes | opportunityID |
Quotes for an opportunity |
| Quotes | id |
QuoteItems | quoteID |
Line items on a quote |
| ExpenseReports | id |
ExpenseItems | expenseReportID |
Line items on an expense report |
| PurchaseOrders | id |
PurchaseOrderItems | orderID |
Line items on a purchase order |
Common join patterns
Section titled “Common join patterns”- Contract service quantity: Join
ContractServices.id = ContractServiceUnits.contractServiceID. This is the clearest way to bring unit counts into reporting. - Contract service details:
ContractServicesalready hydratesserviceNameandservicePeriodType.ContractServiceUnitsalso hydratesunitPrice,serviceName, andservicePeriodType, so you often do not need an extra join toServicesjust to label unit rows. - Opportunities pipeline: Join
Opportunities.companyID = Companies.idto see pipeline by customer, orOpportunities.ownerResourceID = Resources.idto see pipeline by owner.OpportunitieshydratescompanyNameandownerResourceUserName, so simple reports may not need the extra join. - Service call assigned resources:
ServiceCallTaskResourcesis the cleanest assignment table. The integration hydratesserviceCallID,taskID, andresourceUserNameonto it, so you can usually join it directly toServiceCalls.idonserviceCallID. - Service call ticket assignments:
ServiceCallTicketResourceshydratesserviceCallID,ticketID, andresourceUserName, so it can usually join directly toServiceCalls.idorTickets.id. If you need the explicit bridge path, useServiceCalls.id = ServiceCallTickets.serviceCallIDandServiceCallTickets.id = ServiceCallTicketResources.serviceCallTicketID. - Time against contract work: Join
Time Entries.contractServiceID = ContractServices.id,Time Entries.contractServiceBundleID = ContractServiceBundles.id, orTime Entries.contractID = Contracts.iddepending on whether you want service-, bundle-, or contract-level reporting. - Project execution: Join
Projects.id = Tasks.projectID, thenTasks.id = Time Entries.taskIDto compare planned work to logged work. - Customer billing: Join
Invoices.companyID = Companies.idfor invoice totals by customer, orContracts.companyID = Companies.idfor agreement reporting. - Monthly billing by contract or service:
BillingItemsholds every approved and posted billing line: labor, charges, recurring services and blocks. SuminternalCurrencyTotalAmountbycontractName,billingItemType, orserviceIDper month ofitemDate, and joinBillingItems.invoiceID = Invoices.idfor invoice detail. With multi-currency turned on,totalAmountis in each customer’s currency, so sum it only within one currency. - Configuration items under agreements: Join
ConfigurationItems.companyID = Companies.idfor customer inventory andConfigurationItems.contractID = Contracts.idfor agreement-linked assets.
Hydrated helper columns
Section titled “Hydrated helper columns”ContractsaddscompanyNameandbillToCompanyName.OpportunitiesaddscompanyNameandownerResourceUserName.TicketsaddscompanyNameplus several*UserNamehelper columns such asassignedResourceUserName.Time EntriesaddsresourceUserName,creatorUserName,lastModifiedUserName, and other resource-name helpers.ContractServicesaddsserviceNameandservicePeriodType.ContractServiceUnitsaddsunitPrice,serviceName, andservicePeriodType.ServiceCallTasksaddsassignedResourceID,taskNumber,title, andassignedResourceUserName.ServiceCallTaskResourcesaddsserviceCallID,taskID, andresourceUserName.ServiceCallTicketsaddsassignedResourceID,ticketNumber,title, andassignedResourceUserName.ServiceCallTicketResourcesaddsserviceCallID,ticketID, andresourceUserName.InvoicesaddscompanyName,creatorResourceUserName, andvoidedByResourceUserName.BillingItemsaddscompanyName,contractName,billingCodeName, androleName.ContractBlocksaddscontractName.ContractChargesaddscontractNameandbillingCodeName.TicketHistoryaddsticketNumberandresourceUserName.TicketNotesaddsticketNumberandcreatorResourceUserName.TicketChargesaddsticketNumberandbillingCodeName.TicketSecondaryResourcesaddsticketNumber,resourceUserName, androleName.ServiceLevelAgreementResultsaddsticketNumber.QuotesaddscompanyName.QuoteItemsaddsquoteName.PhasesaddsprojectName.AppointmentsaddsresourceUserName.ExpenseReportsaddssubmitterUserName.ExpenseItemsaddsexpenseReportNameandcompanyName.PurchaseOrdersaddsvendorCompanyName.PurchaseOrderItemsaddspurchaseOrderNumberandproductName.
Picklists and join keys
Section titled “Picklists and join keys”- The integration resolves Autotask picklist values to labels during sync by calling Autotask’s
/entityInformation/fieldsendpoint. - Because of that, many reporting dimensions are already readable labels rather than foreign keys. Examples include
status,priority,queueID,ticketType, andserviceLevelAgreementID. - Some of those fields still end in
ID, but the synced value is already the label. Do not use those as join keys. - Use raw relationship fields such as
companyID,contractID,projectID,taskID,ticketID,serviceCallID,resourceID, andcontractServiceIDfor joins. ContractServiceUnitsis time-sliced. A singlecontractServiceIDcan have multiple rows across billing periods, so includestartDate/endDatewhen charting unit changes over time.
Sync behavior
Section titled “Sync behavior”- Most Datasets sync incrementally from Autotask’s last-modified or last-activity dates. One sync reads at most 3,000 changed rows so it finishes inside its time limit. After a bulk edit changes more than that, the next syncs read the rest by ID, 3,000 rows each, before they pick up newer changes, so no change is skipped.
- BillingCodes, BillingItems, ContractBlocks, ContractCharges, ContractMilestones, ContractRates, ContractServiceBundles, ContractServices, ContractServiceUnits, Departments, ExpenseItems, ExpenseReports, Invoices, Products, PurchaseOrderItems, PurchaseOrders, QuoteItems, Resources, Roles, ServiceCallTasks, ServiceCallTaskResources, ServiceCallTicketResources, ServiceLevelAgreementResults, TicketCharges, and TicketSecondaryResources have no last-modified date in Autotask, so an incremental sync would miss edits such as a voided invoice or a milestone status change. They use rolling full scans instead: each scheduled sync reads the next pages of rows by ID, sized to aim for one complete pass per Full Scan Duration (default 60 minutes at a 5-minute sync frequency). That duration is a target, not a guarantee. There is no row cap, but one sync reads at most 3,000 rows so it finishes inside its time limit, so a pass takes longer when the table is larger (over 36,000 rows at the defaults) or when syncs are delayed or fail. Set Sync Frequency to 1 minute to read up to 180,000 rows per hour. When a pass finishes, rows that were deleted in Autotask are removed from the Dataset.
- A new Dataset loads its first 500 rows right away. The rest arrive over the first full scan.
- TicketHistory is Autotask’s ticket audit log: one row per field a change touched, with
action(such asStatus Changed) anddetail(such as “Priority changed from Critical to Medium”). One save that changes several fields writes several rows with the sameid, so each row is keyed byhistoryKey, which isticketID:id:action. Autotask only returns one ticket’s history per request, so this Dataset reads a batch of tickets and then each ticket’s full history, following Autotask’s 500-row pages until a long history is complete. Its batch size counts tickets, not rows: 25 at most, so one sync finishes inside its time limit. Each sync also re-reads the full history of up to that many tickets whose last activity date changed since history started loading, and keeps doing so every 5 minutes by default once it has loaded. A change usually shows up one to two syncs later. When more tickets changed than one batch holds, the sync keeps going about once a minute, one batch of changed tickets at a time, so 51 changed tickets at a batch of 25 take at least three syncs. While history loads, a sync runs about once a minute and makes one request per ticket, plus one for every further 500 history rows a ticket has, so about 1,500 requests an hour at the default plus one per changed ticket. Autotask allows 10,000 requests an hour for the whole database and slows every integration down past half of that, so lower the batch size if other integrations use a lot of it. History of a deleted ticket stays until a resync. - Tickets and Time Entries also remove rows that were deleted in Autotask. Tickets use Autotask’s deleted-ticket log. Time Entries use its deleted ticket-activity and task-activity logs, which name the ticket or task but not the time entry, so the sync compares that ticket’s or task’s stored time entries with Autotask and removes the ones that are gone. Keep ticketID and taskID selected on Time Entries for this to work. Autotask doesn’t log time entries that belong to neither a ticket nor a task, and in our testing it didn’t log project-task time entries deleted through its API, so those can stay in the Dataset until a resync. Turn on Nightly Full Re-sync in Dataset Options if they need to disappear sooner.
- Autotask shows these deletion logs only to API users whose security level has Admin-level access to Service Desk or Projects & Tasks. Without it, updates keep syncing and deletions wait. Once the access is granted, later syncs remove everything deleted since the first refused lookup, catching up one day of deletions per sync.
Update existing rolling-scan Datasets
Section titled “Update existing rolling-scan Datasets”ContractRates, ContractServiceBundles, ContractServices, ContractServiceUnits, Resources, ServiceCallTasks, ServiceCallTaskResources, and ServiceCallTicketResources Datasets that were created before rolling scans were enabled still sync as 1,000-row snapshots, because no migration changes their saved settings. To switch one, open it, go to Dataset Options, set Sync Frequency to 5 minutes and Full Scan Duration to 60 minutes, and save. The next scheduled sync starts the first full scan. You do not need to resync.
Existing Invoices, ContractMilestones, and Products Datasets switch to rolling full scans on their own, at their saved Sync Frequency (60 minutes unless you changed it). At that pace a pass reads at most 3,000 rows an hour, so a large Dataset takes several hours per pass, and new rows arrive near the end of each pass. To match new Datasets, set Sync Frequency to 5 minutes and Full Scan Duration to 60 minutes in Dataset Options. The first pass also loads rows older than the Dataset’s history setting, because a rolling scan has no row cap.
Part 1: Create a custom security level
Section titled “Part 1: Create a custom security level”Create a read-only security level for the API user. The integration only queries Autotask; it does not write back.
1. Navigate to Security Levels
Section titled “1. Navigate to Security Levels”- In Autotask, hover over the Admin icon
- Click Account Settings & Users
- Expand Resources/Users (HR)
- Click Security Levels
2. Copy an existing level
Section titled “2. Copy an existing level”- Find API User (system) (API-only)
- Right-click and select Copy
3. Configure general settings
Section titled “3. Configure general settings”- Name:
Resplendent Data API User - Active: Checked
4. Grant query permissions
Section titled “4. Grant query permissions”For this integration, the important requirement is API query access to the entities you want to sync.
- In Web Services API, enable View (Query) for each dataset you plan to sync.
- If you want the full integration, enable query access for all of the datasets listed earlier on this page.
- Make sure the security level can also see the same records in the corresponding Autotask modules. If a dataset preview fails in Resplendent with a permissions warning, that entity type is still missing access.
- If you want
ConfigurationItems, make sure the API user can query and view configuration items in Autotask. - To remove deleted Tickets and Time Entries from your Datasets, also give the security level Admin-level access to Service Desk or Projects & Tasks. Autotask hides its deletion logs from other users. Everything else syncs without it.
- Webhooks are not required for this integration.
5. Save
Section titled “5. Save”Click Save & Close.
Part 2: Create the API user
Section titled “Part 2: Create the API user”Now create the user account that uses the security level you just made.
1. Navigate to Resources
Section titled “1. Navigate to Resources”- Go to Admin > Resources/Users (HR) > Resources/Users
- Hover over the arrow next to New and select New API User
2. Fill in details
Section titled “2. Fill in details”- First Name: Resplendent
- Last Name: Data
- Security Level: Select
Resplendent Data API User
3. Generate credentials
Section titled “3. Generate credentials”- Username (Key): Click Generate Key. Save this immediately.
- Password (Secret): Click Generate Secret. Save this immediately.
4. Select integration vendor
Section titled “4. Select integration vendor”- If the API Tracking Identifier section is present, select Resplendent Data as the Integration Vendor.
5. Save
Section titled “5. Save”Click Save & Close.
Part 3: Connect to Resplendent Data
Section titled “Part 3: Connect to Resplendent Data”1. Add the connection
Section titled “1. Add the connection”- Log in to Resplendent Data
- Click Settings → Integrations in the sidebar
- Find Autotask and click + Connect
- Fill in:
- API Username: The Key from Part 2
- API Password: The Secret from Part 2
- Connection Title: Something like “Autotask Production”
You don’t need your zone number. When you save, Resplendent asks Autotask which zone hosts your database.
2. Finalize
Section titled “2. Finalize”- Click Save & Test
- Once verified, click Sync Dataset to start pulling data
Sync behavior
Section titled “Sync behavior”- The integration is poll-based. It does not use Autotask webhooks or callback pushes.
- Autotask limits responses to 500 rows per request, so large initial syncs and backfills are automatically paged.
- Incremental refresh is currently supported for
Appointments,Companies,Contacts,Contracts,Opportunities,Phases,Projects,Quotes,ServiceCalls,Services,Tasks,TicketHistory,TicketNotes,Tickets,Time Entries, andConfigurationItems.TicketHistoryre-reads the full history of each changed ticket, described under How datasets relate. BillingCodes,BillingItems,ContractBlocks,ContractCharges,ContractMilestones,ContractRates,ContractServiceBundles,ContractServices,ContractServiceUnits,Departments,ExpenseItems,ExpenseReports,Invoices,Products,PurchaseOrderItems,PurchaseOrders,QuoteItems,Resources,Roles,ServiceCallTasks,ServiceCallTaskResources,ServiceCallTicketResources,ServiceLevelAgreementResults,TicketCharges, andTicketSecondaryResourcesuse rolling full scans, described under How datasets relate.ServiceCallTicketssyncs incrementally byid. Autotask gives it no last-modified date, so each sync adds new rows and doesn’t re-read existing ones.- Deleted rows usually leave
TicketsandTime Entrieson the next refresh. If Autotask refuses the deletion logs, they leave once access is granted, as later syncs catch up one day of deletions per sync, and the time entries Autotask doesn’t log stay until a resync (see Sync behavior under How datasets relate). Rolling-scan Datasets drop deleted rows when a pass finishes. Other Datasets keep deleted rows until a resync.
User-defined fields
Section titled “User-defined fields”Autotask user-defined fields (UDFs) are expanded into individual columns during sync. Each UDF becomes its own column with (UDF) appended to the name. Spaces in the original UDF name are replaced with underscores, so a UDF named Opportunity Type appears as Opportunity_Type(UDF).
UDFs are available on these datasets:
- Companies
- Contracts
- Opportunities
- Resources
- Tickets
- Time Entries
How UDF columns behave
Section titled “How UDF columns behave”- If you select specific UDF columns in a dataset configuration, the integration fetches all standard fields plus the UDFs. This happens because the Autotask API only returns
userDefinedFieldswhen no column filter is applied. - UDF string values are not truncated to 256 characters.
- If a UDF contains a list value, it is stored as a serialized JSON string in the column.
- Rows without a particular UDF show
NULLfor that column.
Troubleshooting
Section titled “Troubleshooting”Saving fails with “could not find a zone”
Section titled “Saving fails with “could not find a zone””Autotask hosts each database in a zone, such as webservices2.autotask.net. When you save the connection, Resplendent looks up the zone from the API username. This error means Autotask didn’t recognize the username.
- Paste the API user’s Username (Key) from Part 2, not your own login or the Secret.
- Check that the API user is active in Autotask.
Connections saved before zone lookup keep the zone they were saved with. Saving one again looks the zone up again, which also catches a database that Autotask has moved. If Autotask can’t be reached while you save an existing connection, it keeps its current zone.
The API user’s security level
Section titled “The API user’s security level”The security level decides which Autotask entities the API user can query, and Resplendent can only sync what it can query. Start from a copy of API User (system) (API-only) as in Part 1, then enable View (Query) under Web Services API for each Dataset you want.
Resplendent only sends queries, so it never needs create, edit, or delete permissions. The one exception to a fully read-only level is removing deleted tickets and time entries, below.
A Dataset preview says the user doesn’t have permission
Section titled “A Dataset preview says the user doesn’t have permission”The warning “The connected Autotask user does not have permission to preview the … dataset” means the security level can’t query that entity. Enable View (Query) for it under Web Services API, and check that the matching Autotask module lets the level see those records. Then preview again. You don’t need to reconnect.
Deleted tickets or time entries stay in the Dataset
Section titled “Deleted tickets or time entries stay in the Dataset”Resplendent finds deleted tickets through Autotask’s DeletedTicketLogs entity, and deleted time entries through DeletedTicketActivityLogs and DeletedTaskActivityLogs. Autotask only lets users with Admin-level access to Service Desk or Projects & Tasks read them. Other users get an HTTP 500 or 403 error.
Without that access, updates keep syncing, but deleted rows stay in the Tickets and Time Entries Datasets. Grant the API user’s security level Admin-level access to Service Desk or Projects & Tasks, and later syncs remove every row deleted since the first refused lookup, one day of deletions per sync. If you’d rather keep the level read-only, resync those Datasets now and then to clear deleted rows.