Read Company Data

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

This pipeline demonstrates how to retrieve records of the Company entity in HubSpot using the HubSpot Read Snap.

  1. We configure the HubSpot Read Snap to read the entity Company with the Get all companies action as shown below:

    Hubspot-read-config
  2. Validate the pipeline. On validation, the HubSpot Create Snap creates a company with the specified details and displays the results in the output preview.

    HubSpot Read Snap output
  3. Use the JSON Generator Snap to format the above output as a JSON file.
  4. Configure the File Writer Snap to write the JSON Formatter Snap's output into a local file using the File Writer Snap.
    File Writer Snap configuration
    To view the newly-created file, we SSH to the target directory and open the newly-created file. The following image shows the preview of the result output JSON file.

To successfully reuse pipelines:

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