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
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
each step.events
, i got stuck. Can someone help or know if this is possible?