Obscene Burrito
Obscene Burrito
NNovu
Created by Obscene Burrito on 1/3/2024 in #💬│support
Schedule Digest not working again
yeah i realized that later. since the first time i got this issue i spent many hours debugging to be sure it was a bug, i decided to ask first this time hahahha thanks for the help again!
8 replies
NNovu
Created by Obscene Burrito on 1/3/2024 in #💬│support
Schedule Digest not working again
hey @Pawan Jain i ran many tests yesterday and looks like it wasn't working for some subscribers only i believe someone disabled the workflows in their preferences and was complaining. i tested it on my end and it was working fine too. sorry about this ticket 😭
8 replies
NNovu
Created by Obscene Burrito on 12/13/2023 in #💬│support
Is it possible to use groupBy with step.events?
this is what i'm doing:
{{#equals step.total_count 1}}
{{#each step.events}}
You have new messages from {{contactLabel}}.
{{/each}}
{{else}}
Open your inbox to view recent messages.
{{/equals}}
{{#equals step.total_count 1}}
{{#each step.events}}
You have new messages from {{contactLabel}}.
{{/each}}
{{else}}
Open your inbox to view recent messages.
{{/equals}}
` but i'd like to do something like:
{{#equals step.total_count 1}}
{{#each step.events}}
You have new messages from {{contactLabel}}.
{{/each}}
{{else}}
{{#each groupBy step.events.??? "contact"}}
Open your inbox to view recent messages.
{{/each}}
{{/equals}}
{{#equals step.total_count 1}}
{{#each step.events}}
You have new messages from {{contactLabel}}.
{{/each}}
{{else}}
{{#each groupBy step.events.??? "contact"}}
Open your inbox to view recent messages.
{{/each}}
{{/equals}}
7 replies
NNovu
Created by Obscene Burrito on 12/13/2023 in #💬│support
Is it possible to use groupBy with step.events?
yes!
7 replies
NNovu
Created by Obscene Burrito on 12/13/2023 in #💬│support
How to have a "multiline" title in a push notification?
are for iOS. but i'm not a mobile developer. so i don't understand that very well. thanks for the docs though! i i will share them with the mobile devs and see if we can do it
9 replies
NNovu
Created by Obscene Burrito on 12/13/2023 in #💬│support
How to have a "multiline" title in a push notification?
@Pawan Jain ^
9 replies
NNovu
Created by kmp on 12/13/2023 in #💬│support
Merge all digests from different workflows
glad i helped somehow 🙌
5 replies
NNovu
Created by Obscene Burrito on 12/13/2023 in #💬│support
Is it possible to use groupBy with step.events?
Yeah, i know. My question is if it's possible to use groupBy with #each step.events. As I mentioned before, this is what happens nowadays: The problem in that snippet, in my situation, is that if I send 5 messages, I will receive the notification as Person1 and 4 other sent a message, but I was the one that sent the 5 messages. and i want to have the unique values in this case
7 replies
NNovu
Created by Obscene Burrito on 12/13/2023 in #💬│support
How to have a "multiline" title in a push notification?
and the body still fine. i can handle them perfectly
9 replies
NNovu
Created by Obscene Burrito on 12/13/2023 in #💬│support
How to have a "multiline" title in a push notification?
Multi line title. I would like to have something similar to the:
Linear
You have......
Linear
You have......
9 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
How to digest events for different push notifications?
that was my question. i didn't know if that was supposed to work or not. i just tried and it works fine. thanks!
10 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
How to digest events for different push notifications?
i could do the exact same approach i did for emails: {{#equals step.total_count 1}} {{else}} {{/equals}} but i don't think that's available for push
10 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
How to digest events for different push notifications?
yes. but is handlerbars available for push notifications too? because my issue is that the notifications are not the same. for 1 event the push is "Name here replied" and for digest is "You have N new replies". so i was trying to filter for total_count to trigger different push notifications
10 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
Schedule Digest not working as expected
perfect. it's working as expected! thanks for the fast hotfix
12 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
Schedule Digest not working as expected
i will test now and will report back to you
12 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
Schedule Digest not working as expected
thanks @Pawan Jain !!!
12 replies
NNovu
Created by kmp on 12/13/2023 in #💬│support
Merge all digests from different workflows
hey @kmp i've been playing with novu recently and got a situation similar to yours i ended up creating 3 different workflows for different digest times, and I always trigger the three in the code. is up to the user to enable or disable them in the notification preference so you would have your workflows like: user-creation user-updated user-actions (new, can be another name, of course), with monthly digest and then you would need to trigger both in your code. when creating an user: trigger user-creation and user-actions when updating an user: trigger user-updated and user-actions i hope this is enough and can help you 🙌
5 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
How to digest events for different push notifications?
oh, and one thing i forgot to mention, we have a messageType in the payload too. that's why we have two push notifications. one for each message type. which means, i was trying to do something like that on the filters: when payload.messageType equals text and when step.total_count greater than 1.
10 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
Schedule Digest not working as expected
glad i'm helped and i'm not crazy! 🙌
12 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
Schedule Digest not working as expected
thanks!
12 replies