Events
All Event Types
Content Version Created
overview the content version created event is published when a create salesforce file docid\ fnqyk7y504tsivsv5c533 flow action successfully creates a salesforce file (content document) from an external storage file this event is particularly useful in scenarios where the creation of salesforce files needs to initiate downstream processes or workflows how to use this event ? to use cloudfiles events, you must first setup your flow as shown in the intercepting cloudfiles events docid\ a1veefugb sg3o1d7vzhp article this article will introduce you to the concepts of the event type as well as event details that are returned by the get event details docid\ cfegghvnwso7bcxyevrr flow action once you are familiar with these, you will understand how to interpret & use these as illustrated in the sections below event type for decision filter please use content version created as the type filter when selecting this event in the decision element in flow builder output fields from get event details the corresponding get event details flow action returns the content version created sub type with useful information including the created salesforce file's contentversionid, corresponding external storage file's metadata details, file name and parent id (i e record id input in the corresponding create salesforce file docid\ fnqyk7y504tsivsv5c533 action) refer to the image below for a list of outputs and descriptions of the parameters returned in this sub type file a lookup field of type resource docid\ mr7u7qdhigoasucpf nlr ( cldfs resource )which shall contain the external storage file's metadata details driveid the external storage drive id of the file id the unique resource id of the file in external storage library the external storage library (ex sharepoint ) name the name of the file path the storage location path of the file (null if the storage is google drive) type always file contentversionid the record id of the created salesforce file's content version filename the created salesforce file's name parentid the text string input in the corresponding create salesforce file docid\ fnqyk7y504tsivsv5c533 action (e g , the record id or any other identifier provided during the action)