Platform Events
All Event Types
Based on the information in the CloudFiles Event Handler Flow Template article on how to correctly set up the platform event triggered flow to receive the CloudFiles event, you should have a valid output in the Get Event Details action. Once you have that, you can now use the variety of CloudFiles Event Types to receive various types of information and perform your desired actions.
Here is the complete list. Each item has an individual article that explains the output of the Get Event Details action as well as lay down some use-cases for the specific event type.
Make sure you read and understand the CloudFiles Event Handler Flow Template article before attempting to read and use outputs given in the below articles.
- Content Version Created - The event is published when a Create Salesforce File flow action action successfully creates a Salesforce File (Content Document) from an external storage file.
- Content Version Created Batch - This event is published when a Create Salesforce Files (Batch) flow action action successfully creates all the Salesforce Files (Content Document) from a list of external storage files.
- Salesforce File Copied - This event is published when a Salesforce file is copied to external storage by Copy Salesforce Files flow action.
- Salesforce File Attached - This event is published when a file is uploaded to Salesforce native storage, through "Files" or "Notes & Attachments" section.
- Folder Created - This event is published when a Create Folder (Async) flow action execution successfully creates a Folder in the specified external storage.
- Document Split - This event is published once a merged file (a PDF file created merging by merging different files into one ) is split into multiple files intelligently /automatically by CloudFiles Document AI using Split Document using AI flow action.
- File Received - This event is published when a file is uploaded using the File Request module in a CloudFiles Dataroom, allowing users to configure file requests and specify a destination folder for uploaded files.
- File Replaced - This event is published when an External Storage File is replaced using CloudFiles LWC from within Salesforce.
- File Viewed - This event is published when a file is viewed through the sharing link generated by CloudFiles in Salesforce.
- File Uploaded - This event is published when a file is uploaded to external storage through the CloudFiles widget on a record page in Salesforce.
- Resource Attached - This event is published when a file/folder in external storage is attached to a Salesforce record.
- Resource Updated - This event is published when metadata of a Resource (file or folder) is updated or changed from Salesforce using CloudFiles.
- Document Generated - The event is published when a document is generated by Generate Document flow action.
- Document Processed - This event is published once a file is processed using Process Document using AI action.
- Error Event - The event is triggered when a CloudFiles flow action fails, giving users real-time insights into the failed action.
- Resource Cloned - This is published for every successful external resource cloning of resources input in a Copy Resources flow action, useful in scenarios where the cloning of Resources needs to initiate downstream processes or workflows.
- Resource Deleted - This is triggered whenever a resource (file or folder) is deleted using the CloudFiles LWC (Lightning Web Component).