@ip-pilot/populate-hubspot-companies-with-id
v1.0.4
Published
A demo package that allows you to add to all found companies in Hubspot its related id.
Downloads
3
Readme
populate-hubspot-companies-with-id
Gettin started
- Install the package
npm i populate-hubspot-companies-with-id
- 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();
- 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: