Upload Attachment
Perform Upload Attachment through Airtable.
airtable_upload_attachmentwriteairtable
Inputs
- Base Id
base_idexpressionrequiredRequired literal value or workflow expression.
- Record Id
record_idexpressionrequiredRequired literal value or workflow expression.
- Attachment Field
attachment_fieldtextrequiredRequired text value.
- S3 Path
s3_pathexpressionrequiredRequired literal value or workflow expression.
- Source Document Id
source_document_idexpressionrequiredRequired literal value or workflow expression.
- Filename
filenameexpressionOptional literal value or workflow expression.
- Content Type
content_typetextOptional text value.
Outputs
record_idRecord IdattachmentsAttachmentsattachment_countAttachment CountfilenameFilenamesuccessSuccesserrorErrorerror_typeError Typestatus_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": [
"base_id",
"record_id",
"attachment_field",
"s3_path",
"source_document_id"
],
"properties": {
"base_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"s3_path": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"filename": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"record_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"content_type": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"attachment_field": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"source_document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"filename": {},
"record_id": {},
"error_type": {},
"attachments": {},
"status_code": {},
"attachment_count": {}
},
"additionalProperties": true
}