Versions Compared

Key

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

In this article

Table of Contents
minLevel1
maxLevel2
absoluteUrltrue

...

Field Name

Field Type

Description

Label*

Default Value: HubSpot Bulk Delete

Example: Bulk Delete Companies

String

The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

API Version

Default ValueV3
Example: V4

String/Expression

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

Category

Default Value: N/A

Example: CRM

String

Required. Select the application in which you are deleting the data objects from.

Entity

Default Value: N/A

Example: Companies

String

Required. Select the data object to be deleted.

Action

Default Value: N/A

Example: Archive a batch of companies by ID

String

Required. Select the action to be performed by the snap. Clicking the (blue star) icon lists the supported actions.

Required parameters

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

Parameter

Default Value: N/A Example: company.id

String

Required. Specify the names of the required parameters. Clicking the icon lists the supported actions.

Value

Default Value: N/A Example: company.id

Multiple

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

Connection timeout

Default Value: 30

Example: 30

Integer

Required. A time period within which the snap should be run.

Number of re-tries

Default Value: 0

Example: 3

IInteger

Required. The maximum number of re-connection attempts in case of a failure or timeout.

Retry interval (seconds)

Default Value: 0

Example: 10

Integer

Required. The time interval between consecutive reconnection attempts.

Snap Execution

Default Value
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 validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.

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

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

Troubleshooting

...

Error

...

Reason

...

Resolution

...

Account validation failed.

...

The Pipeline ended before the batch could complete execution due to a connection error.

...

Verify that the Refresh token field is configured to handle the inputs properly. If you are not sure when the input data is available, configure this field as zero to keep the connection always open.

Examples

Excluding Fields from the Input Data Stream

We can exclude the unrequired fields from the input data stream by omitting them in the Input schema fieldset. This example demonstrates how we can use the <Snap Name> to achieve this result:

<screenshot of Pipeline/Snap and description>

...

Examples

Delete a batch of companies

The pipeline in this example demonstrates the use of HubSpot Bulk Delete snap to delete the batch of companies in the HubSpot portal.

In this Pipeline,

  1. Configure the JSON Generator Snap to provide the company name as input to delete the specific companies. The screenshot below shows the output from the JSON Generator Snap:

  1. Configure the Mapper snap to map the output details from the JSON Generator Snap to the corresponding fields in the HubSpot.

  2. Validate the Mapper Snap. The JSON input fields are mapped to the HubSpot entity's fields, as shown in the Mapper snap's output below:

  3. Finally, the output from the Mapper Snap is passed on to the HubSpot Bulk Delete Snap. The HubSpot Bulk Delete Snap is configured with the Company Entity and Achieve a Batch of Companies action.

Downloads

Info
  1. Download and import the Pipeline into SnapLogic.

  2. Configure Snap accounts, as applicable.

  3. Provide Pipeline parameters, as applicable.

Attachments
patterns*.slp, *.zip
sortByname

Snap Pack History

Expand

titleClick here to expand...
Insert excerptXYZ Snap PackXYZ Snap Pack

Multiexcerpt include macro
macro_uuid8d63e18e-5118-4b0f-9d62-01b20c006711
nameHubSpot_SPH
templateDataeJyLjgUAARUAuQ==
pageHubSpot Snap Pack
addpanelfalse

...

Related Content

...