hubspot_crm_create
Create a new HubSpot CRM record for sales or engagement objects. Supports required fields and optional inline associations, returning the new record's ID.
Instructions
Create a new HubSpot CRM record (deal, line item, product, quote, call, meeting, task, note, or email engagement). Required properties vary by type — for engagements, hs_timestamp (epoch ms string) is mandatory. For deals, dealname is required. For tasks, hs_task_subject is required. Optionally associate the new record to existing objects inline via the associations parameter (avoids a separate association API call). Returns the created record with its HubSpot-assigned id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectType | Yes | CRM object type. Sales objects: deals, line_items, products, quotes. Engagement objects: calls, meetings, tasks, notes, emails. | |
| properties | Yes | Key-value map of property names to string values. All HubSpot property values are strings. For engagements, `hs_timestamp` is REQUIRED (epoch ms string or ISO 8601). Custom properties are accepted in addition to standard ones. | |
| associations | No | Optional associations to create atomically with this object. Use this to link a new deal to existing contacts in a single API call. |