Workflow: Skip Email for Subscribers Without Email and Try SMS Flow
I am trying to create a workflow where if the subscriber does not have an email we skip the email and try sms flow. But i dont think I am doing it correctly. Additionally I cannot find any resource on this topic.
sample code:
12 Replies
@electron
it should work. Are you facing any issue?
yeah the workflow does not seem to be triggered


Check-in activity feed page
Novu Cloud Dashboard
Novu Cloud Dashboard
yeah i did ofcourse. no log
@electron I will debug this. Give me some time
sure @Pawan Jain thank you :)
also when sending sms am i missing something here?
it says Subscriber missing recipient details

is this your code snippet to trigger the workflow?
replace
recipientPhone
with phone
i see it's queued now
@electron, you just advanced to level 1!
any findings on the initial question?
as a work around, i divided email and sms into seperate workflows and trigger it conditionally. But it'd be ideal to have the logic in the same workflow