Website logo
Go To WebsiteAppexchange
Home
Salesforce
HubSpot
Web App
API Reference
Navigate through spaces
⌘K
Table Of Contents
Quick Starts
Features
Widgets
Flow Actions
Flow Templates
Platform Events
Tutorials
How to integrate AWS S3 bucket with CloudFiles
How to make existing Salesforce records work with CloudFiles
Copy Salesforce files to SharePoint
Apex
FAQs
Support
Docs powered by Archbee
Platform Events

Salesforce File Attached Event

Overview

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

Event Type

Please use salesforce-file-attached as the type filter when selecting this event in the decision element in flow builder

Fields

  1. Parent Id - Id of the Salesforce record where the file is uploaded
  2. Parent Type - Type of the Salesforce record where the file is uploaded. Example - Account
  3. 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
  4. Files - A list of Salesforce File object

Use Cases

  1. Copy a file to SharePoint when it's uploaded to Salesforce storage




Updated 20 Nov 2023
PREVIOUS
Resource Updated Event
NEXT
Salesforce File Copied Event
Docs powered by Archbee
TABLE OF CONTENTS
Overview
Event Type
Fields
Use Cases
Docs powered by Archbee