Skip to main content

Update Existing Autotask Task

The Update Existing Autotask Task action locates an existing Autotask task (project task) from an incoming email and adds a note to it. It can also optionally change the task's status.

Workflow Action

This is a workflow action. It scans the email for a task number and uses MSPintegrations business logic to locate the matching task before adding a note. If you already know the task ID, use API: Create an Object with the TaskNote entity for direct control. Learn more about the difference between workflow actions and single API call actions.

When to Use This Action

Use this action when:

  • You want to add notes to existing tasks based on incoming human-generated emails
  • You need to detect task numbers from email subject lines or body content
  • You want to update project task status based on email communication

Don't use this action for:

How It Works

This action operates in two phases: first it finds the task, then it updates it.

Phase 1: Find the Task

  1. Search for a task number: Scan configured fields (subject, body, etc.) for an Autotask task number pattern (e.g., T20240115.0042)
  2. Query Autotask: Verify the task exists in Autotask
  3. Look up sender: Search for a contact or resource matching the email sender's address to attribute the note

If no task is found, the action sets result flags but continues to the next action.

Phase 2: Update the Task

Once a task is found:

  1. Add a note: Create a new task note with the configured content
  2. Update status (optional): Change the task status if configured
  3. Attach files (optional): Add email attachments and/or .eml file to the task

Configuration

Task Matching

FieldDescriptionDefault
Fields to Search for Task NumberSelect which fields to search for the Autotask task number. You can add multiple fields including body, custom variables, or parsed values.Email subject

Task Note

Configure the fields for the new task note.

FieldDescriptionDefault
TitleNote title/subject{{email.subject}} (or "New email from [address]" if empty)
DescriptionNote contentEmail headers and body
Note TypeType of noteConfigured per your Autotask settings
PublishVisibility settingPublished

Change Task Status

FieldDescription
Task Status After UpdateOptionally change the task status after adding the note. Leave empty to keep the current status.

Attachments

FieldDescription
Attach email attachments to taskCreates an Autotask attachment for each file attached to the email.
Attach original email as .eml fileAttaches the complete original email as an .eml file.
Attach HTML email as imageConverts the HTML email content to an image attachment.

Advanced

FieldDescription
Suppress Autotask API exceptionsIf enabled, the workflow continues even if the Autotask API returns an error. Use sparingly.
Override Autotask ConnectionUse a specific Autotask connection instead of the default.

Additional Options

FieldDescriptionDefault
Action after adding new noteWhat happens after successfully adding the note to the task.Continue

Returned Variables

When you configure Store the results in Variable, these variables become available for use in subsequent actions:

Status Flags

VariableTypeDescription
IdentifiedAutotaskTaskNumberbooltrue if text matching an Autotask task number pattern was found
LocatedExistingAutotaskTaskbooltrue if the task was found in Autotask
CreatedNewAutotaskTaskNotebooltrue if the note was created successfully
CreatedNewAutotaskTaskNoteCausedErrorbooltrue if note creation failed
UpdatedStatusOfTaskCausedErrorbooltrue if status update failed

Retrieved Objects

VariableTypeDescription
TaskobjectThe matched Autotask task (null if not found)
TaskNoteobjectThe created task note

Example usage: {{custom.myVariable.Task.id}}

FAQs

What task number formats are recognized?

The action recognizes standard Autotask task number formats like T20240115.0042. The pattern matching finds task numbers in various contexts, including when surrounded by brackets or other text.

What happens if no task number is found in the email?

The action sets IdentifiedAutotaskTaskNumber to false and LocatedExistingAutotaskTask to false, then continues to the next action. Unlike the ticket update action, this action does not use Reply-All Storm Catcher™ for task matching.

How is the note attributed?

The action searches for a contact or resource matching the email sender's address. If found, the note is attributed to that person. If not found, the note is created without contact attribution.

Can I update tasks without adding a note?

No, this action always creates a note. If you only need to update task fields without adding a note, use API: Update an Object with the Task entity.