31 Replies
@Chirag parmar, you just advanced to level 2!
Hi @Chirag parmar, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* NodeJS quickstart
* Send Your First Notification
* .NET
* Ruby quickstart
-----------------------------
Answer
Yes, you can send specific emails or SMS messages for particular workflows in Novu by setting up dedicated workflows that include tailored content for each notification type. When you create a workflow in Novu, you can specify the content style and custom variables for each channel, including email and SMS. This setup allows you to tailor the notifications sent via these channels to meet specific requirements or contexts.
Here's a brief guide on how you can set this up:
1. Create a Workflow: Start by creating a new workflow in Novu where you can define the notification blueprint. You can specify the name and identifier for the workflow and add channels like email or SMS to it (1) (2) (3) (4) (5) .
2. Define Channel Content: For each channel added (e.g., email or SMS), you can define the content style, whether it's plain text for SMS or HTML for email. You can also use custom variables within your content to personalize the messages based on your needs.
3. Test the Workflow: After setting up the workflow, use the test features in Novu to send test notifications to verify that everything is working as expected.
By following these steps, you can ensure that specific emails and SMS messages are sent out for particular workflows, making your notifications more targeted and effective.
Got it. Tagging @Support for additional help.
Hey @Chirag parmar 🙂
Not sure I understand what you are looking for, can you further clarify? What do you want to see?
Hello @Tomer Barnea
Actually we are using work flow and in one work flow we have setup for email and sms but now from my system i want to send email only so how to send ?
Send event for only sms or only email
Got it, thanks!
If those are two different scnarios I would create two workflows. Otherwise you can filter a step. See the images attached.
Thanks you @Tomer Barnea
Hello Support,
@Tomer Barnea
I have another question can we trigger the workflow event by channel wise ?
@Chirag parmar what do you mean by that?
@Tomer Barnea that means in workflow there are mutiple channges like email, sms, in app like this
So when trigger workflow event only send email or SMS channgel
Like we set only email prefrence then only send the email not sending the SMS when trigger the workflow..
and another question like below
- When called trigger I have tried to override the preference settings but it's not working ?
-----
Basically, We have a requirement to show list of emails or sms within all the workflows in our UI and if the user selects a particular from the list and sends that particular email or sms.
If you help with this It will be good for us.
I have research from last couples of days but not getting sollutions
I think using steps can work if you send a field through the payload then you can decided which channel can be executed in workflow
@ayomide, you just advanced to level 2!
Hello Support,
Any update on this,
For trigger event for particular channel, I have follow following steps but still not working 1) I have updated the global preference for the subscribe id. (Like enabled only the SMS channel) 2) After that trigger workflow event 3) But not apply the latest global preference (Actually, I have enabled only SMS channel so email don\t send but still send) 4) After done event trigger flow, I have updated the global preference as per old preference. Please help me on this.
For trigger event for particular channel, I have follow following steps but still not working 1) I have updated the global preference for the subscribe id. (Like enabled only the SMS channel) 2) After that trigger workflow event 3) But not apply the latest global preference (Actually, I have enabled only SMS channel so email don\t send but still send) 4) After done event trigger flow, I have updated the global preference as per old preference. Please help me on this.
@Chirag parmar, you just advanced to level 3!
@Chirag parmar how about we join a quick live session?
Thanks @Tomer Barnea for replying. I will be available.
Hey @Chirag parmar , just sent you a DM
@Tomer Barnea Can we connect ?
@Tomer Barnea Any update on this ticket ?
@Chirag parmar
So one way is to use some payload variable in condition to disable or enable the step channels in the workflow.
other way is to use subscriber preference.
Could you please share the environmentid and subscriberid for which you changed the preference
Hello @Pawan Jain Thanks for reply
Yes, "So one way is to use some payload variable in condition to disable or enable the step channels in the workflow.
" This one already mentioned before your support team.
But I want to go with this "other way is to use subscriber preference"
For this I have tried as below step but not works
1) I have updated the global preference for the subscribe id. (Like enabled only the SMS channel)
2) After that trigger workflow event
3) But not apply the latest global preference (Actually, I have enabled only SMS channel so email don\t send but still send)
4) After done event trigger flow, I have updated the global preference as per old preference.
I have just send email on ""subscriberId": "[email protected]","
@Pawan Jain Any update on this ?
@Chirag parmar could you share the
environemntId
also from settings?Yes, let me share
@Pawan Jain @Tomer Barnea environmentId : "64f09213faeddba41e0137df"
@Chirag parmar
Thanks for sharing all the details.
i see you have marked your workflow as
critical
A critical workflow does not consider subscriber preference on either level. notification will always be sent.
https://docs.novu.co/subscribers/preferences#exclude-workflows-from-preferences-critical-workflow@Tomer Barnea So which type of do we have to set? and how to set different type.
@Chirag parmar Sorry I could not understand your question
So which type of do we have to set
Could you please explain a bit more?@Tomer Barnea @Pawan Jain as you mentioned in comment.
you have marked your workflow as "critical" that's why not working so how to make workflow to "non-critical" ??
In edit workflow page, there is not any option to set "non-critical".
So please help me how to make "non-critical" workflow ?
Any update on this ?
Hey @Chirag parmar
You will find this option in workflow settings
Okay thanks, let me check and update to you
@Chirag parmar did you get chance to check this?
I will review it and update to you