Extract Revisions
AI-generatedSummary
Extracts tracked changes, including insertions and deletions, from a DOCX document stored in a binary property.
Inputs
- binaryPropertyName (required) — Name of the binary property containing the DOCX file.
- options.includeContext — Whether to include surrounding text for each revision.
- options.contextLength — Number of characters to include before and after each revision when context extraction is enabled.
- options.includeSummary — Whether to include revision statistics summary in the output.
Output shape
An item object containing extracted revision details and optional statistics.
Returns revision data such as IDs, author names, modification dates, change types, text content, optional context, and summary statistics.
Examples
Example 1: Extract all revisions from a document
Set Input Binary Field to 'data'.
Example 2: Extract revisions with surrounding text context
Set Input Binary Field to 'data', enable 'Include Context' under Options, and set 'Context Length' to 100.