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 delete bulk data objects in the HubSpot portal. Learn more about HubSpot APIs.

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 containing key/identifier of the data object(s) to delete.

Output

Document

  • Min: 0

  • Max: 1

  • Mapper

  • Copy

  • Email Sender

A document containing 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

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 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 are using for the pipeline.

Category*

Default Value: N/A
Example: CRM

String

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

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. Clicking the icon lists the supported actions.

Value*

Default Value: N/A Example: company.id

Multiple

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

Specify the connection timeout duration in seconds.

Number of retries*

Default Value: 0
Example: 3

IInteger

Specify the maximum number of reconnections in case of a connection failure or timeout.

Retry interval (seconds)*

Default Value: 0

Example: 10

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 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 the HubSpot portal.

...

On running the HubSpot Bulk Delete Snap, it deletes the batch of companies as shown in the screenshot below.

...

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

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

...

Related Content

...