Versions Compared

Key

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

...

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

...

The HubSpot Snap is a Write-type Snap.

Prerequisites

None.

...

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 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.

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.

...

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

Dropdown list

Select the API version to use for the pipeline.

Category*

Default Value: N/A

ExampleCRM

String/Suggestion

Select the application in which to update the data objects.

Entity*

Default Value: N/A

ExampleCompanies

String/Suggestion

Select the data object to update.

Action*

Default Value: N/A

ExampleUpdate a batch of Companies

String/Suggestion

Specify the action to perform by the 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/A
Example: 1884

String

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

Connection timeout

Default Value30

Example30

Integer

Specify the connection timeout duration in seconds.

Number of retries*

Default Value: 0

Example: 3

Integer

Specify the maximum number of reconnections in case of to make if a connection failure or timeout occurs.

Retry interval (seconds)*

Default Value: 0

Example: 15

Integer

Specify the time interval between connection attempts.

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.

...

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 fields as follows:

...

Finally, configure the HubSpot Bulk update snap Snap with the Company Entity and Update a Batch of Companies action.

...

On validating validation, the HubSpot Bulk Update Snap , the Snap updates a batch of companies with the specified details as follows:

...

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

  2. Configure Snap accounts, as applicable.

  3. Provide Pipeline pipeline parameters, as applicable.

...