onOffice icon

onOffice

onOffice custom node for n8n

Address → Get Files

AI-generated

Overview

This node operation retrieves files associated with a specific address in the onOffice system. It is useful for scenarios where you need to access documents or media files linked to an address record, such as property images, contracts, or other related files. For example, a real estate agent could use this to fetch all files related to a property address for review or processing.

Use Case Examples

  1. Retrieve all files linked to a given address ID to display in a property management dashboard.
  2. Fetch a specific file by its ID from an address to download or preview it.

Properties

Name Meaning
Address ID The ID of the address to get files from, required to specify which address's files to retrieve.
File ID Optional specific file ID to retrieve, includes file content in the response.
List Limit Maximum number of files to return, with a maximum of 100 to control pagination size.
List Offset Offset for pagination to skip a number of files before starting to return results.

Output

JSON

  • files - Array of file objects associated with the specified address, including metadata and optionally file content if a specific file ID is requested.

Dependencies

  • Requires an API key credential for onOffice API authentication.

Troubleshooting

  • Ensure the Address ID is valid and exists in the onOffice system to avoid errors or empty results.
  • If specifying a File ID, verify it belongs to the given Address ID to prevent retrieval errors.
  • Respect the maximum List Limit of 100 to avoid request rejections or truncation.
  • Check API credentials and permissions if authentication errors occur.

Discussion