Domain Group ACTION
Create Commercial Listing
Creates a new commercial listing. See the documentation.
- Action
- Writes data
- Destructive
- OAuth
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Domain Group account once, then configure and run Create Commercial Listing 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: "domain_group-create-commercial-listing",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
domain_group: { authProvisionId: "apn_xxxxxxx" },
agencyId: "Agency ID",
providerAdId: "Provider Ad ID",
},
})
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": "domain_group-create-commercial-listing",
"configured_props": {
"domain_group": { "authProvisionId": "apn_xxxxxxx" },
"agencyId": "Agency ID",
"providerAdId": "Provider Ad ID"
}
}'// 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": "domain_group",
},
},
},
)
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: "domain_group-create-commercial-listing",
arguments: {
agencyId: "Agency ID",
providerAdId: "Provider Ad ID",
},
})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 |
|---|---|---|
agencyId Agency ID | string | The identifier of an agency Required Dynamic |
providerAdId Provider Ad ID | string | Must be unique. If Provider Ad ID supplied already exists, the listing will be updated. External Advertisement Id of up to 50 characters will be stored.<br /> This value is used to identify an Advertisement for updates and should be unique for listing provider.<br /> This value is case-insensitive (meaning AAAA will update aaaa). Required |
propertyType Property Type | string | The type of property Required |
listingAction Listing Action | string | The type of listing action Required |
underOfferOrContract Under Offer or Contract | boolean | Set for Sale listings only Optional |
nabers NABERS | string | The NABERS Rating is the energy efficiency rating that the property has been measured to have. This rating is measured in increments of .5 and can range from 0 to 6. The NABERS rating is required for spaces within office buildings of 1000 square metres or more. For more information on the NABERS rating system please visit http://www.nabers.gov.au Optional |
description Description | string | Description of the property Optional |
features Features | string | Comma-separated list of features Optional |
streetNumber Street Number | string | Street number of the listing address Required |
unitNumber Unit Number | string | Unit number of the listing address Optional |
street Street | string | Street of the listing address Required |
state State | string | State of the listing address Required |
suburb Suburb | string | Suburb of the listing address Required |
postcode Postcode | string | Post code of the listing address Required |
areaValue Area Value | string | The size of the area in the commercial listing Required |
areaUnit Area Unit | string | The unit of measure of the area value Required |
receiveEmailsToDefaultAddress Receive Emails to Default Address | boolean | Send email enquiries to the default address for this listing type Optional |
isRural Is Rural? | boolean | True if the property is rural Optional |
occupancyType Occupancy Type | string | The occupancy type of the listing 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
- domain_group-create-commercial-listing
- Version
- 0.0.2
- App
- Domain Group
- Authentication
- OAuth
- Read-only
- No
- Destructive
- Yes
- Open world
- Yes
- Source
- View on GitHub ↗