Events
All Event Types

File Viewed

overview this event is published when a file is viewed through the sharing link generated by cloudfiles in salesforce the file sharing link can be obtained through cloudfiles widget in salesforce the file viewed event type can be used to filter this event the corresponding get event details flow action returns the file viewed sub type with useful information including file resource, record id, email, time spent, link and download status for further use 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 file viewed 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 file viewed sub type with useful information including file resource, record id, email, time spent, link and download status for further use refer to the image below for a list of outputs and descriptions of the parameters returned in this sub type link link contains "url" and "id" field in the form of a list resource a resource consists of drive id, name, id, path, library and the type of file that is being viewed downloaded it is a boolean to indicate whether the file in view is downloaded through the link or not timespent amount of time (in seconds) spent on the file which has been viewed email email through which the file is viewed recordid record id of the record to which file belongs