Inspect
AI-generatedSummary
Analyze a PDF file provided in a binary property to determine its structural characteristics such as encryption status, number of pages, vectorial (text-based) content based on a text length threshold, and text preview of the first page.
Inputs
- Binary Property (required) — Name of the binary property containing the PDF file to inspect.
- Text Threshold — Minimum text length on the first page to consider the PDF as vectorial (text-based); defaults to 50.
Output shape
a single item with JSON data describing the PDF's properties and original item binary data unmodified
Returns JSON fields including isEncrypted (boolean), pageCount (number), isMultiPage (boolean), isVectorial (boolean), textLength (number), and firstPageText (string preview up to 200 characters). If the PDF is encrypted, only isEncrypted=true is returned. No changes are made to the PDF binary data.
Examples
Example 1: Inspect a PDF stored in the binary property 'data' with default text threshold
Set Binary Property to 'data' and optionally adjust Text Threshold (default 50) if needed.