Flow Actions
Doc Management Flow Actions
Get Shared Resources
introduction the cloudfiles get shared resources flow action allows you to retrieve all the resources (files or folders) that have been shared with a salesforce community through cloudfiles these shared resources can be accessed by community users and are made available through cloudfiles sharing capabilities this action can be used to fetch a collection of these shared resources in a salesforce flow this is particularly useful when managing multiple resources that have been shared with community members or need to be processed in bulk note this action specifically retrieves resources shared at the community level, which is different from attachments linked to individual records what this action does the get shared resources with community resources action takes a salesforce record id as an input and outputs a collection of all resources that have been shared with the community associated with that record each resource includes metadata details, enabling advanced flow configurations and automations for community shared content example use case a community has multiple files and folders shared with its members through cloudfiles you can use the get shared resources action to retrieve all these shared resources this collection can then be used for further processing, such as identifying and removing outdated resources shared with the community based on naming conventions or metadata generating reports on all resources currently available to community members archiving or reorganizing shared resources based on workflow triggers or scheduled maintenance implementing governance policies by auditing what content is accessible to external users input parameters parent id the salesforce record id for which shared community resources need to be retrieved output parameters the apex action outputs apex defined attachment docid 7vdkfats tonll2jilgsg collection each attachment in the collection, record id the salesforce record id resource docid\ mr7u7qdhigoasucpf nlr properties resource id external id of the resource name name of the attached resource path the path of the resource in external storage type type of the resource ("file" or "folder") library external storage service used drive id relevant for google drive or sharepoint