Answered

Is it possible to use an event metadata variable to decide who gets a push notification?

  • 10 February 2023
  • 1 reply
  • 96 views

In my service, when one user performs an activity, we want to send a different user a push notification to alert them. We are using segment events to trigger the push notification. in the event metadata, we send the second users email.

 

How can we ensure the push notification is sent to the email in the metadata?

icon

Best answer by Daniel M15 27 February 2023, 16:18

View original

1 reply

Userlevel 2

Hey @brennan b​! Daniel from Customer Support Engineering here 🔧 

 

I'm not sure that this is something that Intercom is appropriate to handle. Intercom is great for connecting to your users when they take certain action, but we'd rarely send content to user x based on actions that were performed by user y. If you are using events in a group context, you might find it easier to trigger the event for each user in the group, and set the push message to send when the event is triggered (so that it sends to each user).

 

Hope this makes sense!

Reply