View as Markdown
Melo icon

Melo TRIGGER

New Property Created (Instant)

Emit new event when a new property ad is created in Melo. Requires a Production Environment.
  • Trigger
  • Instant
  • API key
  • Webhook delivery

IMPLEMENTATION

Deploy this event source

Connect the user's Melo account, configure the source, and choose the webhook where your backend receives events.

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 deployed = await pd.triggers.deploy({
  id: "melo-new-property-created",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    melo: { authProvisionId: "apn_xxxxxxx" },
    title: "Title",
    transactionType: "Transaction Type",
  },
  webhookUrl: "https://example.com/webhooks/melo",
})

console.log(deployed.id)

MCP exposes on-demand actions. Event sources are deployed through the Connect SDK or API because they continue listening after the initial request.

SCHEMA

Configuration

These inputs define which events the source watches. Dynamic options are loaded from the connected account.

New Property Created (Instant) configuration
Property Type Description
title Title string
Title of the created search.
Required
transactionType Transaction Type string
Type of transaction. Sell 0, Rent 1.
Required
propertyTypes Property Types string[]
Type of property. Apartment 0, House 1, Building 2, Parking 3, Office 4, Land 5, Shop 6. Example: propertyTypes[]=0&propertyTypes[]=1
Required
bedroomMin Minimum Bedrooms integer
Minimum number of bedrooms in the property.
Optional
bedroomMax Maximum Bedrooms integer
Maximum number of bedrooms in the property.
Optional
budgetMin Minimum Budget integer
Minimum budget for the property.
Optional
budgetMax Maximum Budget integer
Maximum budget for the property.
Required
excludedCities Excluded Cities string[]
Cities to be excluded.
Optional
excludedSiteCategories Excluded Site Categories string[]
Site categories to be excluded.
Optional
furnished Furnished boolean
Whether the property is furnished or not.
Optional
hidePropertyContact Hide Property Contact boolean
Whether to hide property contact information or not.
Optional
includedCities Included Cities string[]
Included cities.
Optional
includedDepartments Included Departments string[]
Included departments.
Optional
includedSiteCategories Included Site Categories string[]
Included site categories.
Optional
includedZipcodes Included Zipcodes string[]
Included zipcodes.
Optional
landSurfaceMax Maximum Land Surface integer
Maximum land surface.
Optional
landSurfaceMin Minimum Land Surface integer
Minimum land surface.
Optional
lat Latitude string
Latitude. Will work if latitude exists in the property.
Optional
lon Longitude string
Longitude. Will work if latitude exists in the property.
Optional
pricePerMeterMax Maximum Price Per Meter integer
Maximum price per meter.
Optional
pricePerMeterMin Minimum Price Per Meter integer
Minimum price per meter.
Optional
publisherTypes Publisher Types string[]
Type of publisher. Individual 0, Professional 1.
Optional
radius Radius integer
Distance expressed in kilometers. Will work if latitude & longitude parameters are also set.
Optional
roomMin Minimum Number of Rooms integer
Minimum number of rooms.
Optional
roomMax Maximum Number of Rooms integer
Maximum number of rooms.
Optional
surfaceMax Maximum Surface Area integer
Maximum property surface area.
Optional
surfaceMin Minimum Surface Area integer
Minimum property surface area.
Optional
withCoherentPrice With Coherent Price boolean
Having properties with coherent prices.
Optional
withVirtualTour With Virtual Tour boolean
Whether the property includes a virtual tour.
Optional

01

Connect

Your user authorizes Melo through Pipedream managed auth.

02

Deploy

Your backend deploys this source with that user's own configuration.

03

Webhook delivery

Every event is sent to the HTTP endpoint you choose when you deploy the source — as it happens.

OR

On-demand retrieval

No webhook required. Your app or agent can fetch recent events from the trigger events API.

Registry key
melo-new-property-created
Version
0.0.1
App
Melo
Authentication
API key
Delivery
Instant event
Output
Events emitted by Melo.