elastic.io iPaaS component that connects to Hubspot API
Name | Mandatory | Description | Values |
---|---|---|---|
REQUEST_MAX_RETRY |
false | Set how many time system try to make request to API on errors (3 by default) | any integer above 0 |
RENEW_LIMIT |
false | Set biggest number of records in Get New and Updated Objects trigger before set new start date, 9800 by default |
any integer above 0 and less 10000 |
Authentication occurs via OAuth 2.0. In order to make OAuth work, you need a new App in your Hubspot.
More information you can find here.
After granting access, you should be redirected back to our platform via a redirect_url
. To do this, you will need to provide our OAuth Callback Redirect URL.
During credentials creation you would need to:
Choose Auth Client
or create the new one.
For creating Auth Client you should specify following fields:Field name | Mandatory | Description | |
---|---|---|---|
Name | true | your Auth Client’s name (any) | |
Client ID | true | your OAuth client key (provide by Hubspot) | |
Client Secret | true | your OAuth client secret (provide by Hubspot) | |
Authorization Endpoint | true | your OAuth authorization endpoint. ex: https://app-eu1.hubspot.com/oauth/authorize |
|
Token Endpoint | true | your OAuth Token endpoint for refreshing access token: https://api.hubapi.com/oauth/v1/token |
Name Your Credential
(any)fill field Scopes
- must be the same as provided during app creation in Hubspot, use space separated list (not comma), crm.objects.owners.read
is required for verification
Authenticate
button - if you have not logged in Hubspot before, then log in by entering data in the login window that appearsVerify
button for verifying your credentialsSave
button for saving your credentialsMax amount of Polling Pages
field is set.Fetch page
: An object with key results that has an array as its valueEmit Individually
: Each object fill the entire messageAfter reaching 9800 records flow will find largest Field to poll
in last Polling Page and use it as Start Time
for next iterations, results with this date will be excluded from that iteration and include in the next one
❗This trigger is deprecated, please use Hubspot webhook component instead.
Receive data from HubSpot based on configured webhooks
❗You will get error during webhook requests if this field will be incorrect
Triggered object from HubSpot
Action to call any Hubspot API endpoint
false
.GET
, POST
, PUT
, PATCH
, DELETE
, required. HTTP verb to use in the request.Action to make upsert(update/create) object in Hubspot
Object Type
)Dynamically generated
For each custom file field, it is generated an object to upload the custom file to populate that field. That object includes the following:
For uploading file Files API is used.
Action to lookup object in Hubspot. Lookup Set will make sure all the items in the set should be there, otherwise throw an error.
Object Type
)file
An array where each item is an ID
Action designed to lookup one object by unique field
file
ID to Search On
(unique field value by itself)Action to lookup objects in Hubspot
Fetch all
, Fetch page
, Emit individually
, requiredfile
❗HubSpot support up to three criteria
Example:
Records created after ‘2021-10-01T03:30:17.883Z’ with property ‘firstname’ contains ‘Tony’
["createdate GT 1633059017883", "firstname CONTAINS_TOKEN Tony"]
Supported operators:
OPERATOR | DESCRIPTION |
---|---|
EQ | equal to |
NEQ | not equal to |
LT | less than |
LTE | less than or equal to |
GT | greater than |
GTE | greater than or equal to |
HAS_PROPERTY | has property value |
NOT_HAS_PROPERTY | does not have property value |
CONTAINS_TOKEN | contains token |
NOT_CONTAINS_TOKEN | does not contain token |
If selected Fetch page
additional metadata fields:
Order example:
'createdate DESCENDING'
Fetch page
: An object with:
Fetch All
: An object, with key results that has an array as its valueEmit Individually
: Each object fill the entire message❗NOTE: Objects to assosiate are not dinamically retrieved, so please make sure in Hubspot documentation that selected objects can be assosiated
Object with key statusCode that represent result of request
❗NOTE: Objects to assosiate are not dinamically retrieved, so please make sure in Hubspot documentation that selected objects can be assosiated
Object with key statusCode that represent result of request
Action designed to delete one object by unique field
ID to Search On
(unique field value by itself)The expected output is an object with a id
property. id
value stands for id of delete object.
Upsert Object Action
-> any type of Lookup Object(s) Action
with enabled feature Enable download attachments
. Uploading the file to Hubspot on Upsert Object Action
takes some time, so it is possible to receive 404
error on lookup.Click here to learn more about the elastic.io iPaaS