Use Document recognition to extract structured information from a PDF or image. The action can use Yeeflow’s built-in service or a configured Microsoft Azure AI Document Intelligence connection. Save the full JSON result, map specific fields to workflow variables, or configure both for later steps.
When to Use the Document Recognition Action
For example, an invoice approval can read the invoice ID, date, and total from an uploaded PDF. Choose the model based on the document type and the fields you need. Use a review step when an amount or account detail needs to be checked before the workflow writes it to a list.
Configuring the Document Recognition Action in Workflow Designer
Add Document recognition from the Actions toolbox and open its settings. Give the action a name, such as Read invoice. Under Select input file, select an attachment variable or use an expression that resolves to the file. Place the action after the file is available. Overview of the workflow designer
Choose the Service provider. Use Built-in service if it is available, or select Azure AI Document Intelligence and choose a configured connection. Azure AI Document Intelligence Connection
Select a Processing model offered by the provider. Under Page range, choose All pages or enter the range to analyze. Azure AI Document Intelligence models
Under Save output to, choose a variable for the full JSON response. To use individual values directly, open Set values to variables → Select fields. Select the fields you need and choose an Associated variable with the matching type. In the example, InvoiceId is a string, InvoiceDate is a date, and InvoiceTotal is a number.
Publish in a test application and submit a sample invoice with a known ID, date, and total. Compare the mapped values with the document and confirm that a later step reads the expected variables. Test one unclear scan or an invoice with a missing field. If the workflow continues, send incomplete values to review before saving them. If the action stops, check the workflow instance before handing the document to the next step. View and manage workflow instances

