To send specific event attributes, like an ID, to a mobile device inside a push notification's custom data payload, follow these steps.
First, set up your journey so that the event containing your attributes occurs before the push notification step. You can do this by using an event entry point or a wait for event step.
Second, open the push notification step and add the placeholder format inside the custom data block:
{ "yourKey": "{{ yourAttributeName }}" }
Do not add event. before the variable name. Use {{ yourAttributeName }} rather than {{ event.yourAttributeName }}.
Third, on the push notification step, turn on the option to overwrite Liquid placeholders. Select your triggering event from the dropdown menu so the system can map the placeholder data correctly.
Comments
0 comments
Please sign in to leave a comment.