Skip to main content

Get Resource Info

Retrieves detailed information about a specific resource.

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

The GetResourceInfo activity in the designer

Example

outputVariable = GetResourceInfo(resourceId="<resourceId>", resourceName="<resourceName>")

Inputs

NameTypeRequiredDefaultDescription
ResourceresourceThe resource to get information about. Either this or Resource Name must be provided.
Resource NamestringAlternative to Resource dropdown. Exact name match within the project. Workflows using this will break if the resource is renamed.

Outputs

NameTypeDescription
outputVariablejsonResource object containing: - resource_id: Unique resource identifier - name: Resource display name - description: Optional description - type: Resource type (document, image, data, config, other) - mime_type: MIME type (e.g., "text/csv", "application/pdf") - size: File size in bytes - folder: Folder name (if organized) - tags: Array of tag strings - created_at: Creation timestamp - updated_at: Last update timestamp - metadata: Object with original_filename and checksum Access fields using: {{resourceInfo["name"]}} to get the resource name. {{resourceInfo["size"]}} to get the file size. {{resourceInfo["metadata"]["original_filename"]}} to get the original filename.