Hubspot
HubSpot is a CRM platform with all the software, integrations, and resources you need to connect marketing, sales, content management, and customer service.
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
Name | Label | Type | Description | Required |
---|---|---|---|---|
clientId | Client Id | STRING | true | |
clientSecret | Client Secret | STRING | true | |
hapikey | Hubspot API Key | STRING | API Key is used for registering webhooks. | false |
Actions
Delete Contact
Name: deleteContact
Move Contact to the recycling bin.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
contactId | Contact ID | STRING | true |
Example JSON Structure
Output
This action does not produce any output.
Get Contact
Name: getContact
Get contact details.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
contactId | Contact ID | STRING | true |
Example JSON Structure
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
id | STRING | ID of the newly created contact. |
properties | OBJECT Properties{STRING(firstname), STRING(lastname), STRING(email), STRING(phone), STRING(company), STRING(website)} |
Output Example
Update Contact
Name: updateContact
Update Contact properties.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
contactId | Contact | STRING | true | |
properties | Properties | OBJECT Properties{STRING(firstname), STRING(lastname), STRING(email), STRING(phone), STRING(company), STRING(website)} | false |
Example JSON Structure
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
id | STRING | ID of the newly created contact. |
properties | OBJECT Properties{STRING(firstname), STRING(lastname), STRING(email), STRING(phone), STRING(company), STRING(website)} |
Output Example
Create Contact
Name: createContact
Create a contact with the given properties.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
properties | Properties | OBJECT Properties{STRING(firstname), STRING(lastname), STRING(email), STRING(phone), STRING(company), STRING(website)} | false |
Example JSON Structure
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
id | STRING | ID of the newly created contact. |
properties | OBJECT Properties{STRING(firstname), STRING(lastname), STRING(email), STRING(phone), STRING(company), STRING(website)} |
Output Example
Create Deal
Name: createDeal
Creates a new deal.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
properties | Properties | OBJECT Properties{STRING(dealname), NUMBER(amount), DATE(closedate), STRING(pipeline), STRING(dealstage), STRING(hubspot_owner_id)} | false |
Example JSON Structure
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
id | STRING | ID of the deal. |
properties | OBJECT Properties{STRING(dealname), NUMBER(amount), DATE(closedate), STRING(pipeline), STRING(dealstage), STRING(hubspot_owner_id)} |
Output Example
Get Ticket
Name: getTicket
Gets ticket details.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
ticketId | Ticket ID | STRING | true |
Example JSON Structure
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
id | STRING | ID of the ticket |
properties | OBJECT Properties{STRING(content), STRING(hs_object_id), STRING(hs_pipeline), STRING(hs_pipeline_stage), STRING(hs_ticket_priority), STRING(subject)} |
Output Example
Triggers
New Contact
Name: newContact
Triggers when new contact is created.
Type: DYNAMIC_WEBHOOK
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
appId | App Id | STRING | The id of a Hubspot app used to register this trigger to. | true |
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
eventId | STRING | ID of the event that triggered the workflow. |
subscriptionId | STRING | ID of the subscription associated with this webhook event. |
subscriptionType | STRING | Type of the subscription, indicating the nature of event. |
objectId | STRING | ID for the newly created contact. |
JSON Example
New Deal
Name: newDeal
Triggers when a new deal is added.
Type: DYNAMIC_WEBHOOK
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
appId | App Id | STRING | The id of a Hubspot app used to register this trigger to. | true |
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
eventId | STRING | ID of the event that triggered the workflow. |
subscriptionId | STRING | ID of the subscription associated with this webhook event. |
subscriptionType | STRING | Type of the subscription, indicating the nature of event. |
objectId | STRING | ID for the newly created deal. |
JSON Example
New Ticket
Name: newTicket
Triggers when new ticket is created.
Type: DYNAMIC_WEBHOOK
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
appId | App Id | STRING | The id of a Hubspot app used to register this trigger to. | true |
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
eventId | STRING | ID of the event that triggered the workflow. |
subscriptionId | STRING | ID of the subscription associated with this webhook event. |
subscriptionType | STRING | Type of the subscription, indicating the nature of event. |
objectId | STRING | ID for the newly created ticket. |