← All nodes
Actions a_ocr_extract

Extract Text (OCR)

Extracts text from a PDF or image via Azure Document Intelligence.

What does it do?

Reads and extracts text written inside an image or scanned document.

How does it work?

Receives an image file, detects the characters using Optical Character Recognition (OCR) and returns the plain text.

Why use it?

Essential if you ask customers to send photos of their ID, invoices or bank transfer receipts.

Inputs

nametype
file_url string

Outputs

nametype
extracted_text string
pages array
tables array
provider string
mode string

Branches

Fixed branches

  • out — Output

Configuration

file_url_field string required default: "file_url"
mode "read" | "layout" | "tables" required default: "read"
output_field string required default: "extracted_text"
memory_key string optional

Default configuration

{
  "file_url_field": "file_url",
  "mode": "read",
  "output_field": "extracted_text"
}

Emitted events

  • ocr.done

    OCR extraction completed successfully.

  • ocr.error

    OCR extraction failed.