View as Markdown
HubSpot icon

HubSpot ACTION

Search Properties

Search for property definitions (field names) on a CRM object type. Returns lightweight results: property names, labels, descriptions, and types — without enum options. Use this to discover what fields exist before creating or updating records. To get full details including valid enum values for a specific property, use Get Properties. To search for actual CRM data/records, use Search CRM Objects. For custom object properties, use List Custom Object Properties instead (custom object types are not in the standard type list). See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's HubSpot account once, then configure and run Search Properties 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: "hubspot-search-properties",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    hubspot: { authProvisionId: "apn_xxxxxxx" },
    objectType: "Object Type",
    keywords: ["Keywords"],
  },
})

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.

Search Properties inputs
Property Type Description
objectType Object Type string
The CRM object type to search properties for (e.g. contact, company, deal, ticket).
Required
keywords Keywords string[]
Search keywords to find relevant properties by name or label. Use property name guesses, not natural language phrases. For example: ["owner", "assigned_to"] to find assignment-related fields, or ["name", "employees", "zip"] to find multiple fields at once. Leave empty to return all properties for the object type.
Optional
includeReadOnly Include Read-Only Properties boolean
Set to true to include read-only / calculated properties (e.g. createdate, hs_object_id). Default: false — only writable properties are returned.
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
hubspot-search-properties
Version
0.0.9
App
HubSpot
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes