Download Document
Perform Download Document through Cori.
cori_download_documentwritecori
Use in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "Cori",
"params": {},
"handler": "cori_download_document"
}Inputs
- Referral Id
referral_idexpressionrequiredRequired literal value or workflow expression.
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
Outputs
successSuccessoperationOperationdataDatareferral_idReferral Iddocument_idDocument Ids3_pathS3 Pathcori_urlCori UrlerrorErrorerror_kindError KindindeterminateIndeterminateretryableRetryablewas_existingWas Existingalready_submittedAlready Submitted
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"referral_id",
"document_id"
],
"properties": {
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"referral_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"data": {},
"error": {},
"s3_path": {},
"success": {},
"cori_url": {},
"operation": {},
"retryable": {},
"error_kind": {},
"document_id": {},
"referral_id": {},
"was_existing": {},
"indeterminate": {},
"already_submitted": {}
},
"additionalProperties": true
}