Step conditions for New Dashboard?
Hi, a lot of our workflows would need use of step conditions and we're using the new dashboard and the email editor. Is it going to be added in coming days to the UI (I already see some PRs merged) or would take longer than that? We're not sure how to manage this use case.
13 Replies
@voidx
Step conditions will be added very soon.
Thanks
Hey 👋
We launched step conditions in todays launch week announcement
Checkout the docs
https://docs.novu.co/workflow/step-conditions
Novu
Step Conditions - Novu
Create dynamic notification workflows using rule-based conditions. Control message delivery based on subscriber data, payload information, and workflow outcomes.
@voidx
Thanks Pawan, great feature!
@Pawan Jain where can i find docs on how to use this feature in a code-first way using @novu/framework? i can't seem to find anything about that or any good examples
so you can't use step conditions directly with the existing step.inApp step.email etc? like for example how could i use the payload data to only digest the notifications for some payload values and not others?
‘skip’ options is available with all steps. So, yes you can use it with in-app and email
ah, ok, thanks. then i'm not quite sure i understand what the new feature enables? or is it just enabling what was already possible in novu/framework to be done in the dashboard UI?
Yes it is for dashboard ui
@Pawan Jain Anyway to use step conditions for checking subscriber deviceTokens? Would be nice to be able to skip sending push if deviceTokens is
[]
Currently, it is not supported. Sharing the feedback with team