?
hubspotCreateContact
Create a new contact or update an existing one in HubSpot. Matches by email address.
mindstudio.hubspotCreateContact({ contact, enabledProperties, companyDomain }) → Result
Create a new contact or update an existing one in HubSpot. Matches by email address.
Parameters
connectionId
string
HubSpot OAuth connection ID
contact
object
RequiredContact data including email, first name, last name, and additional properties
enabledProperties
object[]
RequiredHubSpot properties enabled for this step, used for type validation
companyDomain
string
RequiredCompany domain to associate the contact with. Creates the company if it does not exist
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.hubspotCreateContact({ contact: /* ... */, enabledProperties: /* ... */, companyDomain: /* ... */ });