data fields reach the delivered push or inbox message.
That leaves the legacy case. A block-based template’s push or inbox channel renders data into variables only unless mapping is on. The push data bag then carries just Courier’s tracking keys, and your own fields never leave the send.
Turn data mapping on
Open the template in the , then the channel’s settings, and go to the Data Mapping tab. It appears for push and inbox channels only. Enable it and write a mapping that builds the data object from the incoming request.
The push channel settings modal with the Data Mapping tab selected, showing the toggle and the mapping editor.
data object through:
request() reads from the send request. The paths are data, profile, recipient, event, brand, and message. Courier evaluates the mapping at send time. Jsonnet is the default processing mode.
Limits & behavior
- Legacy block-based templates only. Elemental content skips the mapping and passes the full
dataobject through. That covers every Design Studio template and every inlinecontentsend. - Push and inbox only. No other channel carries a
dataMappingSettingsobject, because no other channel has a data bag to fill. - An existing channel is never flipped for you. The default is seeded when a channel is created. Turning mapping off stays off.
- A provider override always wins. A bypasses rendering, so it carries your fields whether or not the template maps anything.
FAQ
My data is not reaching the device. What do I check?
My data is not reaching the device. What do I check?
Check which designer built the template first. A Design Studio template, and a send with inline
content, already pass data through. Look at the payload you sent and at your variable paths, not at mapping. Only a legacy block-based template needs Data Mapping turned on in its push or inbox channel settings.I turned Data Mapping on in Design Studio and nothing changed. Why?
I turned Data Mapping on in Design Studio and nothing changed. Why?
Because the template’s content is Elemental, Courier skips the mapping and uses the full
data object. The editor is a leftover surface on that channel’s settings, so there is nothing to configure. Your fields are already being passed through.Does data mapping affect email or SMS?
Does data mapping affect email or SMS?
Only push and inbox have a data payload for it to fill. Email and SMS render
data into content through variables.Can I set a mapping over the API?
Can I set a mapping over the API?
Not on its own. Data mapping is a channel setting on the template, so it travels with the template. For a per-send payload, set the fields in a instead.