Email Manager Message Template Tags
Table Of Contents
Setting up Email Message Templates is an advanced user feature within Khaos Control.
Email templates use tags to automatically insert information into emails when they are generated. The tags available depend on the Trigger Type selected for the template.
When an email is created, Khaos Control replaces each tag with the relevant data from the associated record, such as customer details, order information, invoice values, or stock item details.
Understanding Available Tags
The Available Tags panel is displayed when creating or editing an Email Message Template.
Available Tags Columns
| Column | Description |
|---|---|
| Tag Desc | A description of the data the tag represents. |
| Tag Name | The tag that is inserted into the template and replaced with live data when the email is generated. |
Coloured Tags
Some trigger types, including Invoice, Purchase Order, and Refund, use colour-coded tags.
Yellow Tags
Yellow tags are used within the main Message Template body.
They work together with the:
- Item Template field
- To Follow Item Template field
When the email is generated, Khaos Control inserts the item information defined in these templates wherever the yellow tag has been placed within the message body.
Note: The To Follow Item Template does not work with part-shipped items.
Blue Tags
Blue tags are used within the:
- Item Template
- To Follow Item Template
These tags are typically used to build item-level information and column layouts.
For example:
$QTY_TOFOLLOW of $STOCK_CODE - $ITEM_NAME
This could produce output such as:
2 of ABC123 - Widget A
Trigger Types
The trigger type determines when the email is generated and which tags are available for use.
Back Order
Back Order templates allow customers to be automatically informed about the status of back-ordered items based on the status of the associated purchase order line.
For a full list of available tags, see:
To configure these emails, see:
Cat Request
Cat Request templates are used when processing catalogue requests.
Emails are automatically generated when a catalogue moves between the stages defined in the associated trigger rule.
For more information, see:
Company Email
Company Email templates are used for emails sent from customer records, supplier records, sales orders, and the List Manager.
Typical uses include:
- Sending customer service updates.
- Advising customers about product availability.
- Providing complaint updates.
- Sending promotions or marketing communications.
- Sending emails directly from sales orders.
For more information, see:
Invoice Priority
Invoice Priority templates use the same tags as Invoice templates.
These templates are used when an email needs to be generated following a change to an order's invoice priority.
For tag information, see:
Invoice
Invoice templates are commonly used to send automatic customer notifications when invoices move between processing stages in the Sales Invoice Manager.
A common example is a Your Order Has Shipped email.
For more information, see:
Manual
Manual templates are used with the CSV Email Creator Dialog.
For information about creating emails from imported data, see:
Purchase Order
Purchase Order templates are used when emails are automatically generated following the creation or amendment of a purchase order.
For more information, see:
Refund
Refund templates are used to notify customers when a refund has been processed from a Return Credit Note.
These emails are generated for refunds processed since the previous refund email routine was run.
For more information, see:
Report
Report templates are used when manually emailing documents generated within Khaos Control.
Common examples include:
- Statements
- Delivery Notes
- Purchase Orders
- Printed reports
For more information, see:
Return
Return templates are used to automatically generate emails when a customer return is created and saved.
For example, they can be used to send a return acknowledgement to the customer.
For more information, see:
Sales Order Acknowledgement
Sales Order Acknowledgement templates are used to automatically send emails when sales order acknowledgements move between stages in the Sales Invoice Manager.
For example, they can be used to send order acknowledgement emails to customers automatically.
For more information, see:
Agent Copies
Sales Order Acknowledgement templates can also be configured to automatically send a copy of the email to the associated sales agent using either:
- CC
- BCC
This allows agents to keep track of customer communications relating to their orders.