Creating your own phishing templates

A step-by-step guide to building a custom phishing simulation from an email template, a target page, and the phishing template that connects them, including the full variable reference.

Overview

A phishing simulation is assembled from three building blocks. You create them in the Manage templates screen (Education → Phishing simulations → Manage templates), on three separate tabs:

Redamp.io | Manage templates

Because each block references the one before it, build them in this order:

  1. Create the email template.
  2. Create the target site.
  3. Connect both into a phishing template.

Tip: If you just want to try a simulation quickly, you can use one of the Built-in templates that ship with Redamp.io. The steps below are for when you want your own Custom content.


What are variables?

Phishing templates use variables - placeholders written as {{.Name}} that Redamp.io replaces with real, per-recipient values the moment an email is sent. For example, {{.FirstName}} becomes each recipient's actual first name, and {{.URL}} becomes the unique tracked link for that recipient.

You never fill these values in yourself - you only place the token, and the system substitutes it for every target in the campaign.

Variable reference

VariableWhat it is filled withWhere you use it
{{.URL}}The unique phishing link / capture URL for the recipientRequired in the email (as the link) and in the landing-page form action
{{.Tracker}}An invisible open-tracking pixelRequired in both the email and the landing page
{{.RId}}The recipient's unique result IDRequired in the landing page (hidden field)
{{.FirstName}}The recipient's first nameOptional personalisation
{{.LastName}}The recipient's last nameOptional personalisation
{{.Position}}The recipient's job positionOptional personalisation
{{.Email}}The recipient's email addressOptional personalisation / pre-filled form field
{{.From}}The sender address of the emailOptional
{{.TrackingURL}}The raw tracking URL (without the pixel markup)Advanced use
{{.BaseURL}}The base URL of the phishing server (no path)Advanced use, e.g. loading assets

The editor shows this list in the Variables panel next to the HTML. Click the plus next to any variable to insert it at the cursor, and use the Required variables checklist to confirm you have not missed a mandatory one - the Save button stays disabled until every required variable is present.


Working in a larger window

You can give yourself more room while authoring:

Redamp.io | Dialog expanded to full screen
Redamp.io | HTML editor expanded to full screen

Step 1 - Create the email template

Open the Email templates tab and click Add email template.

Redamp.io | Email templates tab

Fill in:

Redamp.io | Add email template

Requirements for the email body

The collapsible How should this look? panel at the top of the form repeats these rules and shows a ready example.

Example email body

<p>Hi {{.FirstName}},</p>
<p>Please review the shared document below.</p>
<p><a href="{{.URL}}">Open document</a></p>
{{.Tracker}}

Click Save. The new template appears in the list with the Custom type.


Step 2 - Create the target site (landing page)

Open the Target sites tab and click Add landing page.

Redamp.io | Target sites tab

Fill in:

Redamp.io | Add landing page

Requirements for the landing page

The How should this look? panel and the live checklist next to the editor validate the two structural rules (form posts to {{.URL}}, hidden field carries {{.RId}}) as you type.

Example landing page

<form action="{{.URL}}" method="post">
  <input type="hidden" name="rid" value="{{.RId}}">
  <input type="email" name="email" value="{{.Email}}">
  <input type="password" name="password">
  <button type="submit">Sign in</button>
</form>
{{.Tracker}}

Click Save. The page appears in the list with the Custom type.


Step 3 - Connect them in a phishing template

Open the Phishing templates tab and click Add template.

Redamp.io | Add phishing template

Fill in:

Click Save. Your phishing template is now ready and will be offered in the Create campaign flow.


Testing your template

From the Phishing templates list, use the Send test action to deliver the email to yourself (or a chosen address) before running a real campaign. This is the fastest way to confirm the links, variables, and landing page all behave as expected.

You can also view any email template, landing page, or phishing template, and duplicate a built-in one as a starting point for your own custom version.


Editing an existing template

You can change an email template or a landing page you created earlier - as long as it has not been used in a campaign yet:

Once an item has been used in a campaign it is frozen and can no longer be edited - the Edit action is greyed out. This keeps already-sent simulations and their recorded results consistent. To make a changed version, use Duplicate to create an editable copy, adjust it, and use the copy from then on.

Redamp.io | Edit action disabled for an item already used in a campaign

Note: Phishing templates themselves are not edited directly. Change the email template or landing page they combine (or duplicate them), then build a new phishing template if you need a different combination.


Common mistakes