Skip to content

Hubspot

HubSpot is a CRM platform with all the software, integrations, and resources you need to connect marketing, sales, content management, and customer service.

Categories: marketing-automation

Type: hubspot/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeControl TypeDescriptionRequired
clientIdClient IdSTRINGTEXTtrue
clientSecretClient SecretSTRINGTEXTtrue
hapikeyHubspot API KeySTRINGTEXTAPI Key is used for registering webhooks.false

Actions

Create Contact

Name: createContact

Create a contact with the given properties.

Properties

NameLabelTypeControl TypeDescriptionRequired
__itemContactOBJECT
Properties {{STRING(firstname), STRING(lastname), STRING(email), STRING(phone), STRING(company), STRING(website)}(properties)}
OBJECT_BUILDERnull

Output

Type: OBJECT

Properties

NameTypeControl Type
bodyOBJECT
Properties {STRING(id), {STRING(firstname), STRING(lastname), STRING(email), STRING(phone), STRING(company), STRING(website)}(properties)}
OBJECT_BUILDER

JSON Example

{
"label" : "Create Contact",
"name" : "createContact",
"parameters" : {
"__item" : {
"properties" : {
"firstname" : "",
"lastname" : "",
"email" : "",
"phone" : "",
"company" : "",
"website" : ""
}
}
},
"type" : "hubspot/v1/createContact"
}

Delete Contact

Name: deleteContact

Move Contact to the recycling bin.

Properties

NameLabelTypeControl TypeDescriptionRequired
contactIdContact IDSTRINGSELECTtrue

JSON Example

{
"label" : "Delete Contact",
"name" : "deleteContact",
"parameters" : {
"contactId" : ""
},
"type" : "hubspot/v1/deleteContact"
}

Get Contact

Name: getContact

Get contact details.

Properties

NameLabelTypeControl TypeDescriptionRequired
contactIdContact IDSTRINGSELECTtrue

Output

Type: OBJECT

Properties

NameTypeControl Type
bodyOBJECT
Properties {STRING(id), {STRING(firstname), STRING(lastname), STRING(email), STRING(phone), STRING(company), STRING(website)}(properties)}
OBJECT_BUILDER

JSON Example

{
"label" : "Get Contact",
"name" : "getContact",
"parameters" : {
"contactId" : ""
},
"type" : "hubspot/v1/getContact"
}

Update Contact

Name: updateContact

Update Contact properties.

Properties

NameLabelTypeControl TypeDescriptionRequired
contactIdContactSTRINGSELECTtrue
__itemContactOBJECT
Properties {{STRING(firstname), STRING(lastname), STRING(email), STRING(phone), STRING(company), STRING(website)}(properties)}
OBJECT_BUILDERnull

Output

Type: OBJECT

Properties

NameTypeControl Type
bodyOBJECT
Properties {STRING(id), {STRING(firstname), STRING(lastname), STRING(email), STRING(phone), STRING(company), STRING(website)}(properties)}
OBJECT_BUILDER

JSON Example

{
"label" : "Update Contact",
"name" : "updateContact",
"parameters" : {
"contactId" : "",
"__item" : {
"properties" : {
"firstname" : "",
"lastname" : "",
"email" : "",
"phone" : "",
"company" : "",
"website" : ""
}
}
},
"type" : "hubspot/v1/updateContact"
}

Create Deal

Name: createDeal

Creates a new deal.

Properties

NameLabelTypeControl TypeDescriptionRequired
__itemDealOBJECT
Properties {{STRING(dealname), NUMBER(amount), DATE(closedate), STRING(pipeline), STRING(dealstage), STRING(hubspot_owner_id)}(properties)}
OBJECT_BUILDERnull

Output

Type: OBJECT

Properties

NameTypeControl Type
bodyOBJECT
Properties {STRING(id), {STRING(dealname), NUMBER(amount), DATE(closedate), STRING(pipeline), STRING(dealstage), STRING(hubspot_owner_id)}(properties)}
OBJECT_BUILDER

JSON Example

{
"label" : "Create Deal",
"name" : "createDeal",
"parameters" : {
"__item" : {
"properties" : {
"dealname" : "",
"amount" : 0.0,
"closedate" : "2021-01-01",
"pipeline" : "",
"dealstage" : "",
"hubspot_owner_id" : ""
}
}
},
"type" : "hubspot/v1/createDeal"
}

Get Ticket

Name: getTicket

Gets ticket details.

Properties

NameLabelTypeControl TypeDescriptionRequired
ticketIdTicket IDSTRINGSELECTtrue

Output

Type: OBJECT

Properties

NameTypeControl Type
bodyOBJECT
Properties {STRING(id), {STRING(content), STRING(hs_object_id), STRING(hs_pipeline), STRING(hs_pipeline_stage), STRING(hs_ticket_priority), STRING(subject)}(properties)}
OBJECT_BUILDER

JSON Example

{
"label" : "Get Ticket",
"name" : "getTicket",
"parameters" : {
"ticketId" : ""
},
"type" : "hubspot/v1/getTicket"
}

Triggers

New Contact

Name: newContact

Triggers when new contact is created.

Type: DYNAMIC_WEBHOOK

Properties

NameLabelTypeControl TypeDescriptionRequired
appIdApp IdSTRINGTEXTThe id of a Hubspot app used to register this trigger to.true

Output

Type: OBJECT

Properties

NameTypeControl Type
eventIdSTRINGTEXT
subscriptionIdSTRINGTEXT
subscriptionTypeSTRINGTEXT
objectIdSTRINGTEXT

JSON Example

{
"label" : "New Contact",
"name" : "newContact",
"parameters" : {
"appId" : ""
},
"type" : "hubspot/v1/newContact"
}

New Deal

Name: newDeal

Triggers when a new deal is added.

Type: DYNAMIC_WEBHOOK

Properties

NameLabelTypeControl TypeDescriptionRequired
appIdApp IdSTRINGTEXTThe id of a Hubspot app used to register this trigger to.true

Output

Type: OBJECT

Properties

NameTypeControl Type
eventIdSTRINGTEXT
subscriptionIdSTRINGTEXT
subscriptionTypeSTRINGTEXT
objectIdSTRINGTEXT

JSON Example

{
"label" : "New Deal",
"name" : "newDeal",
"parameters" : {
"appId" : ""
},
"type" : "hubspot/v1/newDeal"
}

New Ticket

Name: newTicket

Triggers when new ticket is created.

Type: DYNAMIC_WEBHOOK

Properties

NameLabelTypeControl TypeDescriptionRequired
appIdApp IdSTRINGTEXTThe id of a Hubspot app used to register this trigger to.true

Output

Type: OBJECT

Properties

NameTypeControl Type
eventIdSTRINGTEXT
subscriptionIdSTRINGTEXT
subscriptionTypeSTRINGTEXT
objectIdSTRINGTEXT

JSON Example

{
"label" : "New Ticket",
"name" : "newTicket",
"parameters" : {
"appId" : ""
},
"type" : "hubspot/v1/newTicket"
}