Hubspot

Hubspot is a customer relationship management software for inbound marketing, sales, and customer service. This component allows you to interact with the Hubspot REST API.

It helps companies to attract visitors, convert leads, and close customers. It does this by bringing together a variety of functionalities and allowing marketing and sales departments to manage all their activities in one place.



Authorization

OAuth 2.0

The Hubspot component authenticates requests through an OAuth 2.0 credential. Information on how to generate an OAuth 2.0 credential with Hubspot can be found here Now, you will have to configure a new OAuth 2.0 Hubspot connection in Sapper.

When you create your Hubspot app, you must be sure to enter Sapper's OAuth callback URL -Sapper.

 

  • For Client ID and Client Secret enter the values that you got from the Hubspot OAuth settings.

  • For scopes choose from the list found on the Hubspot docs

Input

Key

Example

Input

Key

Example

Authorize URL

The OAuth 2.0 Authorization URL for Hubspot

https://app.hubspot.com/oauth/authorize

Client ID

Provide the Client Id you received from the Hubspot Developer Console.

 

Client Secret

Provide the Client Secret you received from the Hubspot Developer Console.

 

Scopes

A space-delimited set of one or more scopes to get the user's permission to access.

 

Token URL

The OAuth 2.0 Token URL for Hubspot

https://api.hubapi.com/oauth/v1/token

Hubspot Connections

Hubspot OAuth2.0 Connection 

Input 

Key 

Description

Example

Select Application

application

Select Hubspot application

 

Connection Type

connection type

Select the type of connection.

 REST

REST Connection Type

rest connection type

Select the type of REST connection.

 OAuth2.0

Connection Name

name

Provide a name for the connection.

 Hubspot connection

Connection Description

description

Provide a description for the connection.

 

Host Name

host 

Provide a string value for the URL of user's Hubspot account.

 

Grant Type

grant type

Provide the grant type - authorization code, password, client credentials.

 

Actions 

Get List of Contacts

Get List of Contacts | key: getlistofContacts

Input

Key

Description

Example

Input

Key

Description

Example

Limit

limit

There is a daily send limit on one-to-one emails sent from a connected inbox.

 

Archived

archived

Archiving a piece of content, such as a blog post, page, knowledge base article, or email, lets you hide it from your content dashboard without deleting it permanently.

 


Create Companies

Create Companies | key: createCompanies

Input

Key

Description

Example

Input

Key

Description

Example

Name

name

Mention the name of the company.

 

Description

description

Provide an appropriate description. A description is a statement that gives details about something.

 

 

 


Get Ticket

Get Ticket | key: getTicket


Get Ticket By ID with Properties

Get Ticket by ID with Properties| key: getTicketbyidwithProperties

Input

Key

Description

Example

Input

Key

Description

Example

Ticket ID

ticketID

A ticket id is a reference number consisting of a sequence of capitalized letters and numbers.

 

 


Get Companies

Get Companies | key: getCompanies


Create Ticket

Create Ticket | key: createTicket

Input

Key

Description

Example

Input

Key

Description

Example

Subject

subject

Provide an appropriate subject. The subject field is a brief description of the message. It displays in the Hubspot recipient's inbox before they open the message.

 

Description

description

Provide an appropriate description. A description is a statement that gives details about something.

 

Hubspot Pipeline

hubspotPipeline

In Hubspot, a pipeline is where deal stages or ticket statuses are set.

 

Pipeline Stage

pipelineStage

The sales pipeline stages in Hubspot allow the representative to track their deals and manage their pipeline so they always stay updated with their prospects need. The pipeline stages also help representative estimate the duration of closing a deal.

 

 


Get Owners

Get Owners | key: getOwners