Answered

How can I update user or company data when an event triggers?

  • 29 March 2021
  • 1 reply
  • 112 views

Hi,

I am trying to use an event from my app to update user or company data on their profile.

For example I want to fire the event "add apple" and this would update the "apple count" on the user or company profile.

I know how to send an event using Intercom('trackEvent', 'event name'); and I know how that I can update user data using Intercom('update', userdata); but I would like to use the event itself to update the data.

Is this somehow possible ?

icon

Best answer by Eric Fitz 31 March 2021, 12:37

View original

1 reply

Userlevel 1

Hey @user1005​, you'd need to write some custom script on your end to make a call to our Update A Contact API endpoint when the event count is triggered.

Reply