[REWST- TASK] Datto PSA: Update Ticket

This building block automates the process of updating Datto PSA tickets with standardized notes, time entries, and status changes, providing a consistent method for ticket documentation that can be triggered from other automation workflows. MSPs will find this particularly valuable for ensuring technician time is properly captured for billing, maintaining consistent documentation standards across the team, and enabling other systems like RMM tools to automatically update tickets when alerts are resolved or actions are completed. The workflow functions by first validating the ticket exists and checking input parameters (like time entries), then conditionally adding notes, logging billable time, and updating ticket status and quality control fields—all while maintaining proper error handling to ensure reliable ticket updates.

This workflow contains 20 tasks.

Inputs

  • status - string

  • queue_id - string

  • ticket_id - string

  • work_minutes - string

  • external_note - string

  • internal_note - string

  • complete_workflow - string

  • datto_ticket_number - string

Outputs

  • automation_log: Standardized Rewst automation log

Key tasks

  • check_time_amount: Validation/verification

  • internal_note: Datto Autotask PSA integration: Create Ticket Note v2

  • check_if_should_be_internal: Validation/verification

  • add_time_entry: Datto Autotask PSA integration: Create Time Entry v2

  • list_tickets: Datto Autotask PSA integration: List Tickets by Filter v2

Jinja examples

Example 1

{{- CTX.status -}}

This is used in status_set action in the status input.

Example 2

{{- CTX.external_note[:5000] or "" -}}

This is used in input for Description field of external_note action.

Last updated

Was this helpful?