Answered

Lightweight Bulk Company Attaching using API/NodeJS

  • 26 April 2023
  • 1 reply
  • 29 views

Hello I need help iterating through and attaching contacts to a defined company.

I can do this by manually calling the API but need to iterate through an away.

I found https://github.com/intercom/intercom-node but am having problems properly configuring.  Once Configured I’d be able to pull list of users that have current segment and pass them through attaching a company. Any help configuring/walking through basics of the intercom-node library would be very helpful.

icon

Best answer by Jacob Cox 1 May 2023, 00:59

View original

1 reply

Userlevel 4
Badge +5

Hi @Joe Caffrey !

Either way you perform this action whether it’s with our REST API or via the intercom-node package, you’ll need to grab that Array of Contacts and loop through it, connecting each Contact to the Company 1-by-1. The general overview of how you would do this with the Node package would be to:

Let me know if you have any specific issues that you’re running into!

Reply