Platform Events
Salesforce File Attached Event
This event is published when a file is uploaded to Salesforce native storage, through "Files" or "Notes & Attachments" section. This event should not be confused with File Uploaded Event, which is published when a file is uploaded to external storage through the CloudFiles widget
- Type : salesforce-file-attached
- Object Type : API Name of Object the SF File is attached to
- Parent Id - Id of the Salesforce record where the file is uploaded
- Parent Type - Type of the Salesforce record where the file is uploaded. Example - Account
- ContentDocumentIds - A list of ContentDocumentId. When multiple files are uploaded together, only one instance of this event is published holding all the uploaded file ids as ContentDocumentIds
- Copy a file to SharePoint when it's uploaded to Salesforce storage