Download Attachment
Perform Download Attachment through Odoo.
odoo_download_attachmentwriteodoo
Inputs
- Attachment Id
attachment_idexpressionrequiredRequired literal value or workflow expression.
- Document Type
document_typetextOptional text value.
Default:
"odoo_attachment"
Outputs
document_idDocument Ids3_pathS3 Pathattachment_idAttachment IdfilenameFilenamemimetypeMimetypesizeSizesha256Sha256res_modelRes Modelres_idRes Idwas_existingWas ExistingsuccessSuccesserrorErrorerror_nameError Namestatus_codeStatus Code
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": [
"attachment_id"
],
"properties": {
"attachment_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"document_type": {
"type": "string",
"default": "odoo_attachment",
"description": "Optional text value.",
"x-workflow-field-type": "text"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"size": {},
"error": {},
"res_id": {},
"sha256": {},
"s3_path": {},
"success": {},
"filename": {},
"mimetype": {},
"res_model": {},
"error_name": {},
"document_id": {},
"status_code": {},
"was_existing": {},
"attachment_id": {}
},
"additionalProperties": true
}