Apex
CloudFiles Client

Process Document using AI

To use this action in apex, you would have to use the processDocument method of the Client class, defined as follows:

Apex


Parameters

  1. 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 Document Processed platform event.

Example

apex