ClaroDocs
Platform Guides

Template Builder

Create and customize phishing email templates with the visual editor.

Template builder

The template builder is a drag-and-drop email editor powered by GrapeJS. You can create phishing simulation emails without writing HTML. Templates support variable substitution for personalization and can be previewed with sample data before use.

Global template library

Claro ships with 30 production-ready phishing templates across six categories:

CategoryDescriptionExamples
IT / HelpdeskTechnical support and account managementPassword reset, MFA enrollment, account suspension
HRHuman resources communicationsPayroll update, benefits enrollment, policy acknowledgment
FinanceFinancial department emailsInvoice approval, expense report, wire transfer request
M365 / GoogleCloud productivity suite notificationsSharePoint sharing, Google Drive access, Teams meeting invite
Shipping (ID)Delivery notifications localized for IndonesiaPackage tracking, customs clearance, delivery failure
Government (ID)Government communications for IndonesiaTax notice, regulatory filing, identity verification

Navigate to Templates in the sidebar to browse the library. Each template shows a preview thumbnail, the category, and available languages.

Cloning templates

Click on any global template and select Clone to My Templates to create an editable copy in your tenant's template library. You can then customize the content, subject line, sender name, and styling to match your simulation scenario.

Global templates cannot be edited directly. Always clone them first. This ensures the original library remains intact for all tenants.

Creating a template from scratch

Click Create Template to open a blank editor. You will be prompted to enter:

  • Template Name - Internal name for reference (not shown to recipients)
  • Subject Line - The email subject. Supports variable substitution.
  • Sender Name - The display name in the "From" field (for example, "IT Support Team")
  • Category - For organizational purposes in your template library

Visual editor

The GrapeJS editor provides a drag-and-drop interface with these features:

Content blocks

Drag content blocks from the left panel onto the canvas:

  • Text - Paragraphs, headings, and formatted text
  • Image - Upload images or reference external URLs
  • Button - Call-to-action buttons (typically used for the tracked link)
  • Divider - Horizontal line separators
  • Spacer - Vertical spacing between elements
  • Columns - Multi-column layouts (1, 2, or 3 columns)
  • Social - Social media icon links

Styling

Select any element on the canvas to access the style panel on the right:

  • Typography: font family, size, weight, color, line height
  • Spacing: margin and padding controls
  • Background: color or image
  • Borders: width, color, radius
  • Dimensions: width and height

Responsive preview

Toggle between desktop and mobile preview modes in the toolbar to see how your template renders on different screen sizes.

Variable substitution

Variables are placeholders enclosed in double curly braces. They are replaced with actual recipient data when the campaign emails are sent.

Available variables

VariableDescriptionExample Output
{{first_name}}Recipient's first nameJohn
{{last_name}}Recipient's last nameDoe
{{email}}Recipient's email addressjohn.doe@company.com
{{company}}Tenant/organization namePT Acme Indonesia
{{department}}Recipient's departmentEngineering
{{tracking_link}}The tracked URL for click trackinghttps://track.example.com/t/click/abc123/0
{{tracking_pixel}}Invisible 1x1 image for open tracking(auto-inserted as an img tag)

Using variables

Insert variables directly into text content or element attributes. For example:

Dear {{first_name}},

Your account at {{company}} requires immediate verification.
Please click the link below to verify your identity.

For buttons and links, set the URL to {{tracking_link}} so that clicks are tracked.

Every campaign template should include {{tracking_link}} in at least one clickable element (button or link). Without it, Claro cannot track click events. The campaign preflight check will warn you if this variable is missing.

The {{tracking_pixel}} variable is automatically inserted at the bottom of the email during campaign creation. You do not need to add it manually.

Test send

Before using a template in a campaign, send a test email to verify how it looks in real email clients.

Click the Test Send button in the editor toolbar and enter the recipient email address (typically your own). The test email uses sample data for variable substitution:

  • {{first_name}} becomes "Test"
  • {{last_name}} becomes "User"
  • {{company}} becomes your tenant name
  • {{tracking_link}} becomes a placeholder URL (not tracked)

Review the test email in your inbox and check for:

  • Correct rendering in your email client (Outlook, Gmail, etc.)
  • Variable substitution is working as expected
  • Images load correctly
  • The call-to-action button is visible and properly styled
  • No content is clipped or hidden

Template management

My templates

The My Templates tab shows all templates owned by your tenant. You can:

  • Edit - Open the template in the editor
  • Clone - Create a copy of the template
  • Archive - Remove the template from active use without deleting it
  • Restore - Bring an archived template back to active use

Search and filter

Use the search bar to find templates by name. Filter by category to narrow results.

Best practices

Use realistic sender names like "IT Support" or "HR Department" rather than generic names. Keep subject lines urgent but plausible: "Action Required: Verify Your Account" works, while "You Won $1 Million" does not.

Add your organization's logo and color scheme to make the email look legitimate. Test across Outlook, Gmail, Apple Mail, and mobile clients, since rendering differs between them. Avoid reusing the same template across multiple campaigns because users will recognize the pattern. For simulations targeting Indonesian-speaking users, use the Shipping-ID and Government-ID template categories.