Skip to content

AppQuality/syncHubspotEnvironments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

syncHubspot

Synchronize data with HubSpot using Node.js.

Overview

This utility provides functions to interact with the HubSpot API, enabling synchronization of contacts and companies from your local data sources.

Sync structure for Contacts, Companies, Deals from a STANDARD Environment to a DEVELOPER Environment on Hubspot

Features

  • Sync contacts and companies to HubSpot
  • Handles API authentication via environment variables
  • Error handling and logging

Usage

  1. Install dependencies:

    npm install
    yarn
  2. Set environment variables: Rename the file constants.template.js to constants.template.js and fill:

    • PROD_TOKEN – Your HubSpot Token for a STANDARD Environment
    • STAGING_TOKEN – Your HubSpot Token for a developer Environment
  3. Run the script:

    node index.js
    yarn start

Configuration

Edit index.js to customize which data is synchronized and how records are mapped.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •