baasix_update_template
Update an email template's subject, description, or body to customize authentication, invitation, password reset, welcome, and verification emails.
Instructions
Update an email template's subject, description, or body content.
TEMPLATE TYPES:
magic_link: Magic link authentication emails
invite: User invitation emails
password_reset: Password reset emails
welcome: Welcome emails
verification: Email verification emails
AVAILABLE VARIABLES:
User: {{user.firstName}}, {{user.lastName}}, {{user.fullName}}, {{user.email}}
Tenant: {{tenant.name}}, {{tenant.logo}}, {{tenant.website}}
Auth: {{magicLink}}, {{magicCode}}, {{resetPasswordLink}}, {{inviteLink}}
DateTime: {{currentDate}}, {{currentTime}}, {{currentYear}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Template ID (UUID) | |
| body | No | Template body as HTML string or GrapesJS project JSON | |
| subject | No | Email subject line (supports variables like {{user.firstName}}) | |
| isActive | No | Whether the template is active | |
| description | No | Template description |