Download document
Save a document's results (CSV or JSON), or the file that was sent, to a folder (G6). A file of the same name there is replaced.
Command in the Document Automation toolkit · id ooa.documents/download · 4 inputs (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Document ID | String | Yes | The document id that Send document to process gave (or a document_id input given by a Start-a-bot delivery). | |
| Kind | String | No | csv | csv: one row per field (field, value, confidence, page, corrected). json: everything that was read. original: the document as it was sent. |
| Folder | String | No | The folder to save in. Empty: the run's temporary folder (the path output says where). | |
| Delete after | Boolean | No | true | Ask Document Automation to remove its copy once the file is saved. When the service keeps documents, the step says so and goes on. |
Outputs
| Output | Type | What it is |
|---|---|---|
| path | File | The saved file. |
| deleted | Boolean | True when Document Automation's copy was removed. |