Templit icon

Templit

Render email templates from Templit

Render Template

AI-generated

Summary

Render a Templit template with provided variables

Inputs

  • templateId (required) — Select a template from the list or provide its ID
  • variables (required) — Variable mappings to substitute into the template

Output shape

object containing templateId, templateName, content, contentType, and variables

Returns a single item; fields may be empty; errors are handled via continueOnFail and may return an error object

Examples

Example 1: Render a welcome email template

templateId selected from list, variables mapping includes name and greeting

Example 2: Render a custom report template by ID

templateId set to specific ID, variables mapping provides complex data

Example 3: Render a template while ignoring errors

operation Render Template, templateId selected, variables mapping provided, continueOnFail enabled

Links

Discussion