English
Whise
Records or updates a prospect (including an estate request), finds a contact, gets or finds an estate, logs an exchange in the Whise agency history.
The Whise node connects a real estate agency’s mailbox to its Whise software: it records a prospect from an email (with their request about an estate), finds a contact, gets an estate or finds it by reference, and logs the exchange in the agency history.
See Whise to create the connection.
At a glance
- Type:
whise.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: Writes outside (
external_write) — writes outside Loop & Roll; described instead of performed during a test run - Needs a carrier email: No
- Connection: Whise
- Inputs:
main - Outputs:
main
Connection
This node needs a Whise connection.
Parameters
connection
Whise connection — The Whise connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
contact.upsert - Options:
contact.upsert— Create or update a contactcontact.find— Find a contactestate.get— Get an estateestate.find— Find an estate by referencehistory.create— Log an exchange in the history
email
Email address
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 70 characters at most
- Example:
{{ email.from.email }} - Shown when:
actionis one ofcontact.upsert,contact.find - Expressions:
{{ }}accepted
name
Last name
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 50 characters at most
- Shown when:
actioniscontact.upsert - Expressions:
{{ }}accepted
firstName
First name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 50 characters at most
- Shown when:
actioniscontact.upsert - Expressions:
{{ }}accepted
phone
Mobile phone
- Type: Text (
string) - Required: No
- Default:
""(empty) - 40 characters at most
- Shown when:
actioniscontact.upsert - Expressions:
{{ }}accepted
officeId
Office (OfficeID)
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 15 characters at most
- Shown when:
actioniscontact.upsert - Expressions:
{{ }}accepted
languageId
Language (Whise ID) — The language ID from the Whise reference table (“language” lookup).
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 10 characters at most
- Shown when:
actioniscontact.upsert - Expressions:
{{ }}accepted
countryId
Country (Whise ID) — The country ID from the Whise reference table (“country” lookup).
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 10 characters at most
- Shown when:
actioniscontact.upsert - Expressions:
{{ }}accepted
estateIds
Estates concerned — One or more estate IDs, separated by commas.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
actionis one ofcontact.upsert,history.create - Expressions:
{{ }}accepted
message
Message
- Type: Long text (
text) - Required: No
- Default:
""(empty) - 3000 characters at most
- Example:
{{ email.bodyText }} - Shown when:
actionis one ofcontact.upsert,history.create - Expressions:
{{ }}accepted
estateId
Estate (ID)
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 15 characters at most
- Shown when:
actionisestate.get - Expressions:
{{ }}accepted
reference
Estate reference
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 60 characters at most
- Shown when:
actionisestate.find - Expressions:
{{ }}accepted
subject
Subject
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 250 characters at most
- Example:
{{ email.subject }} - Shown when:
actionishistory.create - Expressions:
{{ }}accepted
contactIds
Contacts concerned — One or more contact IDs, separated by commas.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Example:
{{ data.<step>.contactId }} - Shown when:
actionishistory.create - Expressions:
{{ }}accepted
Outputs
main— Taken once the call to Whise succeeds, whatever the action. An error response from Whise fails the step instead.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.contactId }}—string. Create or update a contact: the contact ID. Find a contact: that of the first one found, empty otherwise.{{ data.<step>.found }}—boolean. Find a contact, Get or Find an estate: true when an item matches.{{ data.<step>.contact }}—{ id, name, firstName, email, phone, mobile, city, createdAt, updatedAt }. Find a contact: the first one found, null otherwise.{{ data.<step>.contacts }}—array of { id, name, firstName, email, phone, mobile, city, createdAt, updatedAt }. Find a contact: the contacts found, ten at most.{{ data.<step>.estate }}—{ id, name, referenceNumber, address, zip, city, price, rooms, area, status, purpose, category, officeId, createdAt, updatedAt }. Get or Find an estate: the estate, null when it does not exist.{{ data.<step>.estateId }}—string. Find an estate by reference: its ID, empty when nothing is found.{{ data.<step>.activityId }}—string. Log an exchange: the ID of the activity created.{{ data.<step>.simulated }}—boolean. Writes: true when the write was described instead of done (test run).{{ data.<step>.summary }}—string. The one-line summary in the member’s language (withsummaryKeyandsummaryParams).
Operations
The node has a single Action parameter (action). Each action calls the Whise API with the connection’s client token.
- Create or update a contact (
contact.upsert, the default): Email address, Last name, Office (OfficeID), Language and Country (IDs from the Whise reference tables) required; first name and Mobile phone optional. Whise recognises the contact by its address: if it exists, only the name, first name, address, estates, criteria, comments and message are updated. Estates concerned and Message turn it into a request about one or more estates. - Find a contact (
contact.find) by email address, ten results at most. - Get an estate (
estate.get) by its ID; Find an estate by reference (estate.find). - Log an exchange in the history (
history.create): Subject required, Message, and at least one contact or estate concerned (IDs separated by commas). The exchange is dated at the time of the step.
The consent to phone canvassing (AgreePhoneCall) is never sent: only the person can give it, and a workflow reading an email has no business assuming it.
Example
A portal forwards a buyer’s request about the estate with reference A-1234. An estate node finds it (estate.find), then a second one records the prospect and their request:
text
action contact.upsert
email {{ email.from.email }}
name {{ email.from.name }}
officeId <the office’s OfficeID>
languageId <the Whise language ID>
countryId <the Whise country ID>
estateIds {{ data.estate.estateId }}
message {{ email.bodyText }}Tips
- Testing. Reads go out for real in a test run; recording a contact and logging an exchange are only described (
simulatedis true). - Reference IDs. Language and country are IDs from the Whise reference tables (“language” and “country” lookups), not names.
- Errors.
integration.unauthorized: the credentials were refused or the service is no longer activated, check the connection.integration.rejected: Whise refused the request (missing field, invalid value), fix the settings.integration.rate_limitedandintegration.unavailableare retried automatically. An empty required parameter or an ID that is not a whole number fails the step withnode_invalid_param, before any call. See Error handling.