Events
All Event Types
Document Processed
overview this event is published once a file is processed by cloudfiles document ai using process document using ai docid 31ujx1ligtkwfkjuanbzt action this event is particularly useful in scenarios where the processing of resources needs to initiate downstream processes or workflows containing actions like query document docid\ dm3eh gzaocyoqd5y0r8d or query document (batch) docid\ ok1o1lpb07zvaclnrbgvu 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 processed as the type filter when selecting this event in the decision element in flow builder output fields from get event details refer to the image below for a list of outputs 1 processeddocumentid the processed document id is a unique cloudfiles identifier that represents the data of a processed document the processeddocumentid can be reused as often as needed to reference the document for various cloudfiles document ai actions the processeddocumentid is a mandatory input parameter for actions like query document docid\ dm3eh gzaocyoqd5y0r8d or query document (batch) docid\ ok1o1lpb07zvaclnrbgvu 2 context the context value specified in the input, which helps identify the event’s source or any other intended details 3 file details of the processed file specified in the input, which helps identify the file post processing if the processed file is a salesforce file, then output file's library will be salesforce output file's id will be contentdocumentid of the salesforce file if an external storage's file is processed, then the file's metadata is output