onOffice icon

onOffice

onOffice custom node for n8n

Search Criterion → Create

AI-generated

Overview

This node creates a new Search Criterion record linked to a specific address in the onOffice system. It is useful for automating the creation of search criteria based on various property and location filters, which can be used in real estate or property management workflows. For example, a user can create search criteria to find properties within a certain price range, city, or property type, linked to a particular address ID.

Use Case Examples

  1. Creating a search criterion to find properties in a specific city and postal code range.
  2. Automating the creation of search criteria with filters like purchase price range and property type for a given address.

Properties

Name Meaning
Address ID Record ID of the linked address, required to associate the search criterion with a specific address.
Data Collection of optional fields to define the search criterion, including advisor user ID, city, house number, marketing method, postal code, property type, purchase price range, radius, and street.

Output

JSON

  • id - ID of the created search criterion record.
  • addressid - Linked address ID for the search criterion.
  • advisor - User ID of the advisor associated with the search criterion.
  • range_ort - City filter value.
  • range_hausnummer - House number filter value.
  • vermarktungsart - Marketing method filter value.
  • range_plz - Postal code filter value.
  • objektart - Property type filter value.
  • kaufpreis__von - Minimum purchase price filter value.
  • kaufpreis__bis - Maximum purchase price filter value.
  • range - Radius filter value.
  • range_strasse - Street filter value.

Dependencies

  • An API key credential for onOffice API authentication

Troubleshooting

  • Ensure the Address ID provided exists and is valid; otherwise, the creation will fail.
  • Verify that the API key credential is correctly configured and has the necessary permissions to create search criteria.
  • Check that all required fields are provided and correctly formatted to avoid validation errors from the API.

Discussion