How To: Setup Order Confirmation Emails


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

There are two steps to creating emails that are automatically created and sent to the customer to confirm their order:

  1. Setup the Message Template
  2. Setup the Trigger Rule

Two Trigger Rules are required along with two Message Templates to cater for the following scenarios:

  • For orders which go to Staging first, for example either those that are 100% fulfilled although this may differ if you have setup Invoice Rules so you are going to part-ship orders.
  • For orders that are awaiting stock.

Setup the Message Templates

Set up a Message Template with a Trigger Type of INVOICE for each scenario above, see How To: Setup Email Templates.

Setup the Trigger Rules

Email Trigger Rules prompt the system into creating and in some instances automatically sending emails from Khaos Control, you will need to create TWO new Trigger Rules for the different sceanrios.

  1. Open an Email Manager screen (show me how).
  2. Click in the Trigger Rules radio button to display existing trigger rules.
  3. Press Ctrl+N or click the New item icon is the button bar's NEW button .
  4. Add the trigger rule code in the Rule Code field.
  5. Add a trigger rule description in the Rule Description field.
  6. Select INVOICE from the Trigger Type drop down.
  7. Select the appropriate message template (either for orders going into Staging or those going into Awaiting Stock) from the Message Template drop-down.
  8. Tick the 'Send Email Immediately' checkbox if the email is to be automatically sent and not held in the Pending emails section.
  9. Tick the 'Active' checkbox when you wish the Trigger Rule to be enabled.
  10. Setup the appropriate conditions:
    1. Method One - for Orders going into Staging:
      1. Focus on Old Invoice Status in the Available Conditions area on the lower left.
      2. Click on the Green arrow button to add email condition to add the condition to the Active Conditions grid.
      3. Focus in the Comparison column and enter <>.
      4. Focus in the lookup Value column then press Ctrl+F8 and select Orders - Released stage.
      5. Click on OK.
      6. Focus on New Invoice Status in the Available Conditions area on the lower left.
      7. Click on the Green arrow button to add email condition to add the condition to the Active Conditions grid.
      8. Focus in the Comparison column and enter =.
      9. Focus in the lookup Value column then press Ctrl+F8 and select Orders - Staging stage.
      10. Click on OK.
      11. Focus on First Invoice in the Available Conditions area on the lower left.
      12. Click on the Green arrow button to add email condition to add the condition to the Active Conditions grid.
      13. Focus in the Comparison column and enter =.
      14. Focus in the lookup Value column then press Ctrl+F8 and enter Yes.
      15. Click on OK.
      16. Add further conditions as required.
        Email Trigger Rule example 1 - for Orders going into Staging
    2. Method Two - for Orders going into Awaiting Stock:
      1. Focus on New Invoice Status in the Available Conditions area on the lower left.
      2. Click on the Green arrow button to add email condition to add the condition to the Active Conditions grid.
      3. Focus in the Comparison column and enter =.
      4. Focus in the lookup Value column then press Ctrl+F8 and select Orders - Awaiting Stock stage.
      5. Click on OK.
      6. Focus on First Invoice in the Available Conditions area on the lower left.
      7. Click on the Green arrow button to add email condition to add the condition to the Active Conditions grid.
      8. Focus in the Comparison column and enter =.
      9. Focus in the lookup Value column then press Ctrl+F8 and enter Yes.
      10. Click on OK.
      11. Add further conditions as required.
        Email Trigger Rule example 2 - for Orders going into Awaiting Stock
  11. Press Ctrl+S or click the disk icon is the button bar's SAVE button to save the Trigger Rule. For an example of a trigger rule see example of a Trigger Rule.
  12. Test to see if the Trigger Rule and Template work as required.

Notes

The Trigger Rules generate an email when a customer has the following set-up against them:

  • When the customer's invoice contact has an e-mail address.
  • When there is no email address for the invoice contact the invoice address' email address will be used.
  • If there is no email address then the system will not generate an email for the customer.

Did you find this article helpful?