Forum Discussion
SMS & Using liquids for links
Thank you! I will see if something like that works. This is what I was doing per Braze recommendation but it is not working right.
{% assign most_recent_app_version_var = {{most_recently_used_device.${os}}} %}
{% assign most_recent_app_version_1 = {{most_recently_used_device.${model}}}
%}
{% if most_recent_app_version_1 contains 'iPhone' %}
🚀 IPHONE fieldview://reports
{% elsif most_recent_app_version_1 contains 'iPad' %}
🚀 IPAD fieldview://reports
{% elsif most_recent_app_version_var contains 'Android' %}
🚀 ANDROID
https://climate.com/ul/reports
{% else %}
{% abort_message('User does not have a compatible OS') %}
{% endif %}
Have you tried to view as a custom user and see what populates when you input "iPhone" in the most_recently_used_device?
You just have to update your code to show the object: {{most_recent_app_version_1}}
- rayelkho2 months agoPractitioner III
This will help you debug and ensure that the liquid logic is working as expected. If that is working, you can try writing that attribute to a profile and running a campaign targeting 1 user to see if the logic is working. That would rule out that you are using the right liquid statements
Related Content
- 6 months ago