EasyBroker ACTION
Create Property
Creates a new property listing in EasyBroker with full details including title, price, location, bedrooms, bathrooms, parking, size, description, amenities, photos, and status. See the documentation
- Action
- Writes data
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's EasyBroker account once, then configure and run Create Property from your backend or agent.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "easybroker-create-property",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
easybroker: { authProvisionId: "apn_xxxxxxx" },
propertyType: "Property Type",
title: "Title",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "easybroker-create-property",
"configured_props": {
"easybroker": { "authProvisionId": "apn_xxxxxxx" },
"propertyType": "Property Type",
"title": "Title"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "easybroker",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "easybroker-create-property",
arguments: {
propertyType: "Property Type",
title: "Title",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
propertyType Property Type | string | The name of the property type. Use the List Property Types action to retrieve all available values. Example: Casa Required |
title Title | string | The property listing title Required |
description Description | string | The property listing description Required |
status Status | string | The property listing status Required |
operations Operations | any | An array of operation objects. For a sale or rental: [{"type":"sale","currency":"USD","amount":250000,"active":true}]. For a temporary rental: [{"type":"temporary_rental","currency":"USD","active":true,"rates":[{"type":"daily","amount":150}]}]. Accepted type values: sale, rental, temporary_rental. Optional fields per operation: unit (enum: total, square_meter, hectare), commission ({type: amount|percentage|months, value: number, currency: string}), foreclosure (boolean, Mexico only) Required |
locationName Location Name | string | Location in Neighborhood, City, State format matching a location from the locations endpoint. Example: Polanco, Ciudad de México, Ciudad de México Optional |
locationStreet Location Street | string | Street name. Required by the API if the property is not land-type and Show Exact Location is enabled Optional |
locationExteriorNumber Location Exterior Number | string | Address exterior number Optional |
locationInteriorNumber Location Interior Number | string | Address interior number Optional |
locationCrossStreet Location Cross Street | string | Intersecting street name Optional |
locationPostalCode Location Postal Code | string | Postal/zip code Optional |
locationLatitude Location Latitude | string | Geographic latitude coordinate. Example: 25.6866142 Optional |
locationLongitude Location Longitude | string | Geographic longitude coordinate. Example: -100.3161126 Optional |
privateDescription Private Description | string | Internal notes visible only to your team Optional |
agent Agent | string | EasyBroker account email of the assigned agent Optional |
showPrices Show Prices | boolean | Show or hide listing prices on EasyBroker Optional |
bedrooms Bedrooms | integer | Number of bedrooms Optional |
bathrooms Bathrooms | integer | Number of bathrooms Optional |
halfBathrooms Half Bathrooms | integer | Number of half bathrooms Optional |
parkingSpaces Parking Spaces | integer | Number of parking spaces Optional |
age Age | string | Property age. Use under_construction, new_construction, or a four-digit construction year. Example: 2010 Optional |
floor Floor | string | Floor number or a custom value. Example: Penthouse Optional |
floors Floors | integer | Number of floors in the building Optional |
expenses Expenses | string | Monthly property expenses amount Optional |
internalId Internal ID | string | Unique organizational ID. Accepts letters, numbers, hyphens, underscores, commas, periods, ampersands, and forward slashes Optional |
tags Tags | string[] | Associated tags for the property Optional |
features Features | string[] | Property feature names from the features endpoint Optional |
shareCommission Share Commission | boolean | Share commission with other agencies Optional |
collaborationNotes Collaboration Notes | string | Collaboration conditions or details Optional |
images Images | any | An array of image objects. Each object requires a url (valid HTTP/HTTPS URL with .jpg, .png, .gif, .bmp, or .heic extension) and accepts an optional title. Maximum 50 images, 6MB per image, minimum 500px. Example: [{"url":"https://example.com/image.jpg","title":"Front view"}] Optional |
videos Videos | string[] | YouTube video links for the property Optional |
virtualTour Virtual Tour | string | Virtual tour URL Optional |
showExactLocation Show Exact Location | boolean | Show or hide the exact address and map pin Optional |
constructionSize Construction Size | integer | Construction size in square meters Optional |
lotSize Lot Size | integer | Lot size in square meters Optional |
lotLength Lot Length | integer | Lot length in meters Optional |
lotWidth Lot Width | integer | Lot width in meters Optional |
coveredSpace Covered Space | integer | Covered space in square meters (unavailable in Mexico) Optional |
uncoveredSpace Uncovered Space | integer | Uncovered space in square meters (Mexico and Argentina only) Optional |
exclusive Exclusive | boolean | Listing exclusivity indicator Optional |
sharedCommissionPercentage Shared Commission Percentage | integer | Agency fee percentage shared with other agencies. Currently only 50 or leave blank for none Optional |
REFERENCE
Tool details
Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.
- Registry key
- easybroker-create-property
- Version
- 0.0.2
- App
- EasyBroker
- Authentication
- API key
- Read-only
- No
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗