Technology10 min read
Connecting forms to onOffice: setup, field mapping and duplicate checks
Step by step: create an API user and token, map fields, avoid duplicates by e-mail and transfer search criteria and relations to onOffice enterprise.

Many estate agencies use onOffice enterprise as their central system for addresses and properties. Forms on the website, in the exposé or during property intake provide exactly the data that belongs there. Without a connection, however, this data is forwarded by e-mail and transferred by hand.
This article describes how to connect forms from Ankerform to onOffice enterprise: which prerequisites are needed, how field mapping works and what to bear in mind with duplicates, search criteria and relations.
The connection pays off above all where many similar submissions arrive: exposé enquiries, search mandates, owner enquiries and viewing requests. For these forms the structure is stable, the target fields in onOffice are clear and every manual transfer that disappears is noticeable in daily work. For rare special forms, on the other hand, it may be enough to keep the submission in Ankerform and only create a task in onOffice.
What the integration can do
The integration uses onOffice’s official API (with HMAC signature, version 2). The following functions are available:
| Area | Function |
|---|---|
| Connection | Connection test, reading the field configuration and select lists |
| Addresses | Create with duplicate check by e-mail, modify, read and filter |
| Estates | Create, modify, read |
| Search criteria | Create, read, modify |
| Activities | Create an agents log entry |
| Tasks and appointments | Create a task, create an appointment |
| Relations | Link estate ↔ address, for example as owner, buyer, tenant or prospect |
| Search and prefill | Quick search across addresses and estates, prefilling a form by record ID |
A two-step file upload is prepared in the client but not yet wired into form synchronisation. Uploaded files therefore remain in Ankerform for now.
This also makes clear what the integration does not do: it does not replace maintaining the data in onOffice, and it makes no decisions about assigning staff or properties that you have not defined in the workflow. It transfers, in a structured way, what was captured in the form.
Prerequisites: API user and token
To access the API, you need an API user with a token and secret in onOffice. The onOffice API documentation explains how to create one in its section on creating API users. The permissions are what matter most.
- The API user needs module rights for the areas you want to use: addresses, estates, calendar and tasks.
- Grant only the rights you actually need. A form that only creates addresses does not need write access to estates.
- Apps from the onOffice Marketplace additionally require activation.
- Keep the token and secret secure. In Ankerform they are stored in your organisation’s integration settings and are not displayed in plain text.
Once stored, run the connection test. It retrieves the field configuration and thereby confirms that token, secret and permissions fit together.
Reading the field configuration
Every onOffice account is configured differently. There are standard fields, custom fields and select lists with account-specific values. That is why Ankerform reads the field configuration via the API instead of working with a fixed list.
This has two advantages: the mapping shows exactly the fields that exist in your account, and for select lists the permitted values are displayed. This prevents a form from sending a value that onOffice does not recognise.
Note that fields that are mandatory in onOffice must also be filled in the form. If a field is configured as mandatory in your account, it should be mandatory in the form as well, or be set with a fixed default value in the mapping. Otherwise the API will reject the record.
Mapping fields
In the field mapping you define which form field is written to which onOffice field. You distinguish between address fields, estate fields and search criteria.
| Form field | Target in onOffice | Note |
|---|---|---|
| First name, last name | Address: first name, name | Required for meaningful addresses |
| Address: e-mail | Basis of the duplicate check | |
| Phone | Address: phone | Transferred on creation |
| Salutation (choice) | Address: salutation | Map values to the select list |
| Property type (choice) | Estate: property type | Map values to the select list |
| Living area, rooms | Estate: corresponding fields | Mind the number format |
| Search profile field | Search criteria | Ranges are transferred as from/to values |
Mapping select values
A form shows customers understandable labels such as “owner-occupied flat”. onOffice, by contrast, expects the internal value stored in the select list. In the mapping, you assign the matching onOffice value to each form value. Handle unmapped values deliberately, for example by omitting them or transferring them as a note.
It is best to plan the mapping on paper or in a spreadsheet first: form fields on the left, target fields in onOffice on the right, and the select list values next to them. This overview also helps later when someone in the team wants to understand why a value ends up in a particular place.
Fields without a counterpart in onOffice do not have to be transferred. They remain stored with the submission in Ankerform and can be viewed there at any time.
Avoiding duplicates by e-mail
Someone who enquires several times should not appear as several addresses in onOffice. When creating an address, the integration therefore uses the API’s duplicate check based on the e-mail address. If an address with this e-mail already exists, no new one is created and the existing one is not overwritten unintentionally.
What to note when modifying
When an existing address is modified, contact details such as phone number and e-mail address are not transferred. According to the documentation, the API expects a separate structure of action, old value and new value for these fields. Name, postal address and other fields, on the other hand, can be updated. If contact details change, a task for manual review should therefore be created.
- Make the e-mail field mandatory in the form if you synchronise to onOffice.
- Validate the e-mail format in the form itself.
- For known contacts, use personalised links with prefilled data instead of having them fill in an empty form again.
Search criteria and relations
For prospective buyers and tenants, a search profile is often more important than the address alone. The integration can create, read and modify search criteria and assign them to the address. This way, a search mandate from the form ends up where your team looks for it in onOffice.
Relations connect addresses and estates. An owner enquiry can create an address and an estate and link them with an owner relation. An exposé enquiry about an existing property can link the address to the estate as a prospect.
| Form | Records | Relation |
|---|---|---|
| Owner enquiry | Address and new estate | Owner |
| Property contact enquiry | Address, existing estate | Prospect |
| Search mandate | Address and search criteria | No property relation needed |
| Notary instruction | Addresses of buyer and seller | Buyer or owner of the estate |
Activities, tasks and appointments
Besides master data, the integration can create follow-up steps directly in onOffice. An agents log entry records that an enquiry has arrived. A task reminds the responsible agent to call back, and an appointment can be created for a confirmed viewing.
- For agents log entries, the kind and type of action must exist in your account. They are queried from onOffice.
- For tasks, the type may be a required field depending on your account settings.
- These steps are triggered by workflow actions; the execution log shows whether each call succeeded.
Prefill and personalised links
The integration can read addresses and estates from onOffice by record ID. This allows forms to be prefilled. A contact who already exists in onOffice receives a personalised link and sees their known details already filled in. They only add what is missing or has changed.
- Data update: prospects confirm or change their contact details and search profile.
- Property-related forms: in a viewing request, the property is already selected.
- On-site property intake: the agent opens the form for an existing estate and adds features.
The quick search can also be used to find addresses and estates in onOffice, for example to select a property in the form. Customers therefore do not need to know property numbers.
Data protection during transfer
By transferring data to onOffice, you pass personal data to another system. Clarify whether your privacy notices cover this and check the data processing agreements under Art. 28 GDPR with both providers. Transfer only fields that are actually needed in onOffice. This note is not legal advice.
Testing and understanding errors
- Run the connection test and load the field configuration.
- Create a test form with a few fields and define the mapping.
- Submit it using your own test e-mail and check the result in onOffice.
- Submit again with the same e-mail and confirm that no duplicate is created.
- Only then add further fields, search criteria and relations.
If a transfer fails, the execution log shows the API’s response. The onOffice documentation describes only a few error codes specifically; other errors are displayed generically. Failed actions are retried automatically, and the submission itself is always kept in Ankerform.
Put it into practice in Ankerform
This article is for general information and is not legal advice.



