Introduction
Metadata properties in file storage systems, such as SharePoint, Google Drive, and others, represent key information about files or folders. These properties define the type of information you can store about a resource (file or folder) and are critical for organizing, filtering, and managing data effectively.
In systems like SharePoint, metadata properties function similarly to database fields or spreadsheet headers. For example:
- Columns in SharePoint categorize and tag files with information like file type or status.
- Properties in Google Drive include attributes like a folder's name, description, or permissions.
By leveraging metadata properties, you can ensure structured management and efficient retrieval of resources across platforms.
Columns in SharePoint are the fields or metadata associated with items in a list or document library. They define the type of information you can store about an item or file.

Common column types for file tagging include: Single Line of Text, Choice, Date and Time, Checkbox and many more. Columns enable better categorization and automation, ensuring efficient file management and discovery.
The CloudFiles: Set Resource Property flow action automates the process of updating or assigning metadata property values for resources across multiple storage systems, such as:
- SharePoint: Update column values (e.g., Document Type, Status).
- Google Drive: Modify properties like folder name or description.
- Other Libraries: Set properties as supported by the specific platform.
This action enables seamless integration with Salesforce Flow Builder, allowing sophisticated automations for metadata management in diverse systems.

What this action does
The CloudFiles: Set Resource Property flow action allows you to:
- Specify the target Resource using its metadata details.
- Specify the columns to update using their Property/Column API Names.
- Dynamically assign values to these Properties/Columns via text input or flow resources.
This action supports batch updates, enabling you to update or assign multiple column values for a single resource in a single action execution.
Example Use Case
Scenario: Your Salesforce users upload files into SharePoint folders through CloudFiles LWCs on Account and Contact record pages. You want to capture specific metadata from these upload events and automatically tag the files in SharePoint.
For instance:
- If a file is uploaded from an Account record, set its Document Type column to "Account File" and the Record Id column to the associated Account's Record ID.
- If uploaded from a Contact record, set the same columns accordingly.
Automation Steps:
- Trigger the Automation: Configure a flow to trigger on the File Uploaded event.
- Filter Events: Use decision elements to filter the events based on the originating record's object type (e.g., Account or Contact).
- Set Resource Properties: Use the Set Resource Property action to update the file’s column values:
- Assign "Account File" to the Document Type column and the Account's Record ID to the Record Id column for Account-originated uploads.
- Similarly, tag files with appropriate values for Contact-originated uploads.
By automating column tagging, you ensure consistent metadata management, enhancing discoverability and supporting streamlined workflows.
Below is the flow snippet of the example use case:

Input Parameters
Resource
The Resource parameter is used to specify the SharePoint Resource (File or Folder) whose column values are to be updated.
If you do not have the Resource parameter directly available, you can configure it by:
- Creating a cldfs_Resource variable in your flow.
- Assigning the Resource's metadata details (e.g., Drive Id, Id, Library) to the variable.
These metadata details can be obtained from:
- CloudFiles Event Details, such as:File Uploaded Resource Cloned Any Other
- CloudFiles Flow Actions, such as: Get Folder Contents Get Resource Details Any Other
In the scenario described in the "What this action does" section, the uploaded file's metadata details are fetched using event details. The flow snippet below illustrates the steps to configure the Resource parameter:

Properties
The Properties parameter in the Set Resource Property action is where you define column value assignments for a Resource (File or Folder) in SharePoint. Each column to be updated requires two inputs:
- Property Name: Specifies the column (property) to update.
- Value: Specifies the new value for that column.

Property Name
Input the File/Folder (Resource) Property API name in the external storage whose value must be updated/set.
- From External Storage directly find the API Names of Columns in a specific Document Library.
- Alternatively, within Salesforce, go to:CloudFiles App > Document Management > Widget ConfigurationIn the Widget Columns section, add required Columns to check their API Names by navigating to the Storage Loaction, and find its API Name (displayed in brackets next to the Column Name).

- To update the 'Name' column of a SharePoint Resource (File or Folder), you need to follow a special configuration:Separate action for 'Name'You must create a separate Set Resource Property action for updating the 'Name' column.Only the 'Name' column can be updated within this action.No other columns (properties) can be updated in the same action when modifying the 'Name' column.Updating 'Name' and other columnsIf you need to update both the 'Name' column and other columns simultaneously, you must use two separate actions:One action should be dedicated solely to updating the 'Name' column.A second action should update all other columns.
Note: In rare cases, the Set Resource Property action may fail when property values contain special characters (such as backslashes \) or JSON-like syntax (e.g. //, comments). This is because the action builds a JSON payload and those characters can unintentionally break the JSON format.
Workaround: Use the Set Resource Property (Batch) action instead when modifying such values. It handles more complex property updates and helps avoid JSON formatting issues when special characters are involved.
Value
Input the value to assign to the specified column.
The value can be:
- Plain Text: Manually entered text.
- Dynamic Resource: A value from a Salesforce Flow Resource (e.g., variables, formulas).
Supported SharePoint column types
The CloudFiles: Set Resource Property flow action supports updates for the following SharePoint column types. Enter the value in the format shown for the column's type.
| Column type | Value to enter |
|---|---|
| Single line of text | Any text |
| Multiple lines of text | Any text |
| Number | A number, for example 42 or 3.5 |
| Yes/No | TRUE for Yes, FALSE for No |
| Date and Time | A date in YYYY-MM-DD format, for example 2026-09-24 |
| Choice (single selection) | One of the column's choices, spelled exactly as it is defined in SharePoint, for example Choice 2 |
Pass dates as text in YYYY-MM-DD format. If you pass a Date variable directly, Flow can convert it to a long-form date such as 25 September 2026. Use a formula such as TEXT({!MyDate}) to produce the YYYY-MM-DD form.
Dates are stored in the SharePoint site's time zone. A date entered as 2026-09-24 is saved as midnight on that date in the site's time zone. When you read the value back, for example with the Get Resource Property action, it is returned in UTC. For a site set to Pacific Time, it comes back as 2026-09-24T07:00:00Z.
Output Parameters
This action does NOT generate any output. To confirm the execution:
- Check the updated values directly in SharePoint.
- Verify column values via the CloudFiles LWC.