Actions18
Extract RTF
AI-generatedSummary
Extracts content from an RTF file. Attempts conversion via LibreOffice server if libreOfficeUrl is configured; otherwise falls back to text extraction. structuredLevel controls block detail (raw/basic/full).
Inputs
- binaryPropertyName — Name of the binary property containing the file (default: 'data')
Output shape
array
The operation returns an array with one item containing: json.blocks (extracted content blocks at the specified structuredLevel) and json.metadata (file info including fileName, fileSize, fileType, mimeType, and libreOfficeError if the LibreOffice conversion failed and fallback text extraction was used).
Examples
Example 1: Extract RTF with default settings
binaryPropertyName='data', structuredLevel='full', libreOfficeUrl='' (fallback text extraction)