N
Novu•2mo ago
voidx

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
Pawan Jain
Pawan Jain•2mo ago
@voidx Step conditions will be added very soon.
voidx
voidxOP•2mo ago
Thanks
Pawan Jain
Pawan Jain•4w ago
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.
Pawan Jain
Pawan Jain•4w ago
@voidx
voidx
voidxOP•4w ago
Thanks Pawan, great feature!
sheena
sheena•3w ago
@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
Pawan Jain
Pawan Jain•3w ago
Novu
Custom Action - Novu
Used to execute any custom code as a step in the workflow.
sheena
sheena•3w ago
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?
Pawan Jain
Pawan Jain•3w ago
‘skip’ options is available with all steps. So, yes you can use it with in-app and email
sheena
sheena•3w ago
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?
Pawan Jain
Pawan Jain•3w ago
Yes it is for dashboard ui
voidx
voidxOP•3w ago
@Pawan Jain Anyway to use step conditions for checking subscriber deviceTokens? Would be nice to be able to skip sending push if deviceTokens is []
Pawan Jain
Pawan Jain•3w ago
Currently, it is not supported. Sharing the feedback with team

Did you find this page helpful?