crm_create_lead
Create and validate new leads in HubSpot CRM by inputting essential details like contact information, company data, and lead status to streamline lead management.
Instructions
Create a new lead with validated properties
Input Schema
Name | Required | Description | Default |
---|---|---|---|
associations | No | ||
properties | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"associations": {
"items": {
"additionalProperties": false,
"properties": {
"to": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"types": {
"items": {
"additionalProperties": false,
"properties": {
"associationCategory": {
"type": "string"
},
"associationTypeId": {
"type": "number"
}
},
"required": [
"associationCategory",
"associationTypeId"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"to",
"types"
],
"type": "object"
},
"type": "array"
},
"properties": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"annualrevenue": {
"type": "number"
},
"city": {
"type": "string"
},
"company": {
"type": "string"
},
"country": {
"type": "string"
},
"email": {
"format": "email",
"type": "string"
},
"firstname": {
"type": "string"
},
"industry": {
"type": "string"
},
"jobtitle": {
"type": "string"
},
"lastname": {
"type": "string"
},
"leadsource": {
"type": "string"
},
"leadstatus": {
"enum": [
"new",
"open",
"in_progress",
"qualified",
"unqualified",
"converted",
"lost"
],
"type": "string"
},
"notes": {
"type": "string"
},
"numberofemployees": {
"type": "number"
},
"phone": {
"type": "string"
},
"rating": {
"enum": [
"hot",
"warm",
"cold"
],
"type": "string"
},
"state": {
"type": "string"
},
"website": {
"format": "uri",
"type": "string"
},
"zip": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"properties"
],
"type": "object"
}