HubSpot Bulk Delete
In this article
Overview
You can use this Snap to delete data objects in bulk from HubSpot. Learn more: 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
|
|
| A document with key/identifier of the data object(s) to delete. |
Output | Document
|
|
| 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:
Learn more about Error handling in Pipelines. |
Snap Settings
Asterisk (*): Indicates a mandatory field.
Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.
Expression icon (): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.
Add icon ( ): Indicates that you can add fields in the fieldset.
Remove icon (): Indicates that you can remove fields from the fieldset.
Upload icon ( ): 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 Value: V3 | Dropdown list | Select the version of the API that you use for the pipeline. | |
Category* Default Value: N/A | String | Select the application in which you delete the data objects. | |
Entity* Default Value: N/A | String | Select the data object to be deleted. | |
Action* Default Value: N/A | 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 | Integer | Specify the connection timeout duration in seconds. | |
Number of retries* Default Value: 0 | 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. | |
Retry policy
Default Value: Connection errors | Dropdown list | Choose the retry policy for connection and error responses. The available options are:
| |
Snap Execution
Default Value: Execute only | Dropdown list | Select one of the following three modes in which the Snap executes:
|
Troubleshooting
Error | Reason | Resolution |
---|---|---|
Examples
Delete a batch of companies
The following example pipeline demonstrates how to delete the batch of companies in HubSpot.
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.
Configure the Mapper Snap to map the output details from the JSON Generator Snap to the corresponding fields in HubSpot.
Validate the Mapper Snap. The JSON input fields are mapped to the HubSpot entity's fields, as shown below:
Configure the HubSpot Bulk Delete Snap with the Companies Entity and Archive a Batch of Companies by ID Action.
On validation, the Snap deletes the batch of companies.
Downloads
Download and import the Pipeline into SnapLogic®.
Configure Snap accounts, as applicable.
Provide Pipeline parameters, as applicable.
Snap Pack History
Related Content
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.