Skip to content

Templates

The Templates page is the registry for all catalog layout templates in the system. Each template contains the HTML used to render the output catalog and optional WhatsApp delivery message customizations. Templates are referenced by definitions and are applied when jobs generate catalogs.

Templates list page showing catalog templates with name, description, system flag, active status, variable count, and updated columns

Navigate to Catalog Automation → Settings → Templates in the sidebar, or go to /catalog-automation/settings/templates.

  • View all catalog templates, including system-provided templates.
  • Create a new custom template using the template editor.
  • Open an existing non-system template in the full-screen editor to modify it.
  • Review the number of template variables used by each template.
  • Delete non-system templates that are no longer needed.
  1. Open the page from the sidebar under Catalog Automation → Settings.
  2. Click Create Template to open the editor and author a new HTML layout.
  3. To modify an existing template, click the Edit icon on its row to reopen the editor.
  4. After saving, the template is immediately available for selection in Definitions.
  • System templates are protected: they cannot be edited or deleted. They are marked with a System badge and a lock icon in the Name column.
  • Deleting a custom template that is referenced by an active Definition will not break existing catalogs, but new jobs using that definition will fall back to the default built-in template.
  • Templates use Handlebars-style variables. Available catalog variables include {{catalog.title}}, {{catalog.customerName}}, {{catalog.customerEmail}}, and item-level variables accessed inside {{#each catalog.items}}.
ColumnDefault VisibleSortableDescription
NameYesNoTemplate name; system templates show a lock icon before the name
DescriptionYesNoOptional description text
SystemYesNoSystem badge if the template is a protected system template
ActiveYesNoActive or Inactive status badge
VariablesYesNoCount of distinct template variables detected in the HTML body
UpdatedYesNoRelative time since last modification; hover for full timestamp
StatusDescription
ActiveTemplate is available for use in Definitions
InactiveTemplate is excluded from Definition selection

The Templates list does not include a filter panel. All templates are displayed together. System templates appear alongside custom templates.

The templates list does not support column-level sorting. Records are returned in the order they were created.

All templates are shown on a single page. There is no Load More or page-based pagination.

ActionDescriptionPermission
Create TemplateNavigates to the full-screen template editor to create a new templatecatalog-automation.templates (Write)
RefreshReloads the template list

Each row provides icon buttons:

ActionDescriptionPermission
EditNavigates to the template editor for the selected template — disabled for system templatescatalog-automation.templates (Write)
DeleteRemoves the template after confirmation — disabled for system templatescatalog-automation.templates (Admin)

Click Create Template to open the full-screen template editor at /catalog-automation/settings/templates/new.

Create Template editor with the variable picker on the left, and Name, Description, Active toggle, and HTML Body fields on the right

The editor provides the following fields:

FieldRequiredTypeDescriptionDefaultValidation
NameYesTextDisplay name for the templateCannot be empty
DescriptionNoTextOptional short description
HTML BodyYesCode editorFull HTML content with Handlebars-style variable interpolationCannot be empty
ActiveNoToggleWhether this template can be selected in DefinitionsOn
WhatsApp Image CaptionNoTextCustom caption text sent with each image over WhatsApp — supports {sku}, {imageNumber}, {imageTotal} variablesSystem default
WhatsApp Completion MessageNoTextMessage sent after all images are delivered — supports {imageCount} variableSystem default

To create a template:

  1. Click Create Template.
  2. Enter a Name.
  3. Author the HTML Body using the code editor. Use the variable picker to insert catalog and item variables.
  4. Optionally customize WhatsApp Image Caption and WhatsApp Completion Message for WhatsApp delivery.
  5. Keep Active toggled on.
  6. Click Save.

After saving, the editor navigates back to the Templates list and the new template appears immediately.

Click the Edit (pencil) icon on a non-system row. The editor opens at /catalog-automation/settings/templates/{id} pre-populated with the current template content. The same fields apply. Click Save to apply changes.

Edit Template editor pre-populated with an existing template's name, description, and HTML body

System templates show the edit icon as disabled. Hovering over the disabled button shows a tooltip: “System templates cannot be modified”.

  1. Click the Delete (trash) icon on a non-system row.
  2. A confirmation dialog warns that the action cannot be undone.
  3. Click Delete to confirm.

System templates show the delete icon as disabled.

  • Definitions — Assign templates to catalog generation rules
  • Settings — Module-level configuration including expiration and concurrency settings