Events
All Event Types
Resource Deleted
overview the resource deleted event is triggered whenever a resource (file or folder) is deleted using the cloudfiles lwc (lightning web component) this event is particularly useful in scenarios where the deleting of resources needs to initiate downstream processes or workflows how to use this event ? to use cloudfiles events, you must first setup your flow as shown in the intercepting cloudfiles events docid\ a1veefugb sg3o1d7vzhp article this article will introduce you to the concepts of the event type as well as event details that are returned by the get event details docid\ cfegghvnwso7bcxyevrr flow action once you are familiar with these, you will understand how to interpret & use these as illustrated in the sections below event type for decision filter in flow builder, use the resource deleted event type as a filter condition in decision elements this ensures the flow is triggered only for deleted resource events output fields from get event details the corresponding get event details flow action extracts relevant information about the deleted resource and the context of the deletion refer to the image below for a list of outputs and descriptions of the parameters returned in this sub type resource a lookup field of type resource docid\ mr7u7qdhigoasucpf nlr ( cldfs resource ) which shall contain the deleted resource's metadata details driveid the external storage drive id id the resourceid or unique identifier of the deleted resource library the external storage library (ex sharepoint ) name the name of the deleted file or folder path the storage location path of the file/folder (null if the storage is google drive) type file or folder based on the deleted resource type recordid the salesforce record id associated with the lwc that initiated the deletion userid the salesforce user id of the user who performed the deletion