Actions58
- Address Actions
- Agentslog Actions
- Appointment Actions
- E-Mail Actions
- Estate Actions
- File Actions
- Relation Actions
- Search Criterion Actions
- Setting Actions
- Task Actions
- Template Actions
File → Upload
AI-generatedOverview
This node uploads a file to the onOffice system, associating it with a specified relation type and related ID. It is useful for scenarios where users need to programmatically add files to addresses or estates within onOffice, such as uploading property images or documents linked to a specific estate or address.
Use Case Examples
- Uploading a contract document to an estate record.
- Adding a photo to an address entry.
Properties
| Name | Meaning |
|---|---|
| Relation Type | Specifies the type of entity the file is related to, either an Address or an Estate. |
| Related ID | The unique identifier of the related entity (address or estate) to which the file will be uploaded. |
| File Content | The content of the file to be uploaded, typically encoded as a string. |
| Filename | The name of the file being uploaded. |
Output
JSON
fileId- The unique identifier of the uploaded file in the onOffice system.status- The status of the upload operation, indicating success or failure.
Dependencies
- Requires an API key credential for onOffice API authentication.
Troubleshooting
- Ensure the Related ID corresponds to an existing entity in onOffice; otherwise, the upload will fail.
- Verify that the file content is correctly encoded and not empty to avoid upload errors.
- Check that the Relation Type matches the entity type of the Related ID to prevent mismatches.