For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Email Template

Create an email template.

The Email channel handles transactional and campaign email — templates, footers, signatures, campaigns, and provider integrations. This method creates the email template and returns its id.

This method is on the Hub surface (norbix.hub.notifications) — call it from admin tooling or IaC.

These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See Install a Norbix SDK.

import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.hub.notifications.createEmailTemplate({
  templateName: 'orders',
  translations: ['item-1'],
  description: 'Managed via the Norbix SDK.',
  tags: ['orders', 'reports'],
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Notifications.CreateEmailTemplateAsync(new CreateEmailTemplateRequest
{
    TemplateName = "orders",
    Translations = new[] { "item-1" },
    Description = "Managed via the Norbix SDK.",
    Tags = new[] { "orders", "reports" },
});

In the dashboard

Manage this visually in Norbix Cloud — see Notifications → Email.

API reference

Full request and response for this endpoint: Create Email Template.

Last updated