I have two applications that require email sending functionality via Mailgun

I have two applications that require email sending functionality via Mailgun, using separate domains for each. To accommodate this, I have set up two Mailgun integration services within the same Novu instance (novu 23.0.0). My question is: How can I utilize both of these integration services simultaneously to send emails from their respective domains?
4 Replies
Ask Inkeep
Ask Inkeep3mo ago
Hi @Pradeep Narayanan, I'm an AI assistant for Novu. While a team member reviews this question, I'll look through relevant sources and see if I can provide suggestions. Please tag @Ask Inkeep with any follow-up questions. ----------------------------- While I generate an answer, here are some sources that might be helpful: * Mailgun * Concepts * Chat Channel Overview * .NET ----------------------------- Answer To utilize two Mailgun integration services simultaneously for sending emails from their respective domains within the same Novu instance, you can leverage Novu's support for handling multiple organizations. Each organization in Novu can have its separate integration store, allowing you to manage multi-tenant environments and separate domains. Here's how you can set it up: 1. Create Two Organizations: Create two separate organizations within your Novu account, one for each application or domain you have. Each organization can have its own set of integrations, including Mailgun services with different domains. This is facilitated by Novu's organization concept, which ensures that each organization you create has its own integration store, workflows, subscribers, and API keys, allowing you to manage multi-tenant environments and separate domains within a single account (1) . 2. Set Up Mailgun Integrations: For each organization, set up a Mailgun integration with the specific domain and API key for that domain. This setup process involves adding your Mailgun API key and domain name to the Mailgun integration on the Novu platform for each organization (2) . 3. Switch Between Organizations: When sending notifications, ensure you're operating under the correct organization corresponding to the Mailgun service and domain you intend to use. Switching between organizations in the Novu UI affects the UI only and does not deactivate any organizations on the API side. The message delivery for each organization operates simultaneously (1) . By using separate organizations for each Mailgun domain, you can effectively manage and utilize multiple Mailgun integration servic
Ask Inkeep
Ask Inkeep3mo ago
es within the same Novu instance, associating each service with a specific domain and application.
Pawan Jain
Pawan Jain3mo ago
@Pradeep Narayanan While triggering the workflow, you can select particular mailgun integration. Checkout this doc:- https://docs.novu.co/channels-and-providers/email/overview#using-different-email-integration
Pradeep Narayanan
Thanks @Pawan Jain , it worked!
Want results from more Discord servers?
Add your server
More Posts