Skip to main content
Answered

Lightweight Bulk Company Attaching using API/NodeJS

  • April 26, 2023
  • 1 reply
  • 43 views

Joe Caffrey
Forum|alt.badge.img

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.

Best answer by Jacob Cox

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!

View original
Did this topic help you find an answer to your question?

1 reply

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • April 30, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings