Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel2
absoluteUrltrue

Overview

You can use this Snap to update bulk data objects in bulk in the HubSpot portalplatform.  Learn more about : HubSpot APIs.

...

Snap Type

The HubSpot Snap is a Write-type Snap.

Prerequisites

None.

Support for Ultra Pipelines  

Works in Ultra Pipelines

Limitations

None.

Known Issues

Records only up to 100 can be updated in single runThe HubSpot Bulk Update Snap can update only 100 records in a single execution.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 1

  • Max: 1

  • HubSpot Read

  • Mapper

  • Copy

A document containing details identifying that contains the details to identify the entity (s) to update along with the information to update.

Output

Document

  • Min: 0

  • Max: 1

  • JSON Formatter + File Writer

  • Mapper

  • Copy

  • HubSpot Read

A document containing with the details of the updated entity(s).

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop Pipeline Execution: Stops the current Pipeline execution if the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

Info
  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon ((blue star)): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ((blue star) ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( (blue star) ): Indicates that you can add fields in the fieldset.

  • Remove icon ( (blue star)): Indicates that you can remove fields from the fieldset.

  • Upload icon ((blue star) ): Indicates that you can upload files.

Field Name

Field Type

Description

Label*

Default ValueHubSpot Bulk Update

ExampleBulk Update Companies

String

Specify a name for the Snap.  If you have more than one of the same snaps Snaps in the pipeline, you can modify this and create a unique name.

API Version*

Default Value: V3

Example: V4

StringDropdown list

Select the version of the API that you are using the API version to use for the pipeline.

Category*

Default Value: N N/A

ExampleCRM

String/Suggestion

Required. Select the application in which you are updating to update the data objects.

Entity*

Default Value: N N/A

ExampleCompanies

String/Suggestion

Required. Select the data object to be updatedupdate.

Action*

Default Value: N N/A

ExampleUpdate a batch of Companies

String/Suggestion

Required. Select Specify the action to be performed perform by the snap. Clicking the  icon lists the supported actions.Snap. 

Required Parameters

Use this field set to enable the Snap to perform a specific action.

Parameter*

Default Value: N/A
Example: company.id

String/Suggestion

Specify the names of the required parameters.

Value*

Default Value:  N N/A
Example: company.id1884

MultipleString

Specify the values for mentioned the required parameters. The data type of this field depends on the specified parameter.

Connection Timeouttimeout

Default Value30

Example30

Integer

 Required. A time period within which the snap should be runSpecify the connection timeout duration in seconds.

Number of re-triesretries*

Default Value: 0

Example: 3

Integer

Required. The Specify the maximum number of re-connection attempts in case of a reconnections to make if a connection failure or timeout occurs.

Retry Intervalinterval (seconds)*

Default Value: 0

Example: 15

Integer

Required. The Specify the time interval between consecutive reconnection attempts.connection attempts.

Retry policy

 

Default Value: Connection errors
Example: Connection and API limit exceeded errors (429)

Dropdown list

Choose the retry policy for connection and error responses. The available options are:

  • Connection errors: Select this option when the client fails to establish a secure connection to the server.

  • Connection and API limit exceeded errors (429): Select this option when the 10-second or daily limit is exceeded.

Snap Execution

Default ValueExecute only
Example: Validate & Execute

Dropdown list

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only: Performs full execution of the Snap during Pipeline pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Troubleshooting

Examples

...

Error

Reason

Resolution

Multiexcerpt fast include block macro
macro_uuid386ec55d-edb1-4bf2-80f2-ed7891a47dff
nameTroubleshooting_missing_required_parameters
templateDataeJyLjgUAARUAuQ==
pageHubSpot Create
addpanelfalse
Multiexcerpt fast include block macro
macro_uuid6703ac8b-4036-40cc-b4dd-f7ce9184f2a0
nameTroubleshooting_missing_reqd_params_reason
templateDataeJyLjgUAARUAuQ==
pageHubSpot Create
addpanelfalse
Multiexcerpt fast include block macro
macro_uuid3d6c1306-48c8-4570-b4a8-fdd9518f2a63
nameTroubleshooting_missing_reqd_params_resolution
templateDataeJyLjgUAARUAuQ==
pageHubSpot Create
addpanelfalse
Multiexcerpt fast include block macro
macro_uuid3fa9a37e-fb5e-4f9a-9a65-eede77e8cf9d
nameTroubleshooting_rolling_limit
templateDataeJyLjgUAARUAuQ==
pageHubSpot Create
addpanelfalse
Multiexcerpt fast include block macro
macro_uuid53dd1190-0909-47d6-af98-438b5111cbb5
nameTroubleshooting_rolling_limit_reason
templateDataeJyLjgUAARUAuQ==
pageHubSpot Create
addpanelfalse
Multiexcerpt fast include block macro
macro_uuida1b27a7b-2df6-412d-a7c8-caff99ac65d3
nameTroubleshooting_rolling_limit_resolution
templateDataeJyLjgUAARUAuQ==
pageHubSpot Create
addpanelfalse
Multiexcerpt fast include block macro
macro_uuidcd5f1deb-f07b-494c-bcd9-a68874db4637
nameTroubleshooting_daily_limit
templateDataeJyLjgUAARUAuQ==
pageHubSpot Create
addpanelfalse
Multiexcerpt fast include block macro
macro_uuid75f8b371-a0c7-4d19-8a4c-1a7c14d9996a
nameTroubleshooting_rolling_limit_reason
templateDataeJyLjgUAARUAuQ==
pageHubSpot Create
addpanelfalse
Multiexcerpt fast include block macro
macro_uuid105a0f49-a7eb-4be0-beb8-74cb415e2ba8
nameTroubleshooting_daily_limit_resolution
templateDataeJyLjgUAARUAuQ==
pageHubSpot Create
addpanelfalse

Examples

Update a batch of companies

The following example pipeline demonstrates how to update the batch of companies in the HubSpot portal.

...

Configure the JSON generator Snap to provide the details to be updated for the specific companies. On validation, you can view the JSON output in the output preview.

...

Configure the Mapper Snap to map the output details from JSON generator Snap to the corresponding fields in the HubSpot.

...

On validatingvalidation, the JSON input fields are mapped to the HubSpot entity 's fields as shown in the Mapper snap's output belowfollows:

...

Finally, the output from the Mapper snap is passed on to the HubSpot Bulk Update snap. The configure the HubSpot Bulk update snap is configured Snap with the Company Entity and Update a Batch of Companies action.

...

On running validation, the HubSpot Bulk Update Snap , it updates a batch of companies with the mentioned specified details as shown in the screenshot below.follows:

...

Downloads

Info
  1. Download and import the Pipeline into SnapLogicSnapLogic® Platform.

  2. Configure Snap accounts, as applicable.

  3. Provide Pipeline pipeline parameters, as applicable.

Attachments
patterns*.slp, *.zip
sortByname

Snap Pack History

...

Multiexcerpt include macro
macro_uuidbc80a734-84f7-450c-b83f-2b8bf52cf771
nameHubSpot_SPH
templateDataeJyLjgUAARUAuQ==
pageHubSpot Snap Pack
addpanelfalse

...

Related Content