capabilities.work

Poll Job With Failure Branch

A 3-step recipe with Mindee. We can help you get access.

Recipe · 3 steps

Poll Job With Failure Branch

with Mindee

Enqueue, poll, and branch on success or failure before reading the result.

  1. Send the document to the asynchronous extraction queue. Returns a job whose status begins as Processing.
  2. Poll the shared jobs endpoint and branch on the job status. Loop while Processing, end the workflow on Failed, and continue on Processed.
  3. Retrieve the completed extraction inference and read the structured fields parsed from the document.
What you'll need to have ready
  • authorization: Mindee API key sent in the Authorization header.
  • modelId: UUID of the extraction model to apply.
  • file: The document file to upload as binary form data.
For your developer

Arazzo workflow mindee:poll-job-with-failure-branch, 3 operations: Enqueue_Extraction_Product_Inference_v2_products_extraction_enqueue_post → Get_Job_Status_v2_jobs__job_id__get → Get_Extraction_Product_Result_v2_products_extraction_results__inference_id__get. Specs on APIs.io.