Obscene Burrito
Obscene Burrito
NNovu
Created by Obscene Burrito on 1/3/2024 in #💬│support
Schedule Digest not working again
Hey guys. That's the old thread: https://discord.com/channels/895029566685462578/1184160775426813982/1184183858053271692 I think this issue is back again. I'm not receiving scheduled digests anymore. Can you have a look pls? Thanks
8 replies
NNovu
Created by Obscene Burrito on 12/15/2023 in #💬│support
The digest block got an "undefined" when using a scheduled digest
No description
4 replies
NNovu
Created by Obscene Burrito on 12/13/2023 in #💬│support
How to have a "multiline" title in a push notification?
No description
9 replies
NNovu
Created by Obscene Burrito on 12/13/2023 in #💬│support
Is it possible to use groupBy with step.events?
Pretty much title. I have a workflow with a digest running, and I followed the docs for the count excluding individuals:
{{#each step.events}}
{{#if @first}}
{{this.name}}
{{else}}
{{#if @last}}
and {{@index}}
{{/if}}
{{/if}}
{{/each}}
followed you!
{{#each step.events}}
{{#if @first}}
{{this.name}}
{{else}}
{{#if @last}}
and {{@index}}
{{/if}}
{{/if}}
{{/each}}
followed you!
But in this case, this is for a one-time event. I am trying to notify messages received, like in a chat. So the same user can send many messages, that got digested and sent. 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. I was thinking about using the groupBy title, but since I'm having the digest and doing a each step.events, i got stuck. Can someone help or know if this is possible?
7 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
How to digest events for different push notifications?
I have a workflow that has three triggers: one email and two push notifications. In the email template, I use the handlerbars helpers, but we don't have that for push. I tried adding a filter, but we can't access the step.total_count on the filters thought. Any suggestion on how to implement that? How can use the digest in this workflow to send different push notifications? e.g.: - w/o digest: you received a new reply - with digest: you received N new replies
10 replies
NNovu
Created by Obscene Burrito on 12/12/2023 in #💬│support
Schedule Digest not working as expected
I have a workflow with a schedule digest to trigger every 4 hours. For testing purposes, I changed this time to every 2 minutes. I have a logic to send different titles and bodies on my email template according to the step.total_count variable. The issue I'm noticing is that it doesn't behave as expected. If I trigger this workflow once, I receive the email fine. The title is You have 1 new unread message. But if I trigger this workflow many times, I still receive the email with the same title (and body). And I believe this doesn't seem right because if I change from scheduled digest to regular digest, everything works as expected. Do you have an idea of why this happens?
12 replies