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?
Best answer by Daniel M15
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).
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).
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”.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.