How To: Setup and Send Return Emails


WARNING icon
Creating and Editing Email Templates and Trigger Rules is an Advanced User feature.

Emails can be setup and sent automatically when a sales return is created and saved. There are two stages to setup these emails; creating the Message Template and then creating a Trigger Rule.

Return Email Message Template

  1. Open an Email Manager screen (show me how).
  2. Click on the Templates radio button.
  3. Press Ctrl+N or click the New item icon is the button bar's NEW button .
  4. Add a template code for example Return.
  5. Add a template description Customer Return.
  6. Select a trigger type of RETURN.
  7. Tick the 'Add to Comm Log when sent' checkbox. (Optional)
  8. Tick the HTML Format checkbox if your message body is going to be written in HTML. (Optional)
  9. Tick the Send Only Once checkbox so the email is only sent once to your customer.
  10. Add the from address, for example sales@thebestcompany.co.uk. (Optional)
  11. Add the subject as appropriate.
  12. Create your Item Template:
    1. Focus on the blue Available Tag you wish to add.
    2. Click on the BtnEmailArrow.jpg button next to the Item Template field.
    3. Repeat as required remembering to add linking words and spaces.
  13. Create your Message Template using the tags available and also remembering to add the yellow $ITEM_TEXT tag where you want the list of back ordered stock items to be displayed in the body of the email, see the example below.
  14. Press Ctrl+S or click the disk icon is the button bar's SAVE button to save.

    Sales Return message template example

Return Email Trigger Rules

  1. Open an Email Manager screen (show me how).
  2. Press the Trigger Rules radio button and click "GO" to display existing trigger rules.
  3. Press Ctrl+N or click the New item icon is the button bar's NEW button to create a new trigger rule.
  4. Assign a code to the trigger rule and enter this in the "Rule Code" field.
  5. Add a trigger rule description in the "Rule Description" field.
  6. Tick the Active checkbox.
  7. Tick the Send Email Immediately checkbox, see below for an example:
    Sales Return trigger rule example
  8. Setup any active conditions, these are optional and the email will be sent without them, however they help you control who you send emails to. For more information see the section below.
  9. Press Ctrl+S or click the disk icon is the button bar's SAVE button to save the Trigger Rule.


Adding Active Conditions

To add an active condition:

  1. Focus on the option in the Available Conditions column on the left.
  2. Click on the BtnEmailArrow.jpg button to move the condition into the Active Conditions area on the right.
  3. Click in the Comparison area and press F8 and enter the appropriate comparison symbol:
    • <: less than
    • <=: less than or equal to
    • =: equal
    • >: greater than
    • >=:greater than or equal to
    • <>: NOT
  4. For each condition:
    1. click in the "Lookup Value" column and press Ctrl+F8 to display the "Make a Selection" dialog box.
    2. Select the desired criteria from the dialog's drop-down selection box and press "OK"; the criteria will then be shown in the right-hand "Active Conditions" grid.
    3. The Available Conditions are:
      • Multiple Reasons: this is a checkbox and does not limit the return to single return reasons, for example when multiple items have been returned.
      • Return Brand: the brand from the customer's return.
      • Return Reason: the single return reason as setup in System Data.
      • Sales Source: the Sales Source from the customer's return.
  5. Repeat as required to add another condition.
    Note: All active conditions have to be true at the same time in order for the rule to work.
  6. Press Ctrl+S or click the disk icon is the button bar's SAVE button to save the Trigger Rule.

Did you find this article helpful?