02_UploadFiles

This 02_UploadFiles workflow uploads attachment to the IDP API for OCR processing. The 01_RoutingFlow workflow invokes 02_UploadFiles using the _execute API for each subfolder.

This flow includes these processes:

  • Calls the Create Job for Document Processor Flow endpoint for each attachment and returns a unique JobID
  • Maps Mail ID, Attachment Name, and JobID in a JSON structure and saves it as OCR_JobDetails.txt for use in 03_GetResults. The JSON format includes Mail ID and Job details (Job GUID and File Name)