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.

List of CloudFiles Event Types

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.

  1. Document Processed - This event is published once a file is processed using Process Document using AI action.
  2. File Uploaded Event - This event is published when a file is uploaded through the CloudFiles widget on a record page in Salesforce.
  3. Resource Attached Event - This event is published when a file/folder in external storage is attached to a Salesforce record.
  4. Resource Updated Event - This event is published when metadata of a Resource (file or folder) is updated or changed from Salesforce using CloudFiles.
  5. Salesforce File Copied Event - This event is published when a Salesforce file is copied to external storage by Copy Salesforce Files flow action.
  6. Salesforce File Attached Event - This event is published when a file is uploaded to Salesforce native storage, through "Files" or "Notes & Attachments" section.
  7. Error Event - The event is triggered when a CloudFiles flow action fails, giving users real-time insights into the failed action.
  8. File Viewed Event - This event is published when a file is viewed through the sharing link generated by CloudFiles in Salesforce.