1.0.4 • Published 6 months ago

@ip-pilot/populate-hubspot-companies-with-id v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

populate-hubspot-companies-with-id

Gettin started

  1. Install the package
npm i populate-hubspot-companies-with-id
  1. How to use it in your file (ex: paste it in an index.js file and then run node index.js):
const { populateHubspotCompaniesWithId } = require('populate-hubspot-companies-with-id');

const asyncFunction = async () => {
  const results = await populateHubspotCompaniesWithId(hubspotApiKey, [
      { companyName: 'test1' },
      { companyName: 'test2', randomProp: 'hello' },
    ]);
};

asyncFunction();
  1. Additional information:
  • this package fetches company information from HubSpot based on the company names you provide and adds companyId prop to the result

Built with

Company

IP Pilot: