Next 14 SaaS Boilerplate Pro DocsBuy Now ↗Buy Now ↗ (opens in a new tab)View Demo ↗View Demo ↗ (opens in a new tab)
  • Get Started
  • SaaS Structure
  • Project Structure
  • Install the Boilerplate
    • Multi-tenancy support
    • Billing and Subscriptions
    • Membership plan capabilities support
    • Organization Switcher
    • Onboarding
    • Role-based access control and permissions
    • Notifications Module
    • Ticket Support Module
    • Settings Module for Super Admins
    • Marketing Module
    • Stripe Invoices and memberships Module
    • Imagekit Integration for Media Storage
    • Internal components
    • User Management
    • Organization Profile
    • Organization (Tenants) Management
    • Subscriptions Management
    • Vercel Analytic Integration
    • SEO friendly (SSR by Next 14)
    • User Profile
    • Dashboards
    • DarkTheme
    • Responsive
    • Landing Page
    • Absolute Imports using @ prefix

On This Page

  • Implementation
  • Send a notification to Tenant
  • Send a notification to SuperAdmin
Question? Give us feedback → (opens in a new tab)Edit this page
Features
Notifications Module

Notification Module

SaaS Notification Module

Implementation

Send a notification to Tenant

    //id = organizationId
    sendInternalNotification(id, `You have a new message in your ticket #${ticket.id}`
    );

Send a notification to SuperAdmin

    notifyToSuperAdmin(`New Invoice paid, # ${invoice.id}"`);
ℹ️

If you have the telegram notification module activated, the notification will be sent to the telegram group that you configure as super admin

Role-based access control and permissionsTicket Support Module

The SaaS Factory Boilerplate Docs - Next 14 Pro Version