View as Markdown
EasyBroker icon

EasyBroker ACTION

Create Contact Request

Creates or updates a new lead in EasyBroker that is interested in the provided property. 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 Contact Request 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-contact-request",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    easybroker: { authProvisionId: "apn_xxxxxxx" },
    source: "Source",
    propertyId: "Property ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Contact Request inputs
Property Type Description
source Source string
The source of the contact request. Example: mydomain.com
Required
propertyId Property ID string
The ID of the property to create the contact request for
Optional Dynamic
name Name string
The name of the contact making the request
Required
email Email string
The email address of the contact making the request
Required
phone Phone string
The phone number of the contact making the request
Optional
message Message string
The message from the contact making the request. Example: I'm interested in the property.
Required

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-contact-request
Version
0.0.3
App
EasyBroker
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes