Skip to main content

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.

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