Extract PDF Text
extract_pdf_text · Nodes · Data
Extracts text from PDF bytes or stored PDF media.
Extract PDF Text#
Extracts text from PDF bytes or stored PDF media.
Input#
input:NodeData::Binary, an object descriptor or{ object_id }, or an object withbase64and optionalcontent_type/filename.
Output#
output.text: extracted text.output.pages: best-effort page text objects withpageandtext.output.metadata.page_count: detected text page count.output.metadata.character_count: extracted character count.output.metadata.filename: source filename, when known.output.metadata.content_type: source content type, when known.
Limits: 10 MiB input and 10 second extraction timeout.
This node extracts embedded PDF text. It does not OCR scanned image-only PDFs. Use an OCR or vision model workflow step after this node when output.text is empty or incomplete.
Inputs
inputRequired
Outputs
output
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |