AI actions - Extract information from document or image

Important: 
  • The AI actions feature is available only when the feature is selected in the AI features for the tenant.
  • AI Actions have input limits to ensure safe and predictable results. Each action that analyzes or extracts information from text can process up to 100,000 characters and up to 1,000 repetitive pattern occurrences. Any input that exceeds these limits will not be processed. Some actions that only convert documents or images to text without analyzing the content, do not enforce these limits.

Use the Extract information from document or image action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. to extract specific information from a file. The output can be plain text or JSON, based on the details you provide. You can use the result later in the workflow to store values or evaluate conditions.

For example, a user uploads a vendor invoice through a Nintex form. You want to extract the vendor name, invoice date, items, and total from the form. Use the Extract information from document or image action to extract these fields and send the result to the finance team for approval.

Configure the Extract information from document or image action

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.

  2. Select a variable in the File field that contains the document or image.

  3. In the Information to extract field, enter the fields or details to extract from the file.

  4. In the Output type field, choose either Text or JSON.

  5. Select or create a variable in the Extracted text field to store the result.

Note: 

AI actions - Extract information from document or image action fields and settings

Section Field Description

Variable

(Unlabeled) File

A variable that contains the document or image to extract text from.

  • Maximum supported file size is 25 MB.
  • Supported file types include .pdf, .jpg, .jpeg, .png, .bmp, .tiff, .heif, .docx, .xlsx, .pptx , .html

File

  Information to extract The fields or values to extract from the file. Describe using plain language, a list of field names, or a JSON schema. Text
  Output type The format for the extracted result. Choose Text or JSON. Text, JSON
Output Extracted text

Stores the result as unstructured text or structured JSON string.

  • Printed text is supported in over 270 languages.
  • Handwritten text is supported in 12 languages: English, Japanese, Chinese Simplified, Korean, French, Portuguese, German, Spanish, Italian, Russian, Thai, and Arabic.

Object