1. Knowledge Base
  2. Getting Started
  3. Step 10: Warehouse Documents and Printing

Create Email Confirmation Template

Email Confirmation template can help your clients know when their orders have been processed, shipped and when they can expect to receive them.

You can create a variety of external email alerts to send related to Orders in Infoplus. For example, you can create an order confirmation email or a shipping confirmation email that will send to customers when they place a new order.   When you set this feature up in Infoplus, you can select an email template when creating a new order. 

How to Create an Email Confirmation Template

  1. Access the Email Template table. Two methods:

    > From the Dashboard: Click the “Account Management” tab, click the “Email” App, then click the “Email Template" Table.
    > From the Quick Actions shortcut: Press a dot (period) on your keyboard, then select “Email Template” from the list of Quick Actions.


  2. Click the Create New button in the top right.

  3. Enter in the required fields for a new email template
    • Select the Line of Business (LOB) in which the template should be available.

    • Enter a relevant Name for this email template (i.e., Simple Order Confirmation Email).

    • Select an Email Template Type (i.e., Order Confirmation Email or Shipping Confirmation Email).
       
      NOTE: If you choose any template except "Custom", you specify which address to use (bill to, ship to, or both).


      NOTE: If you choose an Email Template Type of "Custom", you will need to pick a record type and identify what field to pull the email address from.




    • The From Address field is required. Enter the 'active' email address you want to appear in the From field (email address verification is part of the process by someone clicking the link in the email to complete the verification).  

      NOTE:  Until your email address is configured as a Verified Sender in Infoplus, the "From Address" should always show noreply@infopluscommerce.com.

      Pro Tip: Want to use a different email, like a 3PL's? Contact Infoplus Support to configure a specific email address (also includes test site). 

      Additionally, if you would like the From Address to be from your 3PL, please make sure they are CC'd on the email to support because their assistance will be required for the setup.
    • The From Name field is required. Enter the name that you want to appear in the From field, but again, you will need to have configured the information in the AWS SES account as indicated in the previous step. Contact Infoplus Support to configure this information.

    • Enter the subject of your email into the Subject Text field (i.e., We received your order!).

    • Enter the Email Content and apply the necessary formatting into the Header, Detail, Line Items, and Footer sections. All sections will appear in the body of the email. They are separated here for organizational purposes. 

Email Body Sections

All of these sections create the main content of the email:

  • Header
  • Detail 1
  • Detail 2
  • Line Items
  • Footer

They are separated to help you organize your inputs because the email uses dynamic code to personalized each email sent out to your customers. 


Because the emails use dynamic code, one of the best tools for creating these email templates is to rely on the "Template" button in each section's toolbar. 

Example Email: 


Send a Test Email


You can send yourself a test email of a new email template to sure it looks how you want it to before sending it out to customers. 


1. Make the "From" address your personal email
2. Create and Save the email template

3. On the Email Template Table, check the box on the lefthand column adjacent to your new email template

4. Click 'Actions' in the top right, click on 'Send Email Template Preview'


How to Set Up Email Template to Send Automatically to Clients

You can set up any of the Confirmation Emails to automatically send out to your customers. To set up the automation triggers, you will need to navigate to the order source email.


1. Select the Order Source you would like to create an automation trigger for 

2. Click Actions>Edit in the top right

3. After in Edit Mode, navigate down to the "Templates" section

4. Select which email/notification you would like to have sent from appropriate dropdowns


Pro Tip: You will need to create the template before you assign the email to automatically send via order source. You will also need to ensure the template you create is assigned to the correct Line of Business that is associated with the order source you want to add the automation to.



5. Save the changes 

How to Manually Send Email Templates to Clients

In addition to sending the emails automatically via order source, you can also manually send any email template to any client at any time through the specific order. 


1. Navigate to the Orders table

2. Locate the order for the client you want to send a confirmation email to and click on the row

3. Click Edit

4. Navigate to the bottom of the Order page in Edit Mode and click on "Templates"

5. Select the email you would like to send to your customer under the "Confirmation Emails" section

6. Save changes


Tips and Tricks For Creating Great Emails: 

  1. Use Variables to represent data in the system. For example, if you want your email to say "Your Order #123 has been placed" use a variable to represent the Order Number. To enter a variable, type a $. A list of variables will appear. Click on the variable you want to use. 
    • NOTE: The drop-down list will only display 10 variables at a time. To jump to a different set of 10 variables, you will need to type more than the $. For example, type ${order.s to jump to ship to fields from an order record. See a list of all variables at the end of this article.


       

  2. Use the Insert Template button () to insert a pre-defined template of email content (i.e., a template of how Line Items will display in the email).

    Here's an example of inserting the Default Line Items template into the Line Items section of email content.

     


    • And here's what the above Default Line Items template looks like when previewing the information for an order:
     

  3. Also available are the following functions for displaying line items. Use these to easily display shipped items, non-shipped items, or define your own custom line item list.

    ShippedLineItems
    NonShippedLineItems
    CustomLineItemList

    Here's an example of these 3 new functions in a shipment confirmation email template:



  4. When the template is complete, click Save.

Variables that Represented Data in the System:

These variables can be used in the Email Content area of email confirmation templates to represent data in the system: 

Order variables:
  • ${order.shippingAndHandling}
  • ${order.tax}
  • ${order.orderDate}
  • ${order.distributionCharges}
  • ${order.merchandiseTotal}
  • ${order.trackingNos}
  • ${order.total}
  • ${order.shipDate}
  • ${order.processNo}
  • ${order.customerOrderNo}
  • ${order.orderNo}
  • ${order.shipTo.state}
  • ${order.shipTo.zip}
  • ${order.shipTo.country}
  • ${order.shipTo.street3}
  • ${order.shipTo.street2}
  • ${order.shipTo.street1}
  • ${order.shipTo.city}
  • ${order.shipTo.phone}
  • ${order.shipTo.email}
  • ${order.shipTo.company}
  • ${order.shipTo.attention}
  • ${order.shipTo.default}
  • ${order.shipTo.firstName}
  • ${order.shipTo.lastName}
  • ${order.billTo.state}
  • ${order.billTo.zip}
  • ${order.billTo.country}
  • ${order.billTo.street3}
  • ${order.billTo.street2}
  • ${order.billTo.street1}
  • ${order.billTo.city}
  • ${order.billTo.phone}
  • ${order.billTo.email}
  • ${order.billTo.company}
  • ${order.billTo.attention}
  • ${order.billTo.default}
  • ${order.billTo.firstName}
  • ${order.billTo.lastName}
  • ${order.customer.name}
  • ${order.customer.customerNo}
  • ${order.customer.id}
  • ${order.carrier.company}
  • ${order.carrier.carrier}
  • ${order.carrier.companyCode}
  • ${order.orderSource.name}
  • ${order.orderSource.id}


 Line Item Variables:

  • ${lineItem.restrictionRule}
  • ${lineItem.id}
  • ${lineItem.adjustCode}
  • ${lineItem.crossDock}
  • ${lineItem.per}
  • ${lineItem.unitCost}
  • ${lineItem.fullDescription}
  • ${lineItem.allowQuantity}
  • ${lineItem.chargeCode}
  • ${lineItem.price}
  • ${lineItem.quantityShipped}
  • ${lineItem.sku}
  • ${lineItem.revisionDate}
  • ${lineItem.orderQuantity}
  • ${lineItem.processFlag}
  • ${lineItem.poNo}
  • ${lineItem.distributionCode}

    Email Tracking Variables:

    If you are using a MD5 hash to track customer order confirmation emails, you can add the variable below in conjunction with a script to pass the information to your direct marketing company.

    // An Email script can take an API Model object as input, and can produce output that is available to the Email Template:// // A script of this type has the following variables available:// // record - object - an instance of an Infoplus API model, for the record the template is being rendered against.// output - object - where script can put values into for the template to access, via method: put(key, value)// // Example:if(record.customerOrderNo){   output.put("md5Hash", utils.generateMD5Hash(record.customerOrderNo.toLowerCase()));}