N
Novu•8mo ago
Chirag parmar

Is there any way to send particular email or sms for particular workflow

No description
31 Replies
Novu_Bot
Novu_Bot•8mo ago
@Chirag parmar, you just advanced to level 2!
Ask Inkeep
Ask Inkeep•8mo ago
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 -----------------------------
Ask Inkeep
Ask Inkeep•8mo ago
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.
Ask Inkeep
Ask Inkeep•8mo ago
Got it. Tagging @Support for additional help.
Tomer Barnea
Tomer Barnea•8mo ago
Hey @Chirag parmar 🙂 Not sure I understand what you are looking for, can you further clarify? What do you want to see?
Chirag parmar
Chirag parmarOP•8mo ago
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
No description
Tomer Barnea
Tomer Barnea•8mo ago
Got it, thanks! If those are two different scnarios I would create two workflows. Otherwise you can filter a step. See the images attached.
No description
No description
Chirag parmar
Chirag parmarOP•8mo ago
Thanks you @Tomer Barnea Hello Support, @Tomer Barnea I have another question can we trigger the workflow event by channel wise ?
Tomer Barnea
Tomer Barnea•8mo ago
@Chirag parmar what do you mean by that?
Chirag parmar
Chirag parmarOP•8mo ago
@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
ayomide
ayomide•8mo ago
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
Novu_Bot
Novu_Bot•8mo ago
@ayomide, you just advanced to level 2!
Chirag parmar
Chirag parmarOP•8mo ago
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.
Novu_Bot
Novu_Bot•8mo ago
@Chirag parmar, you just advanced to level 3!
Tomer Barnea
Tomer Barnea•8mo ago
@Chirag parmar how about we join a quick live session?
Chirag parmar
Chirag parmarOP•8mo ago
Thanks @Tomer Barnea for replying. I will be available.
Tomer Barnea
Tomer Barnea•8mo ago
Hey @Chirag parmar , just sent you a DM
Chirag parmar
Chirag parmarOP•7mo ago
@Tomer Barnea Can we connect ? @Tomer Barnea Any update on this ticket ?
Pawan Jain
Pawan Jain•7mo ago
@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
Chirag parmar
Chirag parmarOP•7mo ago
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 ?
Pawan Jain
Pawan Jain•7mo ago
@Chirag parmar could you share the environemntId also from settings?
Chirag parmar
Chirag parmarOP•7mo ago
Yes, let me share @Pawan Jain @Tomer Barnea environmentId : "64f09213faeddba41e0137df"
Pawan Jain
Pawan Jain•7mo ago
@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
Chirag parmar
Chirag parmarOP•7mo ago
@Tomer Barnea So which type of do we have to set? and how to set different type.
Pawan Jain
Pawan Jain•7mo ago
@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?
Chirag parmar
Chirag parmarOP•7mo ago
@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 ?
Pawan Jain
Pawan Jain•7mo ago
Hey @Chirag parmar You will find this option in workflow settings
Pawan Jain
Pawan Jain•7mo ago
No description
Chirag parmar
Chirag parmarOP•7mo ago
Okay thanks, let me check and update to you
Pawan Jain
Pawan Jain•7mo ago
@Chirag parmar did you get chance to check this?
Chirag parmar
Chirag parmarOP•7mo ago
I will review it and update to you
Want results from more Discord servers?
Add your server