English
PriceHubble
Values a property for sale or rent, and creates, updates, reads or lists the leads of your online valuation tool.
The PriceHubble node values a property for sale or rent and manages the leads of your PriceHubble online valuation tool. Its most common use answers an owner who asks what their property is worth: an extraction step reads the address, area and rooms from the email, PriceHubble returns a range with a confidence level, and a draft reply is prepared for an agent to review.
It works with a PriceHubble API username and password, saved once in Connections. See PriceHubble to create it.
At a glance
- Type:
pricehubble.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: PriceHubble
- Inputs:
main - Outputs:
main
Connection
This node needs a PriceHubble connection.
Parameters
connection
PriceHubble connection — The PriceHubble connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
operation
Operation
- Type: One choice (
options) - Required: Yes
- Default:
valuation - Options:
valuation— Value a property: Sale price or rent, with a range and a confidence level.lead.create— Create a lead: An owner or a tenant, with your reference to find it again.lead.update— Update a lead: Only the filled-in fields are sent.lead.get— Get a lead: By its PriceHubble id.lead.list— List leads: Filterable by name and by contact request.
dealType
Market
- Type: One choice (
options) - Required: No
- Default:
sale - Options:
sale— Salerent— Rental
- Shown when:
operationis one ofvaluation
countryCode
Country (ISO code)
- Type: Text (
string) - Required: No
- Default:
FR - 2 characters at most
- Shown when:
operationis one ofvaluation - Expressions:
{{ }}accepted
propertyType
Property type
- Type: One choice (
options) - Required: No
- Default:
apartment - Options:
apartment— Apartmenthouse— Housemulti_family_house— Multi-family house
- Shown when:
operationis one ofvaluation
street
Street
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Shown when:
operationis one ofvaluation - Expressions:
{{ }}accepted
houseNumber
House number
- Type: Text (
string) - Required: No
- Default:
""(empty) - 20 characters at most
- Shown when:
operationis one ofvaluation - Expressions:
{{ }}accepted
postCode
Post code — Post code and city are required without coordinates.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 10 characters at most
- Shown when:
operationis one ofvaluation - Expressions:
{{ }}accepted
city
City
- Type: Text (
string) - Required: No
- Default:
""(empty) - 100 characters at most
- Shown when:
operationis one ofvaluation - Expressions:
{{ }}accepted
latitude
Latitude — Optional: with the longitude, it replaces the address.
- Type: Number (
number) - Required: No
- From -90 to 90
- Shown when:
operationis one ofvaluation
longitude
Longitude
- Type: Number (
number) - Required: No
- From -180 to 180
- Shown when:
operationis one ofvaluation
livingArea
Living area (m²)
- Type: Number (
number) - Required: No
- At least 0
- Shown when:
operationis one ofvaluation
buildingYear
Building year
- Type: Number (
number) - Required: No
- Whole number, from 1000 to 2100
- Shown when:
operationis one ofvaluation
numberOfRooms
Rooms — From 1 to 12.
- Type: Number (
number) - Required: No
- From 1 to 12
- Shown when:
operationis one ofvaluation
floorNumber
Floor
- Type: Number (
number) - Required: No
- Whole number
- Shown when:
operationis one ofvaluation
hasLift
Lift
- Type: Yes / no (
boolean) - Required: No
- Default:
false - Shown when:
operationis one ofvaluation
parkingSpaces
Indoor parking spaces
- Type: Number (
number) - Required: No
- Whole number, at least 0
- Shown when:
operationis one ofvaluation
gardenArea
Garden area (m²)
- Type: Number (
number) - Required: No
- At least 0
- Shown when:
operationis one ofvaluation
balconyArea
Balcony area (m²)
- Type: Number (
number) - Required: No
- At least 0
- Shown when:
operationis one ofvaluation
leadId
Lead — The PriceHubble id of the lead (UUID).
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 64 characters at most
- Shown when:
operationis one oflead.update,lead.get - Expressions:
{{ }}accepted
firstName
First name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 100 characters at most
- Shown when:
operationis one oflead.create,lead.update - Expressions:
{{ }}accepted
lastName
Last name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 100 characters at most
- Shown when:
operationis one oflead.create,lead.update - Expressions:
{{ }}accepted
email
- Type: Text (
string) - Required: No
- Default:
""(empty) - 254 characters at most
- Example:
{{ email.from.address }} - Shown when:
operationis one oflead.create,lead.update - Expressions:
{{ }}accepted
phoneNumber
Phone
- Type: Text (
string) - Required: No
- Default:
""(empty) - 40 characters at most
- Shown when:
operationis one oflead.create,lead.update - Expressions:
{{ }}accepted
leadType
Lead type
- Type: One choice (
options) - Required: No
- Default:
owner - Options:
any— Not specifiedowner— Ownertenant— Tenant
- Shown when:
operationis one oflead.create,lead.update
state
State — Free text (1 to 255 characters): “to call back”, “valuation sent”.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 255 characters at most
- Shown when:
operationis one oflead.create,lead.update - Expressions:
{{ }}accepted
sourceLeadId
Your reference — Your id for the lead: it lets you find it in the list.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 255 characters at most
- Shown when:
operationis one oflead.create - Expressions:
{{ }}accepted
searchText
Name to search — First or last name (25 characters at most).
- Type: Text (
string) - Required: No
- Default:
""(empty) - 25 characters at most
- Shown when:
operationis one oflead.list - Expressions:
{{ }}accepted
requestContactOnly
Contact requests only
- Type: Yes / no (
boolean) - Required: No
- Default:
false - Shown when:
operationis one oflead.list
orderBy
Order by
- Type: One choice (
options) - Required: No
- Default:
contact_request_date - Options:
contact_request_date— Contact requestcreated_at— Creationlast_microsite_access— Last microsite visithighest_microsite_views— Microsite views
- Shown when:
operationis one oflead.list
limit
Maximum count
- Type: Number (
number) - Required: No
- Default:
24 - Whole number, from 1 to 300
- Shown when:
operationis one oflead.list
Outputs
main— Taken once the PriceHubble call succeeded. An error from PriceHubble 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>.value }}—number. Value a property only: the estimated sale price (salePrice) or gross rent (rentGross).{{ data.<step>.low }}—number. Value a property only: the low end of PriceHubble’s range.{{ data.<step>.high }}—number. Value a property only: the high end of PriceHubble’s range.{{ data.<step>.confidence }}—string. Value a property only:poor,mediumorgood.{{ data.<step>.currency }}—string. Value a property only: the currency of the value and the range.{{ data.<step>.leadId }}—string. Create and Update a lead: the lead’s id (empty when a creation is only described in a test run).{{ data.<step>.lead }}—{ id, firstName, lastName, email, phoneNumber, leadType, state, source, sourceLeadId, requestContact, requestContactDate, micrositeUrl, dossierIds, ownedBy }. Get a lead and Update a lead: the lead.{{ data.<step>.leads }}—array of lead. List leads only: the leads, in the chosen order.{{ data.<step>.count }}—number. List leads only: the number of leads returned.{{ data.<step>.simulated }}—boolean. true when a lead write was described instead of done (test run). The valuation always really runs.{{ data.<step>.summary }}—string. The one-line summary in the member’s language (withsummaryKeyandsummaryParams).
Operations
- Value a property (
valuation, the default).POST /api/v1/valuation/property_valuefor one property at today’s date: Market (sale or rental), Country (ISO code) (FRby default), Property type (apartment, house, multi-family house), the address (Post code and City required, Street and House number optional) or Latitude and Longitude, and optionally the living area, building year, rooms (1 to 12), floor, lift, indoor parking spaces, garden and balcony areas. It is a read: it really runs in a test run too. - Create a lead (
lead.create).POST /api/v1/leadswith first name, last name, phone and email (all four required), the lead type, a free-text state and Your reference (sourceLeadId). - Update a lead (
lead.update).PATCH /api/v1/leads/{id}: only the fields filled in are sent. - Get a lead (
lead.get) and List leads (lead.list, filterable by name and contact requests, in the chosen order, up to Maximum count).
Example
An owner writes in. An Extract step named read returns the street, post code, city, area and rooms:
text
operation valuation
propertyType apartment
street {{ data.read.street }}
postCode {{ data.read.zip }}
city {{ data.read.city }}
livingArea {{ data.read.surface }}
numberOfRooms {{ data.read.rooms }}A Compose step then drafts a reply quoting {{ data.<step>.low }} to {{ data.<step>.high }} {{ data.<step>.currency }}.
Tips
- The token. The connection’s username and password are exchanged once for a token valid twelve hours, kept in the server’s memory: PriceHubble bans clients that log in on every call.
- No trigger. The PriceHubble lead list carries no creation date per lead and its order direction is not documented: new leads cannot be watched reliably. Use List leads in a scheduled workflow instead.
- Errors.
integration.unauthorized: the username or password was refused.integration.rejected: PriceHubble could not value the property (its message is kept in the error). See Error handling.