N
Novu•7mo ago
matthias

Overrides content of push notification (firebase provider)

I'm currently trying to overrides the content of the push notification I need to be able to add a title, custom message, image, and a deep link I'm not really sure to understand how the overrides section is working. when i trigger my workflow with the overrides section i don't receive the notification anymore on my device without it i receive it but with the default value set in Novu interface. You can see on the different screenshot how i trigger the workflows and how i have configure the push notification on Novu.
No description
No description
7 Replies
Pawan Jain
Pawan Jain•7mo ago
Hi @matthias.dumont If I am not wrong, you want to send dynamic notification in place of hard coded content
matthias
matthias•7mo ago
Hi Pawan, yes exactly i will build the content of the notifications from an other API
Pawan Jain
Pawan Jain•7mo ago
Instead of using overrides just use dynamic variables like this https://docs.novu.co/content-creation-design/notification-content-creation#push and send these dynamic variable values in payload In above example {{subscriber.firstName}} is system variable it will be picked automatically from subscriber details
matthias
matthias•7mo ago
yes i understand, thanks a lot for those precisions 🙂
Pawan Jain
Pawan Jain•7mo ago
you can send {{black_friday_deal_message}} variable value in payload
matthias
matthias•7mo ago
Ok this is perfectly working @Pawan Jain i have an other question about how to embed correctly link for the deeplink ?
Pawan Jain
Pawan Jain•7mo ago
Hi @matthias Checkout my message in another post https://discord.com/channels/895029566685462578/1176681610540752956/1177135308949684284 Closing this post, feel free to create new post if you are still facing any issue