OkraPDF icon

OkraPDF

Extract tables and text from PDFs using OkraPDF

Document → Extract (Sync)

AI-generated

Summary

Extracts a PDF synchronously via OkraPDF API and returns extraction results.

Inputs

  • inputType — Source of the PDF to extract: fetch from URL or use binary data from previous node
  • pdfUrl (required) — URL of the PDF to extract (required when inputType is url)
  • binaryPropertyName (required) — Name of the binary property containing the PDF (required when inputType is binary)
  • options — Optional collection: webhookUrl and maxPages

Output shape

array

Execution metadata items containing the OkraPDF API response from /api/v1/extract/sync, including extracted tables, text, and entities.

Examples

Example 1: Extract PDF from URL

Set inputType to url, provide pdfUrl, optionally adjust maxPages.

Example 2: Extract PDF from binary data

Set inputType to binary, map binaryPropertyName to the source node's binary field.

Links

Discussion