Documentation Index
Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt
Use this file to discover all available pages before exploring further.
Understanding tenants
Tenants (previously named as brands) represents a segment that user belongs to. It can be organizations, teams within an organization, projects, workspaces, subsidiary companies or different product lines in the same business, and so on. Tenants in SuprSend are used to design custom notification experience based on these segments.Possible customizations and usage
Each tenant can have its own properties, preferences, vendors, and custom template design or content. You can use tenants to:- White-label notifications — Send notifications to your customers’ end users with their branding, colors, logos, and social links. One shared template;
$brand.*variables are replaced with tenant-specific values at runtime. - Set admin-level preference defaults — Define default notification preferences at the account or project level that apply to all users within it.
- Per-tenant user preferences — Let users have different notification preferences for each tenant they belong to. For example, a user might mute Slack notifications for one project but keep them on for another. Just pass
tenant_idwhile saving per-tenant preferences for a user. - Route via tenant vendors — Send notifications through your customers’ own email domain, SMS sender ID, or WhatsApp provider instead of yours. If no tenant vendor is set, the default vendor is used.
- Scope in-app feeds — Show a separate notification inbox per tenant so users only see what’s relevant to their current context. Messages are tagged with
tenant_id; badge counts are scoped automatically. - Block notification categories — Block certain paid features / modules or channels for a tenant as they have not subscribed to them.
- Custom template content — Tenants can modify template content or have the option to add new notifications for their end users. (coming soon)
- Per-tenant user properties or channel identities — Users can have different roles per project or have different push tokens for different applications of your product. (coming soon)
default tenant that represents your own organization. If no tenant_id is passed in a workflow or event trigger, the default tenant’s properties are applied.How tenants work
By default, tenancy is a trigger-time concept. You passtenant_id at trigger time and SuprSend applies that tenant’s configuration at runtime to your notifications.
When a workflow is triggered with a tenant_id, SuprSend will:
- Resolve the tenant’s branding properties and replace
$tenant.*variable in workflows or$brand.*variable in your templates with tenant properties. - Evaluate tenant-level admin preferences and default preference settings.
- Apply per-user, per-tenant preferences if the user has them set for that tenant.
- Route the notification through the tenant’s configured vendor, falling back to the default vendor if none is set. If no tenant vendor is set, the default vendor is used.
- Tag the message with the
tenant_idso in-app inbox feeds can be scoped per tenant.
Real-world examples
Multi-tenant B2B2X applications
Admin preferences in SaaS Applications
Project Management App with per-project preference settings
Multiple apps with per-app user identities
FAQ
Do I need to assign users to tenants?
Do I need to assign users to tenants?
tenant_id at trigger time and SuprSend will apply that tenant’s configuration.Can a user belong to multiple tenants?
Can a user belong to multiple tenants?
What happens if I don't pass a tenant_id?
What happens if I don't pass a tenant_id?
default tenant is used. Every workspace has one, representing your organization’s own branding and settings.Is there a limit on the number of tenants?
Is there a limit on the number of tenants?
Can I use different workflows per tenant?
Can I use different workflows per tenant?
$tenant.* variables, per-tenant preferences, and step conditions to customize behavior within a single shared workflow. This keeps your notification logic manageable as you scale.What if two business lines have completely different users and notifications?
What if two business lines have completely different users and notifications?
Will all users in a tenant receive a notification when I trigger with that tenant_id?
Will all users in a tenant receive a notification when I trigger with that tenant_id?
tenant_id in a workflow trigger does not send the notification to all users in that tenant. It only applies that tenant’s configuration (branding, preferences, vendors) to the notification. You still need to specify the recipients explicitly in your trigger call.Can I update a tenant's branding and use custom properties in templates?
Can I update a tenant's branding and use custom properties in templates?
$brand.<property> variables in your templates to render them dynamically. See Tenant Templates for details.Is multi-tenancy available on all plans?
Is multi-tenancy available on all plans?
Can I filter the in-app inbox by tenant and additional criteria like project or tags?
Can I filter the in-app inbox by tenant and additional criteria like project or tags?