Workflow Actions
Update Resource Action
8min
introduction the "update resource" action in cloudfiles allows you to update metadata, such as renaming files and folders or adding descriptions it is very useful when you want to update custom columns in sharepoint to make sure this action works with your cloud storage, you need to understand what is an 'automation user' and how does it work? docid 9ibd0tgbyrtn kgjpxhtn input parameters the "update resource" action takes in various parameters to specify the source & destination of the file library the location where the file/folder name or description needs to be updated, such as in sharepoint, google drive, or other storage platforms path to resource the exact path to the file/folder there may be more than one parameters required to specify this path based on library selection property to update the api name of property to be updated value the updated name or description of the file or folder return values various values returned by this action after execution these parameters have been detailed in the section below 1 library select the cloud storage platform from which the file or folder's name/description needs to be updated you can choose from cloudfiles, onedrive, sharepoint, box, or dropbox depending on your selection, additional parameters will appear in the action, which are explained in the sections below 2 path to resource this specifies the source from where the files/folderβs name/description needs to be updated you can specify the full path using a simple '/' separated string with the file name at the end the path to the folder can be copied from the metadata on the cloudfiles dashboard and then personalized using the record tokens follow the simple steps below 1\ find the cloudfiles widget from any hubspot record, and click on cloudfiles it will redirect you to app cloudfiles io https //app cloudfiles io/ 2\ under the libraries tab, navigate to the file or folder that you are trying to add 3\ copy the parameter from the metadata on the right side of the screen this meta data example is shown below 3 property to update in this parameter, specify "name" when renaming a file or folder similarly, for google drive, enter "description" when updating the description the api name of the column is required if you want to update columns in sharepoint 4 value in this parameter, enter the new name for the file or folder you want to rename similarly, for the description, provide the updated description in the respective field return values the move resource action returns the following values these can be used in later actions to chain together actions and create complex automations action status this is a success or failure message based on whether the action was executed correctly