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

1 messages · Page 1 of 1 (latest)

zenith fjord
balmy dustBOT
#

@zenith fjord, you just advanced to level 2!

mortal agateBOT
#

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.

#

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.

mortal agateBOT
random sun
#

Hey @zenith fjord 🙂

Not sure I understand what you are looking for, can you further clarify? What do you want to see?

zenith fjord
#

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

random sun
#

Got it, thanks!

If those are two different scnarios I would create two workflows. Otherwise you can filter a step. See the images attached.

zenith fjord
#

Thanks you @random sun

zenith fjord
#

Hello Support,
@random sun
I have another question can we trigger the workflow event by channel wise ?

random sun
#

@zenith fjord what do you mean by that?

zenith fjord
#

@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

wild nebula
#

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

balmy dustBOT
#

@wild nebula, you just advanced to level 2!

zenith fjord
#

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.
balmy dustBOT
#

@zenith fjord, you just advanced to level 3!

random sun
#

@zenith fjord how about we join a quick live session?

zenith fjord
#

Thanks @random sun for replying. I will be available.

random sun
#

Hey @zenith fjord , just sent you a DM

zenith fjord
#

@random sun Can we connect ?

zenith fjord
#

@random sun Any update on this ticket ?

faint bluff
#

@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

zenith fjord
#

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

  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.
zenith fjord
#

@faint bluff Any update on this ?

faint bluff
#

@zenith fjord could you share the environemntId also from settings?

zenith fjord
#

Yes, let me share

#

@faint bluff @random sun environmentId : "64f09213faeddba41e0137df"

faint bluff
#

@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.

zenith fjord
#

@random sun So which type of do we have to set? and how to set different type.

faint bluff
#

@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?

zenith fjord
#

@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 ?

zenith fjord
#

Any update on this ?

faint bluff
#

Hey @zenith fjord

#

You will find this option in workflow settings

zenith fjord
#

Okay thanks, let me check and update to you

faint bluff
#

@zenith fjord did you get chance to check this?