Apex
CloudFiles Client
Process Document using AI
to use docid 31ujx1ligtkwfkjuanbzt action in apex, you would have to use the processdocument method of the client class, defined as follows global static void processdocument( list\<types processdocumentpayload> payloads, string runas ) parameters a list of docid 4kgg5 bwjed0efb7tevyd string runas, usually this would be a static value 'integrationuser' return type as evident from the method definition above, it returns nothing immediately after cloudfiles is done processing the document it will fire the https //app archbee com/docs/b lib1oaefr7xf6 gqmfd/xrr pnbpocwwcmyg6qgk9 platform event example apex list\<cldfs types processdocumentpayload> payloads = new list\<cldfs types processdocumentpayload>{ new cldfs types processdocumentpayload( 'fileid', 'driveid', 'library', 'context' ) }; cldfs client processdocument(payloads,'integrationuser');