Create a Company in HubSpot

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

This pipeline demonstrates how to create a company in the HubSpot instance using the HubSpot Create Snap.

  1. Configure the JSON Generator Snap to create a JSON file containing the new company details such as name, city, and about_us.

    The screenshot below shows the output from the JSON Generator Snap:


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

    Mapper Snap configuration

    Upon execution, the JSON input fields are mapped to the HubSpot entity fields:


    Mapper Snap output
  3. Configure the HubSpot Create Snap with the Company entity and Create a company action.

    HubSpot Create Snap configuration
  4. 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 Create Snap output
  5. Configure the JSON Formatter and File Writer Snaps to write the output to a local file for record-keeping.

    File Writer Snap configuration

To successfully reuse pipelines:

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