merge_documents_as_versions
Merge duplicate documents into versions of a root document, so scans and emailed copies become one document's version history.
Instructions
⚠️ Fold other documents into one document as its versions: each document in merge_documents stops existing as a separate document and becomes a version of root_document_id. Use it when the same paper arrived twice (e.g. a scan and a later emailed copy). Runs asynchronously.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true — merged documents no longer exist as separate documents | |
| version_label | No | Label for the new versions | |
| merge_documents | Yes | Documents to turn into versions of the root | |
| root_document_id | Yes | The document that keeps existing and receives the versions |