Skip to main content

Upload Resource

Uploads a file as a resource to the project, making it available for use throughout the workflow.

Category: File & Folder Operations · Group: Files · Activity name: UploadResource

The UploadResource activity in the designer

Example

outputVariable = UploadResource("<filePath>", "<resourceName>", resourceType="<resourceType>", description="<description>", tags="<tags>", folder="<folder>")

Inputs

NameTypeRequiredDefaultDescription
File PathstringYesThe full system path of the file to upload as a resource.
Resource NamestringYesA friendly name for the resource (e.g., 'Customer Data CSV').
Resource TypestringType of the resource (e.g., 'document', 'image', 'data', 'config', 'other').
DescriptionstringOptional description of the resource.
TagsstringComma-separated tags for categorizing the resource (e.g., 'data,csv,customers').
FolderstringFolder to organize the resource into (e.g., 'invoices', 'reports').

Outputs

NameTypeDescription
outputVariablestringVariable to store the unique resource ID for later reference.