Delete Batch of Companies

Prerequisites: You must have access to HubSpot and a valid HubSpot Account (OAuth or Private App).

This pipeline demonstrates how to delete a batch of companies from HubSpot.

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


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

    Mapper Snap configuration

    Validate the Mapper Snap. The JSON input fields are mapped to the HubSpot entity fields:


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

    HubSpot Bulk Delete Snap configuration
  4. Validate the pipeline. On validation, the Snap deletes the batch of companies and displays the results in the output preview.

    HubSpot Bulk Delete Snap output

To successfully reuse pipelines:

  1. Download and import the pipeline into SnapLogic.
  2. Configure Snap accounts as applicable.
  3. Provide pipeline parameters as applicable.