I understand that geofence triggered notifications are actually downloaded and triggered upon fence transitions - not a PUSH notification.

Like the poster of this question, I have a data extension with hotel bookings. I would like to display a message to matching subscribers based on data contained within a DE in SFMC - not just anyone using the app entering the geolocation.

If this were PUSH, I would setup a some SQL logic to return a list of valid recipients.

I see how to configure geofence notifications in Mobile Studio but these don't allow for inclusions/exclusion data nor updating of a DE.

The Mobile Cloud API contains a create push message POST with a geofences array parameter:

Array of string values indicating the geofences associated with the message send. Use only when sendInitiator value equals 1.

But we don't want PUSH with some geofencing logic, we want a geofenced triggered notification.

So I'm a bit confused as to how to link the SFMC-based DE data logic with the recipient list if it's a geolocation notification, since the message already resides on the device.

enter image description here

However, since the DE resides in the SFMC cloud, what is the process for connecting that data with the mobile push notification? Also once the notification has been received, I would like to track who has received the notification and update a subscriber flag ensuring they only receive one message. I would also need to update the DE.

-- UPDATE --

Looking at the SDK, NotificationManager.ShouldShowNotificationListener, within the shouldShowNotification(NotificationMessage message) can I make a call back to SFMC to not only check but also update DE attributes?

  • I believe I follow your question. Geo-fencing is setup on an app level so the fences would apply to anyone using the app. At this time it doesn't support relating other data with it to make a decision such as booking + entering geo-fence. Your best option would be using AMPScript or SSJS in the messaging to lookup information in the DE based on the Contact Key and provide relevant booking information in the message. If they don't have a booking then send a more generic message. Mar 26, 2020 at 18:26
  • Are you using the Marketing Cloud MobilePush SDK?
    – Bill Mote
    Mar 27, 2020 at 17:55
  • 1
    I believe the SDK ShouldShowNotificationListener interface is the key here, but I am unclear on how to implement this in the app. Is it able to make a SFMC call to check various DE attributes and can the displayed message be templated, using personalization strings rather than unique messages for each geofence?
    – ElHaix
    Mar 29, 2020 at 0:38

1 Answer 1


Yes. You can use the SDK's set attribute to set an attribute in MobilePush Demographics. And you can monitor that attribute in a Journey. Net-net-net, this should be possible.

  • Thanks Bill. Can you please elaborate on that?
    – ElHaix
    Mar 31, 2020 at 16:04
  • Set a listener. Receive a notification. Set an Attribute. Build a Journey that monitors the appropriate MobilePush Demographic.
    – Bill Mote
    Mar 31, 2020 at 16:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.