PlatformDocs

HubSpot

Push leads to HubSpot as contacts linked to their company, owned by the person you pick, and optionally a deal for each.

View as Markdown

Connect the MCP server, then just ask.

create_automationCreates an automation that is active straight away and runs whenever a lead matches it.Changes data
push_lead_to_crmCreates a contact in the website's connected CRM: HubSpot, Pipedrive, Salesforce, Zoho or GoHighLevel.Changes data
list_crm_ownersLists the users in a connected CRM that a contact can be assigned to.Read-only
get_crm_mappingsThe field mappings used when leads are pushed to a CRM, for contacts or companies (objectType, default contact): each row's crmField is filled from a lead field (valueType variable, variable) or a fixed text (valueType static, staticValue); enabled false skips it.Read-only
set_crm_mappingsSets the field mappings for contacts or companies pushed to a CRM.Deletes data

Use case

Push every new lead to HubSpot, owned by Sarah.

Called create_automationShow input
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "name": "New leads to HubSpot",
  "trigger": {
    "then": "send-to-hubspot",
    "actions": {
      "sentToHubspot": {
        "assignContactsTo": "OWNER_ID"
      }
    }
  }
}

Use case

Push new leads to HubSpot and open a deal for each in my sales pipeline.

The assistant reads your deal pipelines and stage ids with list_crm_pipelines, then:

Called create_automationShow input
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "name": "New leads to HubSpot with a deal",
  "trigger": {
    "then": "send-to-hubspot",
    "actions": {
      "sentToHubspot": {
        "assignContactsTo": "OWNER_ID",
        "createDeal": true,
        "pipelineId": "default",
        "dealStageId": "appointmentscheduled"
      }
    }
  }
}

Use case

Send this lead to HubSpot now.

Called push_lead_to_crmShow input
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "crm": "hubspot",
  "leadId": "6a3f00000000000000000003",
  "ownerId": "123456789",
  "contactData": { "email": "ana.ruiz@acme.example", "firstName": "Ana", "lastName": "Ruiz", "position": "Head of Growth" }
}

Your assistant takes the person from the lead, picks the owner with list_crm_owners (HubSpot needs one) and asks you before it writes to your CRM.

On this page