Events
All Event Types
Document Generated
overview this event is published for every document generated using the generate document or generate document (batch) docid\ xahb umkpvgfm3k4ycbdp flow action 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 document generated 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 document generated details with useful information including file resource , c ontentversionid, name and parent id for further use refer to the image below for a list of outputs file this field specifies the metadata details of the generated file this parameter is populated only if the destination input parameter was configured in the corresponding generate document docid\ qfdwhv81mxgwsly7nppsc action if not, it will be null field details when saved in salesforce and linked to a record id the generated file's content document id library salesforce other fields will be null when saved in external storage contains metadata details of the file stored in the external storage contentversionid this is the content version id of the file that is generated if no destination parameter is specified in the corresponding generate document docid\ qfdwhv81mxgwsly7nppsc action, the file is stored in the salesforce file library this field holds the content version id of the generated file in salesforce name the name of the generated document parentid record id on which the document is generated