Skip to end of banner
Go to start of banner

HubSpot Bulk Delete

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

In this article

Overview

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

hubspot-bulk-delete-overview.png

Prerequisites

None.

Support for Ultra Pipelines

Works in Ultra Pipelines.

Known Issues and Limitations

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 0

  • Max: 1

  • HubSpot Read

  • Mapper

  • Copy

A document with key/identifier of the data object(s) to delete.

Output

Document

  • Min: 0

  • Max: 1

  • Mapper

  • Copy

  • Email Sender

A document with the entity ID(s) and the status of the delete operation

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

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

Dropdown list

Select the version of the API that you use for the pipeline.

Category*

Default Value: N/A
Example: CRM

String

Select the application in which you delete the data objects.

Entity*

Default Value: N/A
Example: Companies

String

Select the data object to be deleted.

Action*

Default Value: N/A
Example: Archive a batch of companies by ID

String

Select the action to be performed 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

Specify the names of the required parameters.

Value*

Default Value: N/A Example: 1885

Multiple

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

Connection timeout *

Default Value: 30
Example: 30

Integer

Specify the connection timeout duration in seconds.

Number of retries*

Default Value: 0
Example: 3

IInteger

Specify the maximum number of retry attempts to make if a connection failure or timeout occurs.

Retry interval (seconds)*

Default Value: 0

Example: 10

Integer

Specify the minimum number of seconds for which the Snap must wait before attempting recovery from a network failure.

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

Examples

Delete a batch of companies

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

Bulk_Delete_pipeline.png

Configure the JSON Generator Snap to provide the company name as input to delete the specific companies. On validation, you can view the JSON output in the output preview.

Bulk_Delete_pipeline_JSON_output.png

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

Bulk_Delete_pipeline_mapping_table.png

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

Bulk_Delete_pipeline_mapper_output.png

Configure the HubSpot Bulk Delete Snap with the Companies Entity and Archive a Batch of Companies by ID Action.

Bulk_Delete_pipeline_bulkdelete.png

On validation, the Snap deletes the batch of companies.

Bulk_Delete_pipeline_delete_output.png

Downloads

  1. Download and import the Pipeline into SnapLogic®.

  2. Configure Snap accounts, as applicable.

  3. Provide Pipeline parameters, as applicable.

  File Modified
No files shared here yet.

Snap Pack History

 Click here to expand...

Release

Snap Pack Version 

Date

Type

Updates

May 2024

main172

 


Stable

Enhanced the HubSpot Snaps with the Retry policy field to handle retries for connection and error responses.

February 2024main168 StableUpdated and certified against the current SnapLogic Platform release.
November 2023main166 Latest

Added the following new Bulk Snaps to the HubSpot Snap Pack:

November 2023main160 LatestImproved error reporting in HubSpot Snaps.
November 2023main156 LatestAdded the HubSpot Private App Account to the HubSpot Snap Pack.

November 2023

main155

 

Stable

Updated and certified against the current SnapLogic Platform release.

August 2023

main138

 

Stable

Fixed the pagination issue for the Deals Entity in the HubSpot Read Snap.

May 2023

main130 

Stable

Upgraded with the latest SnapLogic Platform release.

February 2023main114 StableUpgraded with the latest SnapLogic Platform release.
November 2022 main113 StableUpgraded with the latest SnapLogic Platform release.
August 2022main111 StableUpgraded with the latest SnapLogic Platform release.
4.29main108 StableUpgraded with the latest SnapLogic Platform release.
4.28main100 StableUpgraded with the latest SnapLogic Platform release.
4.27main93 StableUpgraded with the latest SnapLogic Platform release.
4.26main88
StableUpgraded with the latest SnapLogic Platform release.
4.25main73
StableNo updates made.
4.24main73
StableNo updates made.

4.23

main73


Latest

Introduced the Snap Pack that serves as a growth platform by integrating an organization's marketing, sales, and customer support services in HubSpot. The HubSpot Snap Pack includes the following Snaps:


Related Content

  • No labels