ii. Now, update the email settings as below:
a. Email Account: This is important because when the ticket contact receives an email about a newly created ticket they have, if they are to respond to that email, if you have an SMTP setup the return email will go back to your own email. This is an important step in setting up this export rule. We are going to use our Customer Service email address to send out any emails generated by this EDI rule.
b. Email To: This field should only be used for internal staff where possible. We are going to leave blank for this example as we only want to send to the Ticket Contact Email.
c. Email Subject: This field can be used to create an email subject of your choosing. For this example, we are going to use the below:
iii. Once details have been setup. now go to Email Body section by clicking on the Body tab, the Email body section will display as shown below.
a. In email body, manually enter the content and then click on Validate or Update button as shown above.
The @Model.RelatedNumber is a special coding function that will automatically populate the consignment number that this ticket is related to. For this to work correctly, the code must be spelt exactly as above.
b. You can also include the below content in your email body.
This is another special coding function that will send the user a URL they can go to add comments to their open ticket and view/track its progress. Not required but may be useful.
The validate button at the bottom of this window which will give you a preview of what the email will look like. The Validate button also checks any coding you have entered and will alert you is there are any issues that require resolving.
d. Export File Type: This section can be used to include attachments that are sent with the email. For this example, we are not sending any attachments, so we are going to select None and then click Update button to save the changes.
e. Now, finally enable the rule. To enable this rule, click on Enable Export toggle in Yes and then click on Update as shown above.
f. The rule will now appear in white in your list indicating that the rule is now active as shown below.
g. Now, when a new Customer Service Ticket gets opened (created), the email address listed as the ticket contact will receive an email informing them that a new ticket has been created and for what consignment.
The above paragraph has detailed how to setup an EDI rule that emails a customer when a ticket has been created for them. There is also the option to create another EDI rule (from within the same page) that exports any comments made on a ticket to the relevant customer ticket contact.
The setup to for this kind of EDI rule is largely the same as the above, with a few minor differences.
An example of how to set this type of rule up would be:
1. On Export Customer Service Ticket page, click on the Create New Rule button and manually add Rule name and specify Export Framework with the help of drop-down button.
For this example, we are going to name the rule "Email Ticket Comment to Customer" and the Export Framework will be Email.
2. Go to the data filter section and enter the details in a similar way as shown below.
Select Note type for select field, Equal as Logic and UserNotPublic in select value section with the help of drop-down button and finally click on add rule. Adding this detail in the Data Filter means we want the export to apply when there is a public comment added to the ticket.
Public comments are those that anyone with access to this ticket can see.
3. When adding comments there is the ability to toggle a setting that allows you to hide comments from customers (if needed). To do this, first go to the ticket and then simply click on Add Comment, add a new ticket comment/note pop-up will display, now either enable/disable the customer visible toggle (as per requirement).
3. Once the data filter section configured, now click on the setting of Export Framework, and configure the email being sent to send to the Customer Ticket Contact as per the first example in this article.
4. Give the email an appropriate subject; you can add in @Model.TicketNumber code here. Doing this means that Transvirtual will see the same ticket number being used in the responses and will group all responses in the one thread/which will appear together on the same ticket.
5. In the Email Body, you can use these 3 pieces of code as below:
a. @Model.TicketNumber: Used to automatically generate the ticket number.
b. @Model.RelatedNumber: Used to automatically generate the linked consignment number.
c. @Model.NewNoteComment: Used to automatically generate the comment text that has been added.
6. Once done, you can see the email body similar to below screen.
The coding text must be spelt exactly as the above for this to work properly.
7. Now, click on Validate to preview the email and also to check for any errors with any coding text.
8. Once the appropriate settings have been configured, enable the export rule toggle to activate it.
This process works best with an SMTP setup - refer to top of article for further information on this.
For further information on Customer Service Tickets, please refer here.
1. If you have configured a customer service ticket EDI export to send to a staff allocated email address and the assigned staff member on a ticket does not have an email address listed against their staff card, the system will instead send the email to the email address listed against the below section in Global Setup page.
It is advisable that all staff members have an email attached to their staff card as this helps with multiple functionalities across Transvirtual.
2. You can identify whether a staff member has an email against their staff card or not by going to Transport > Configuration and Setup > Card Files, click on Staff (User) tab as shown below.