uStore Back Office contains triggers that dispatch actions at specific events.
The combination of an event and an assigned action is known as a rule. For example, you can create a rule that is defined for an order submission event, which triggers an email send action. Moreover, you can create a rule that submits an order to production the moment it is checked out by the customer. The messaging mechanism enables you to apply filters to events to narrow down the triggers that will eventually execute actions.
To create a new trigger with an email send action:
1. In the Presets view,
click the Trigger
Setup link.
The Trigger list page opens, displaying a list
of events and the triggers that have been defined for each.
2. Click
the New button.
The Edit Rule Settings page opens.
3. Enter a Rule Name and Rule Description.
4. From the Event list, select the required event. Click to view the Event list
5. From the Status list, activate or deactivate the trigger by selecting Active or Inactive respectively.
6. From the Filter list, define a filter for an event to narrow down triggered actions.
The filter list is dynamic and depends on the event you select. By default, all filters share the same properties, i.e., allowing you to filter down events by stores, whether all stores or specific stores. The Order State Transition event, for example, includes further refining options, allowing you to select the origin State (From State) and the target State (To State) that triggers an action.
7. From the Action to Perform list, select the action you want to perform in response to the occurring event. For most events, the action will be Send Mail. Additional actions for specific events are Order Details XML and JDF XML.
8. Fill in the following:
– Sender
Address: The email address that appears in the From
field of the received email. To this address customers will be
able to reply upon delivery of the email message that uStore sends.
Make sure you use a genuine email address, but one that is not used for
logging into the system.
– Sender Display Name: The name of the sender, which appears in the From field of the received email.
9. Under Select Email Recipients, select the recipients of the email. You can select from predefined email recipients or User Groups, or you can enter new email addresses in the Other field. It is possible to enter a number of email addresses separated by semicolons.
10. From the Select Email Template list, select the required template. This list is dynamic and depends on your event selection. Each event is assigned with an appropriate email template that defines the appearance and message of the sent email.
11. If you want to create a new template to better suit your needs, you can copy the given template and edit the new template instance. For more information, see Setting Up an Email Template.
12. Click Save Rule.
Exporting Order Information as XML or cXML (Order Details XML Action)
Learn about setting the email sender address for triggers