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
Please use salesforce-file-attached as the type filter when selecting this event in the decision element in flow builder
- 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