N
Novuβ€’7mo ago
kmp

Merge all digests from different workflows

I have setup a workflow for each type of notification that I have. ex: - UserCreation Notification - UserNameUpdation Notification Each workflow has its own digest linked (looks something like): UserCreation ----- {{count}} users have been created. UserNameUpdation ---- {{user_name}} users have been edited. Now, when I attach email to each workflow, its sending one email per digest. Which is working perfect. but my usecase is to send a monthly digest which will contains both UsersCreated and UserUpdates in single email. Can you please help me, if we can achieve something of this sort ?
4 Replies
Obscene Burrito
Obscene Burritoβ€’7mo ago
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 πŸ™Œ
Pawan Jain
Pawan Jainβ€’7mo ago
Hi @kmp Thanks for sharing the detailed use case Currently single workflow digest is possible. Multi workflow digest is in our roadmap. https://roadmap.novu.co/roadmap/50e98b9a-cc1e-4e70-b191-a693cd6116fd
Novu's roadmap
Find out what the Novu team is working on and leave your feedback - powered by Productlane
Pawan Jain
Pawan Jainβ€’7mo ago
Thanks @Obscene Burrito for solution πŸ™‚
Obscene Burrito
Obscene Burritoβ€’7mo ago
glad i helped somehow πŸ™Œ