#Is there any way to send particular email or sms for particular workflow
1 messages · Page 1 of 1 (latest)
@zenith fjord, you just advanced to level 2!
Hi @zenith fjord, 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:
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:
-
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) .
-
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.
-
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 <@&986960430528331776> for additional help.
Hey @zenith fjord 🙂
Not sure I understand what you are looking for, can you further clarify? What do you want to see?
Hello @random sun
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 @random sun
Hello Support,
@random sun
I have another question can we trigger the workflow event by channel wise ?
@zenith fjord what do you mean by that?
@random sun 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
@wild nebula, 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
- I have updated the global preference for the subscribe id. (Like enabled only the SMS channel)
- After that trigger workflow event
- But not apply the latest global preference (Actually, I have enabled only SMS channel so email don\t send but still send)
- After done event trigger flow, I have updated the global preference as per old preference.
Please help me on this.
@zenith fjord, you just advanced to level 3!
@zenith fjord how about we join a quick live session?
Thanks @random sun for replying. I will be available.
Hey @zenith fjord , just sent you a DM
@random sun Can we connect ?
@random sun Any update on this ticket ?
@zenith fjord
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 @faint bluff 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
- I have updated the global preference for the subscribe id. (Like enabled only the SMS channel)
- After that trigger workflow event
- But not apply the latest global preference (Actually, I have enabled only SMS channel so email don\t send but still send)
- After done event trigger flow, I have updated the global preference as per old preference.
I have just send email on ""subscriberId": "[email protected]","
@faint bluff Any update on this ?
@zenith fjord could you share the environemntId also from settings?
Yes, let me share
@faint bluff @random sun environmentId : "64f09213faeddba41e0137df"
@zenith fjord
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.
@random sun So which type of do we have to set? and how to set different type.
@zenith fjord Sorry I could not understand your question
So which type of do we have to set
Could you please explain a bit more?
@random sun @faint bluff 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 ?
Okay thanks, let me check and update to you
@zenith fjord did you get chance to check this?