<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Question about identifying Notification Template on client side]]></title><description><![CDATA[<p dir="auto">Hello brainCloud Support,</p>
<p dir="auto">We are using brainCloud Push Notifications through the Portal Notification Templates feature.</p>
<p dir="auto">Our current use case is:</p>
<p dir="auto">We create notification templates in the brainCloud Portal.<br />
We send or schedule notifications from the Portal.<br />
On the client side, when the user opens a push notification, we need to identify which notification template was used.<br />
Currently, the payload we can see appears to only include the APNs payload, like:</p>
<pre><code>{
  "aps": {
    "alert": {
      "body": "Push message"
    }
  }
}
</code></pre>
<p dir="auto">We would like to know:</p>
<p dir="auto">Is there any way to add custom data or a custom top-level payload field when sending notifications from Portal Notification Templates?<br />
For example:</p>
<pre><code>{
  "aps": {
    "alert": {
      "body": "Push message"
    }
  },
  "notificationTemplateId": "daily_reward_push"
}
</code></pre>
<p dir="auto">Does brainCloud automatically include the template id, template name, or any other template identifier in the push payload received by the client?</p>
<p dir="auto">If Portal Notification Templates do not support custom payload data, what is the recommended approach for this use case?<br />
Should we use Cloud Code, Normalized Push Notifications, or Raw Push Notifications instead?</p>
<p dir="auto">Our goal is to continue managing notification text/localization/scheduling from the Portal if possible, while still allowing the client to distinguish which template triggered the push.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forums.getbraincloud.com/topic/373/question-about-identifying-notification-template-on-client-side</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Jul 2026 02:25:36 GMT</lastBuildDate><atom:link href="https://forums.getbraincloud.com/topic/373.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Jul 2026 02:30:40 GMT</pubDate><ttl>60</ttl></channel></rss>