# Set Resource Property (Batch)

The CloudFiles: Set Resource Property (Batch) action extends the functionality of the standard Set Resource Property flow action, enabling you to process multiple resource property updates in a single action instead of configuring several individual actions in your flow.

> Kind: Flow action · Updated: Jul 2, 2026

## Introduction

The CloudFiles: Set Resource Property (Batch) action extends the functionality of the standard Set Resource Property flow action, enabling you to process multiple resource property updates in a single action. Instead of configuring multiple individual actions in your Salesforce flow, this batch action consolidates them, improving efficiency and simplifying flow management.

![](https://media.help.cloudfiles.io/fa-set-resource-property-batch/01.png)

## What this action does

The Set Resource Property (Batch) action processes a collection of Set Resource Property update requests. Each request contains:

- A Resource (the file or folder to be updated).
- A collection of Updates (key-value pairs of property names and their corresponding values).

The action applies all updates in the collection, streamlining workflows for handling multiple metadata updates.

Example:
If three files need updates:

- File 1: Updates as "Document Type" to "Invoice" and "Status" to "Approved."
- File 2: Updates as "Document Type" to "Report."
- File 3: Updates as "Name" to "Project_Plan.docx" and "Category" to "Project Files."

Instead of using 3 seperate Set Resource Property flow actions, configure 3 seperate cldfs__SetResourcePropertyFlowInput entries, add them to the Inputs collection, and execute a single Set Resource Property (Batch) action.

## Input Parameters

### Inputs

A collection of Apex-defined variables of type cldfs__SetResourcePropertyFlowInput.

![](https://media.help.cloudfiles.io/fa-set-resource-property-batch/02.png)

Each cldfs__SetResourcePropertyFlowInput includes:

- Resource: The target Resource (file or folder).
- Updates: A collection of cldfs__CloudFilesVariable variables, each representing a property name and its corresponding value for the Resource.

> **How to configure the "Inputs" Parameter?** — Create the Inputs Collection-
Define a Collection variable of type cldfs__SetResourcePropertyFlowInput  in Salesforce Flow to hold multiple Set Resource Property entries.Create Individual cldfs__SetResourcePropertyFlowInput Entries
For each resource to be updated:Assign the Resource (metadata details such as DriveId, Id, and Library).Define the Updates:Each update is a cldfs__CloudFilesVariable object with:Key: The Property Name (e.g., "Document Type" or "Status").ValueString: The corresponding value for the property.Add updates to each resource-Create a Collection variable of cldfs__CloudFilesVariable to store all the property-value mappings for the resource.Assign this collection to the Updates field of the cldfs__SetResourcePropertyFlowInput.Add all Inputs to the Batch Collection-
Add all such cldfs__SetResourcePropertyFlowInput entries to a collection variable and Input this as Inputs parameter.

## Output Parameters

This action does not produce specific outputs. To confirm the execution:

- Check the updated metadata values in the external storage system (e.g., SharePoint).
- Verify changes via the CloudFiles LWC or widget.
