Extract Comments
AI-generatedSummary
Extract comments and comment replies from a DOCX document provided as binary data.
Inputs
- binaryPropertyName (required) — The name of the binary property containing the DOCX file.
- options.includeResolved — Whether to include resolved comments in the output.
- options.includeSummary — Whether to include comment statistics summary in the output.
Output shape
A JSON object containing an array of extracted comments and optional summary statistics.
Each comment entry contains details such as author, text, timestamp, and threaded replies.
Examples
Example 1: Extract all comments from a document
Input Binary Field: data, Options: { includeResolved: true, includeSummary: true }
Example 2: Extract unresolved comments only
Input Binary Field: data, Options: { includeResolved: false }