Skip to main content

API: Update an Object

The API: Update an Object action modifies an existing entity in Autotask. This is a low-level API action that makes a single API call, giving you direct control over which fields to update.

Single API Call Action

This is a single API call action. You must supply the entity ID and all fields to update directly. Learn more about the difference between workflow actions and single API call actions.

When to Use This Action

Use this action when:

  • You need to update specific fields on any Autotask entity
  • You want to modify an entity that was retrieved by a previous query action
  • You're building a custom workflow that requires specific update logic

Consider using workflow actions instead for common scenarios:

Configuration

Connection

FieldDescription
Autotask ConnectionSelect the Autotask connection to use. If you have multiple connections, you can override the default.

Entity

FieldDescription
Autotask Entity Type to UpdateThe type of entity to update (e.g., Ticket, Contact, Account).
ID of Entity to UpdateThe ID of the existing entity. Supports template variables like {{custom.ticket.id}}.
Entity Fields to UpdateSelect the fields you want to modify. Only specified fields are changed; other fields remain unchanged.

Advanced

FieldDescription
Suppress Autotask API exceptionsIf enabled, the workflow continues even if the Autotask API returns an error. Use sparingly.

How to Update an Entity

  1. Select Autotask Direct API: API: Update object from the action dropdown
  2. Choose the Autotask Entity Type to Update
  3. Enter the Entity ID (typically from a previous query or create action)
  4. Select the fields you want to update and set their new values
  5. Optionally store the result in a variable

Returned Variables

When you configure Store the results in Variable, the updated entity becomes available:

VariableTypeDescription
(root)objectThe updated entity with all fields, including the new values

Example usage:

  • {{custom.updatedTicket.Status}}: The new status value
  • {{custom.updatedTicket.LastActivityDate}}: Updated automatically by Autotask

Example Use Cases

Update Ticket Status

Change a ticket's status after processing:

SettingValue
Entity TypeTicket
Entity ID{{custom.ticket.id}}
Status5 (Complete)

Update Contact Information

Add information extracted from an email:

SettingValue
Entity TypeContact
Entity ID{{custom.contact.id}}
Phone{{custom.extractedPhone}}
MobilePhone{{custom.extractedMobile}}

Change Ticket Priority

Escalate a ticket based on keywords:

SettingValue
Entity TypeTicket
Entity ID{{custom.ticket.id}}
Priority1 (Critical)
QueueID{{custom.escalationQueue.id}}

FAQs

Do I need to include all fields when updating?

No. Only specify the fields you want to change. All other fields retain their current values.

What if the Entity ID doesn't exist?

Autotask returns an error. Enable "Suppress Autotask API exceptions" to continue the workflow, or add a query action first to verify the entity exists.

Can I update User-Defined Fields?

Yes. Click Additional Fields in the entity editor to see available UDFs for the selected entity type.

Some fields won't update. Why?

Some fields in Autotask are read-only and cannot be modified via the API. Check the Autotask API documentation for field-level permissions.