Skip to main content
Answered

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

  • March 29, 2021
  • 1 reply
  • 170 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 ?

Best answer by Eric Fitz

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.

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

1 reply

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • March 31, 2021

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


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