Upload File to PSA Ticket Crate
What does the Upload File to PSA Ticket Crate do?
Our Upload File to PSA Ticket Crate automatically identifies the relevant files based on specific criteria and uploads raw file contents to the corresponding PSA ticket. It is compatible with a wide range of file formats. The workflow provides a unified interface for uploading files to tickets across three different PSA platforms, automatically routing to the correct integration based on the organization's default PSA configuration.
How the Crate works
The Crate identifies raw file contents based on set parameters or user directives.
The identified files are attached to the designated PSA ticket.
Details of the file upload such as filename and timestamp are noted in the ticket for a comprehensive audit trail.
Workflow breakdown
The workflow begins when triggered with four required inputs: file, title, ticket_id, and attachment_name.
The BEGIN task executes the noop action, which serves as a flow control point to determine which PSA system to use based on the organization's configuration.
The workflow evaluates the organization variable default_psa to determine which PSA integration path to follow, using three conditional transitions.
If the default_psa variable equals "datto_psa", the workflow transitions to the datto_psa_datto_psa_api_request task which executes the Datto PSA API Request action to upload the file as a Base64-encoded attachment to the specified Datto PSA ticket.
If the default_psa variable equals "cw_manage", the workflow transitions to the workflows_cwm_upload_document_to_ticket task which executes the CWM_UPLOAD_DOCUMENT_TO_TICKET action to upload the document to the specified ConnectWise Manage ticket.
If the default_psa variable equals "halo_psa", the workflow transitions to the halo_psa_add_or_update_attachments task which executes the Add or Update Attachments action to upload the file as a Base64-encoded attachment to the specified Halo PSA ticket.
Each PSA-specific task uses the provided inputs to construct the appropriate API request, including the ticket ID, file data converted to Base64 format, attachment name, and title where applicable.
Upon successful completion of the selected PSA upload task, the workflow terminates with the file successfully attached to the specified ticket in the organization's configured PSA system.
Crate prerequisites
This Crate requires one or more of the following PSAs to be successfully integrated with Rewst before unpacking:
Unpack the Upload File to PSA Ticket Crate
Navigate to Crates > Crate Marketplace in the left side menu Rewst platform.
Search for
Upload File to PSA Ticket.
Click on the Crate tile to begin unpacking.
Click Unpack Crate.
Click Continue.
Click Unpack.
Test the Crate
Navigate to Automations > Workflows in the left side menu of your Rewst platform.
Search for
[ROC] PSA: Upload File To Ticket.
Click on the workflow to view it in the Workflow Builder.
Click Test in the top right corner of the Workflow Builder Canvas.
Fill in the following fields:
file - This is the raw data
title - Enter the title for the raw data
ticket_id - Enter the unique identifier assigned to support ticket
attachment_name - Add the file extension into the name
Click Test.
Check in your PSA to see if the file is uploaded to the ticket as expected.
If the file isn't uploaded, check the workflow's results for the error and contact Rewst Support.
Last updated
Was this helpful?

