Flow Actions
Misc Flow Actions
Get Event Details
introduction this action can be used to get the details of a cloudfiles event this action should only be used in platform event triggered flows, filtered on cloudfiles event the output of this action is extremely useful for anyone using cloudfiles events docid\ rknln6uow5ow7m1aji6xq the data can be used in further flow elements for complex processes for example, on file upload, you may want to create a custom object record to save some file metadata such as the file name, extension, external storage url, date of upload etc to correctly understand how to use this flow action, refer to the platform event mode flow setup docid\ hbil pqlgbixyg81yse9g article that explains how to setup a platform event triggered flow in salesforce to utilise the cloudfiles platform events what this action does? when provided with a valid cloudfiles event object docid\ tlg7wz9iwyxqprmj5gduf , this action returns a complex data map which can be used to get useful parameters related to the triggered event as an example, t he event details flow action returns the copied salesforce file details sub type with useful information including source file id, destination file id, record id etc which is useful when working with salesforce file copied docid\ m9v6ikaxwsmxifd5e7zwy event this event is triggered when a file is successfully copied over to external storages from salesforce using the copy salesforce files docid\ xaoztzqon8utm7hyzn bg flow action to correctly understand how to use this flow action, refer to the platform event mode flow setup docid\ hbil pqlgbixyg81yse9g article that explains how to setup a platform event triggered flow in salesforce to utilise the cloudfiles platform events input parameters the action takes a single input which is the triggering record of the platform event triggered flow (i e the cloudfiles event object docid\ tlg7wz9iwyxqprmj5gduf discussed in the platform event mode flow setup docid\ hbil pqlgbixyg81yse9g article) you don't need anything else to use this action output parameters the output to this flow action can further be used in the flow as shown below, this action outputs a variable which has output for each type of cloudfiles event depending on the event type, you can check the individual outputs and use them in your processes e g you can intercept the file uploaded event to capture the file name and the folder uploaded event to capture the folder name for a full reference to all the event types and the related outputs, refer to all event types docid 85vg5ndkui9u58vkafhw3