Skip to main content

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?

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!


I just achieved this by detecting the event created by user “x” on my backend service. Ensuring that contact “y” exists, if not create it, then send an event for user “y”.

 

Aldo


Reply