Skip to content

WPForms

WP-ImmoMakler can use an existing WPForms form as the property contact form. Incoming enquiries are automatically forwarded to the contact email address of the requested property.

With WP-ImmoMakler PLUS, an OpenImmo Feedback XML file can additionally be attached to any number of WPForms forms, allowing your real estate CRM software to process incoming enquiries automatically.

Also with WP-ImmoMakler PLUS, you can extend any WPForms form with a Propstack newsletter signup with double opt-in — either as an opt-in on an existing form or as a standalone newsletter form.

If you are currently only using a WP-ImmoMakler BASIC licence, you can upgrade at any time and only pay the difference — if you are interested, please contact our Support.

The plugin WPForms (Lite or Pro) must be installed and activated.

Feature BASIC PLUS
Use a WPForms form as the property contact form ✓ ✓
Automatically set the recipient to the property contact person ✓ ✓
Structured property summary in the notification email ✓ ✓
Attach OpenImmo Feedback XML to notifications – ✓
XML attachment for multiple forms simultaneously (any WPForms form, not just the property contact form selected above) – ✓
Propstack newsletter signup with double opt-in in the form – ✓

In your website’s admin area, you can set which WPForms form should be displayed on your property detail pages instead of the WP-ImmoMakler contact form. You can select a form that is displayed on all detail pages.

Navigate in your WordPress admin (wp-admin) to WP-ImmoMakler → Integrations → WPForms.

WPForms integration in WP-ImmoMakler settings
  1. Activate integration

    Toggle the switch.

  2. Property contact form

    Select the WPForms form to display on detail pages.

  3. Save

If WPML or Polylang is active, the tab shows a separate selection field below Property contact form for each additional language, for example Property contact form (English). The form selected there appears on the property detail pages in that language.

The form in the Property contact form field applies to your website’s default language and to every language set to Use the default language form.

You configure the recipient, XML attachment and PDF exposé settings in each form individually, as described in the following sections.

All further settings (recipient override, XML attachment) have been configured per notification directly in the WPForms form editor since WP-ImmoMakler version 5.60 — see the sections below.

Replace Recipient with Property Contact Person

Section titled “Replace Recipient with Property Contact Person”

Should a form notification be sent to the contact person of the requested property — instead of the recipient statically defined in WPForms? Configure this per notification in the WPForms form editor.

Open the desired form in the WPForms form editor and switch to Settings → Notifications. Within each notification you will find the toggle WP-ImmoMakler: Replace recipient with property contact person.

Toggle 'WP-ImmoMakler: Replace recipient with property contact person' in the WPForms notification block

When the toggle is active and the form is submitted on a property detail page or a property has been selected in the Property (WP-ImmoMakler) field, WP-ImmoMakler automatically replaces the stored WPForms recipient with the kontaktperson_email_feedback data field of the requested property. Other form notifications (e.g. a confirmation email to the enquirer) remain unchanged.

If a form is not on a property’s detail page, for example a general contact form or a form on a landing page, the enquirer can choose the property they are enquiring about themselves. This is what the Property (WP-ImmoMakler) field is for (Property (WP-ImmoMakler)): a dropdown list of all published properties showing object number, town and title, which can be searched by typing the object number, a word from the title, the town or the postcode.

  1. Add the field

    Open the form in the WPForms form editor and drag the Property (WP-ImmoMakler) field from the Fancy Fields group into your form.

    WPForms form editor: 'Property (WP-ImmoMakler)' button in the field list and the 'Property' field with the placeholder 'Object number, title, postcode, town' in the form preview
  2. Configure the field

    Under General you set the label, description and whether the field is required; under Advanced the field size and placeholder. You do not maintain the choices yourself: each time the page is loaded, the list contains the properties currently published, including those just transferred from your real estate CRM software.

    Two toggles under General determine what the list shows besides the object number. Both are on by default, so an entry looks like this, for example: W-10 – Hamburg – Altbauwohnung am Park.

    • Show title in the list: When the toggle is off, the list shows no titles and can no longer be searched by them. The notification and the saved entries still include the title as well.
    • Show city in the list: Shows the town and makes the list searchable by town and postcode. The postcode itself does not appear in the list. When the toggle is off, the list shows no town and cannot be searched by town or postcode.

The selected property counts as the requested property, exactly as on a property detail page. It determines

  • the property details in the OpenImmo feedback XML PLUS: the <objekt> element contains object number, exposé link, address, price and the property’s other details, as with the WP-ImmoMakler contact form,
  • the recipient, if the WP-ImmoMakler: Replace recipient with property contact person toggle is active,
  • the property summary in the notification and the {immomakler_property} smart tag,
  • the attached PDF exposé PLUS.

If the form is displayed on a property detail page, that property is preselected in the field. If the enquirer chooses a different one, their choice applies. If an optional field is left empty, the page the form was submitted from counts, as before.

On multilingual websites (WPML, Polylang), the list includes each property once, with the title of its translation in the language of the page. If a property has no translation in that language, it appears with the title of the original.

You can change which properties the field offers and how they are labelled with the immomakler_wpforms_property_choices filter (see PHP Filters). When the Show title in the list toggle is off, the field shows the object number instead of the label from the filter. The field puts the town after the object number; a label that does not begin with the object number is left unchanged.

OpenImmo Feedback XML Attachment PLUS

Section titled “OpenImmo Feedback XML Attachment ”

Since WP-ImmoMakler 5.60, the XML attachment is configured directly in the respective WPForms form — no longer in the global settings tab. This allows you to activate the attachment for any number of forms simultaneously — including forms that exist independently of the property contact form selected above. Examples:

  • A separate buyer form and a separate tenant form, both embedded on property detail pages.
  • A direct enquiry or callback form on a landing page for a specific property project — setup is explained in Step 3 below.
  • A viewing appointment form displayed exclusively for premium properties.

The form does not need to be a “WP-ImmoMakler form” and does not need to be the property contact form selected above. If the enquiry should be associated with a property, the form must be submitted from a property detail page or contain a Property (WP-ImmoMakler) field. Otherwise the <objekt> element will contain no property fields, but only the contact data under <interessent>.

The configuration consists of the following steps per form:

  1. Assign each form field to an OpenImmo XML node.
  2. Enable the XML attachment per notification.
  3. Optional, for landing pages with a specific property project: Create a project selection field and assign it to the property.
  1. Assign Fields to OpenImmo XML Nodes

    Open the form in the WPForms form editor and click on the desired field. In the Field Options → Advanced tab you will find the new selector OpenImmo XML field (WP-ImmoMakler).

    Selector 'OpenImmo XML field (WP-ImmoMakler)' in the 'Advanced' tab of a WPForms form field

    Assign one of the following XML nodes per field.

    Nodes for the enquirer (placed in the interessent element):

    anrede, vorname, nachname, firma, strasse, plz, ort, tel, email

    Nodes for the property (placed in the objekt element):

    bezeichnung (Objekt) — the property description. See the section “Property description from form fields” below.

    Property description from form fields

    The bezeichnung (Objekt) node describes not the enquirer but the property. It is particularly suited for general enquiry forms where the enquirer specifies what they are looking for.

    • Multiple-choice and checkbox fields are written comma-separated into the bezeichnung node (example: Semi-detached house, Detached house, Villa).
    • On a property detail page, bezeichnung is already populated with the property title by default. If a form field is additionally assigned, its value is appended to the title with an em dash (example: Beautiful city flat — Semi-detached house, Detached house).
    • Without a property detail page (e.g. on a landing page), bezeichnung contains exclusively the value of the assigned form field.

    Combined “Name” Fields (First Name + Last Name)

    For a WPForms field of type Name with the format First Last (or First Middle Last), two selectors appear in the Advanced tab:

    • OpenImmo XML field for “First name”
    • OpenImmo XML field for “Last name”

    This allows you to write first and last name to two separate XML nodes (typically vorname and nachname).

    Two selectors in the 'Advanced' tab of a WPForms Name field: 'OpenImmo XML field for First name' and '... for Last name'

    Fields without Assignment

    All fields without an explicit assignment are collected and sent in the XML element interessent → anfrage as free text. The values of ticked checkbox fields appear there under the heading “Confirmed:”. Once you explicitly assign a checkbox or multiple-choice field to an XML node (e.g. bezeichnung), its value is only transferred there comma-separated and is no longer additionally listed in the free text.

  2. Enable XML Attachment per Notification

    Switch to Settings → Notifications in the same form. Within each notification you will find the toggle WP-ImmoMakler: Send OpenImmo Feedback XML.

    Toggle 'WP-ImmoMakler: Send OpenImmo Feedback XML' in the WPForms notification block

    Enable the toggle for each notification to which the XML should be attached. Other form notifications (e.g. a confirmation email to the enquirer) remain unchanged.

  3. Store / Assign the Project ID

    If the form is embedded on a landing page for a specific property project, you can create a dropdown field with your projects and assign it to the OpenImmo XML node bezeichnung (Objekt). The enquiry will then arrive in your real estate CRM software with the selected project as the property description.

    Here is how to store and assign the project ID:

    First, create a Dropdown field (e.g. “Project selection”) in the General tab and enter your projects as choices:

    WPForms editor: Dropdown field 'Project selection' in the General tab with choices Project 1, Project 2, Project 3

    Then switch to the Advanced tab and assign the field to the node bezeichnung (Objekt) under OpenImmo XML field (WP-ImmoMakler):

    WPForms editor: Dropdown field 'Project selection' in the Advanced tab with OpenImmo XML node 'bezeichnung (Objekt)' assigned

    Once an enquirer submits the form, the selected project name is written to the XML element objekt → bezeichnung and automatically matched to the corresponding project in your real estate CRM software.

If your installation was already using the OpenImmo Feedback XML feature before updating to 5.60, WP-ImmoMakler automatically migrates the previous configuration into the selected form on the first wp-admin load after the update: the old XML activation enables the matching Send toggle in the previously selected notification, and the old field assignments are written into the respective form fields. No manual follow-up is required.

If no XML attachment was active before the update, everything remains quiet after the update — no form will unexpectedly start sending XML.

Property Details in the Notification Email

Section titled “Property Details in the Notification Email”

Independently of the XML attachment, WP-ImmoMakler appends a structured summary of the requested property to every notification of the property contact form (see “Set Up the Property Contact Form” above): featured image, title, object number, address, number of rooms, area, price, and commission note. The summary appears at the end of the message under the heading “Requested object:”.

If the summary should appear elsewhere in the message, for example directly below the enquirer’s details, insert the smart tag {immomakler_property} there. In the WPForms form editor, under Settings → Notifications, you find it in the smart tag menu of the message field as WP-ImmoMakler: Inquired property, or you can type it directly into the text.

The smart tag outputs the summary without a heading, so you can write your own in front of it, for example:

Requested property:
{immomakler_property}
Personal message:
{field_id="5"}

If the message of a notification contains the smart tag, WP-ImmoMakler does not append the summary to the end of that notification again. Other notifications of the same form without the smart tag still receive it at the end.

The smart tag works in every WPForms form submitted on a property detail page or in whose Property (WP-ImmoMakler) field a property has been selected, not only in the selected property contact form. Without a property, it stays empty. With the WPForms email template “Plain text”, the summary is output as plain text without the featured image.

Every notification of a WPForms form can send the PDF exposé of the requested property as an attachment. The toggle sits per notification, so for example the email to the enquirer receives the exposé while the internal email to your team does not.

Switch to Settings → Notifications in the form and enable WP-ImmoMakler: Attach PDF Exposé there.

'WP-ImmoMakler: Attach PDF Exposé' toggle in the WPForms notification block

Two conditions must be met for a PDF to be attached:

  • The PDF print view is enabled (in your WordPress admin (wp-admin) under WP-ImmoMakler → Settings → PDF Print View).
  • The form is submitted on a property detail page, or the enquirer has selected a property in the Property (WP-ImmoMakler) field. On a page without a property reference — for example a general contact form — there is no property for an exposé to belong to, and the notification is sent without an attachment.

If you use Propstack as your real estate CRM software, any WPForms form can additionally trigger a newsletter signup with double opt-in. When the sender ticks the consent checkbox you chose, WP-ImmoMakler creates the contact in Propstack and lets Propstack send the confirmation email.

This works in two variants:

  • Opt-in on an existing form — your contact or enquiry form stays unchanged and simply gets an additional checkbox.
  • Standalone newsletter form — a form that exclusively triggers the confirmation email and sends no notification.

The feature is set up per form in the WPForms form editor under Settings → General → Advanced in the WP-ImmoMakler: Propstack Newsletter section. This requires an active Propstack connection with a sender and email template, which you store in your WordPress admin (wp-admin) under WP-ImmoMakler → Software/Portals → Propstack.

// Override recipient email for testing purposes (BASIC + PLUS).
add_filter( 'immomakler_mail_force_recipient_email', function ( $email ) {
return 'test@example.com';
} );
// Override sender name in the OpenImmo Feedback XML (PLUS).
add_filter( 'immomakler_openimmofeedback_sender_name', function ( $name ) {
return 'My Estate Agency';
} );
// Which custom field of the property is written to the <oobj_id> XML element? (PLUS)
// Default: 'objektnr_extern'.
add_filter( 'immomakler_openimmofeedback_key_for_oobj_id', function ( $key, $post_id ) {
return 'my_property_id';
}, 10, 2 );
// Only offer properties for sale in the "Property (WP-ImmoMakler)" field
// and append the living area to the label (BASIC + PLUS).
add_filter( 'immomakler_wpforms_property_choices', function ( array $choices ): array {
foreach ( $choices as $objektnr => $choice ) {
if ( ! get_post_meta( $choice['post_id'], 'kauf', true ) ) {
unset( $choices[ $objektnr ] );
continue;
}
$choices[ $objektnr ]['label'] .= ' (' . get_post_meta( $choice['post_id'], 'wohnflaeche', true ) . ' m²)';
}
return $choices;
} );

Global (WP-ImmoMakler → Integrations → WPForms)

Section titled “Global (WP-ImmoMakler → Integrations → WPForms)”
Label Type Default Description
Activate integration Toggle false Enables WPForms as the property contact form
Property contact form Select – WPForms form for the detail pages

Per WPForms Notification (Settings → Notifications)

Section titled “Per WPForms Notification (Settings → Notifications)”
LabelTypeDescription
WP-ImmoMakler: Replace recipient with property contact personToggleReplaces the WPForms recipient with kontaktperson_email_feedback
WP-ImmoMakler: Send OpenImmo Feedback XML PLUSToggle Attaches the XML to this specific notification
WP-ImmoMakler: Attach PDF Exposé PLUSToggle Attaches the property’s PDF exposé to this specific notification

Per WPForms Form (Settings → General → Advanced) PLUS

Section titled “Per WPForms Form (Settings → General → Advanced) ”
Label Type Description
Enable Propstack newsletter signup Toggle Turns on the newsletter signup for this form
Consent checkbox Select The checkbox option whose activation triggers the confirmation email
Email field Select The form field containing the email address
First name field / Last name field Select Optional — text field or WPForms name field
Salutation field Select Optional — dropdown or multiple-choice field with the salutation. Mr/Mrs and their German, French and Spanish equivalents, including abbreviations (e.g. Mrs., Mme, Sra.), are recognised

Per WPForms Form Field (Field Options → Advanced) PLUS

Section titled “Per WPForms Form Field (Field Options → Advanced) ”
Label Type Description
OpenImmo XML field (WP-ImmoMakler) Select Assigns the form field to an XML node — Enquirer: anrede, vorname, nachname, firma, strasse, plz, ort, tel, email; Property: bezeichnung (Objekt) (multiple-choice and checkbox values are written comma-separated)
OpenImmo XML field for “First name” / “Last name” Select Per sub-field of a combined Name field