Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: Workflow with a custom provider on each step #7454

Open
2 tasks done
ldivizio opened this issue Jan 8, 2025 · 5 comments
Open
2 tasks done

🚀 Feature: Workflow with a custom provider on each step #7454

ldivizio opened this issue Jan 8, 2025 · 5 comments

Comments

@ldivizio
Copy link

ldivizio commented Jan 8, 2025

🔖 Feature description

I've enabled 2 Email providers with Custom SMTP.

I'd like to create a workflow with 3 steps:

  1. Push Notification with Firebase
  2. EMail (provider 1)
  3. EMail (provider 2)

but sadly it doesn't seem possibile. Is there a way? Reading the docs it seems possible to have just one EMail provider (in general a provider for notification channel) per workflow.

🎤 Why is this feature needed ?

It's very important for our business. Actually we implemented 2 workflow :-(

✌️ How do you aim to achieve this?

It could be very usefull to have a custom provider for each step.

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Copy link

linear bot commented Jan 8, 2025

@github-actions github-actions bot added the triage label Jan 8, 2025
@SokratisVidros
Copy link
Contributor

SokratisVidros commented Jan 13, 2025

Hey @ldivizio.

Thanks for reporting this. Can you please confirm if this is about the new Novu Dashboard at https://dashboard-v2.novu.co?

@ldivizio
Copy link
Author

Hey @ldivizio.

Thanks for reporting this. Can you please confirm if this is about the new Novu Dashboard at https://dashboard-v2.novu.co?

I tried with both legacy and v2 dashboard. From the PRs I see #7448. Maybe it could solve this limit?

@SokratisVidros
Copy link
Contributor

SokratisVidros commented Feb 10, 2025

The ability to control a provider per channel should be available later this year. Currently the new Dashboard operates under the concept of an active provider per channel. However, you can use the @novu/framework and @novu/api and pass trigger overrides so as to pick the right provider for its step. I also fully acknowledge that the DX is suboptimal at this stage.

@jainpawan21
Copy link
Member

jainpawan21 commented Feb 10, 2025

@ldivizio

Multiple email provider integrations can be added in novu but only one provider can be marked as primary and this provider is the default provider for all email steps of the workflow.
While you can not use different provider for each step, different email provider can be used for the whole workflow using overrides

Check this documentation to learn on how to use email overrides
https://docs.novu.co/integrations/providers/email/overview#using-different-email-integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants