Follow these procedures to automate sending emails by using keywords, a form, a message template, and process automation rules.
Part 1: Setting up the Keywords
Note: For the complete documentation on keywords, see the Keywords topic.
- In the top right corner of the screen, click System Management (Cog Wheel) > Administration > Ticket Management > Keywords, click ‘Add a Keyword’ on the left side of the screen.
- Name your keyword for easy identification—something like ‘Work Done for [Company Name]’
- Add a description of the purpose of the keyword, for example ‘Excavation Safety Communication for Company Work’
- Click ‘Save’
- On the left side of the screen, click ‘Add a Keyword Item’
- In the ‘Match this text’ field, type the value to match; in this case, Work Done for Irth
- If value to match is case sensitive, or must match whole words only, check the boxes under Matching Options
- If you know the value to match only appears in a specific field or should only apply to tickets coming from a specific One Call Center (OCC)—configure those using the dropdown menus.
- Click ‘Add’
- Repeat steps 5-9 to add additional Keyword Items.
- When finished, your Keyword Detail may look similar to this:
Part 2: Create a Form
Note: For the complete documentation on forms (Apps), see the App Summary topic.
- In the top right corner of the screen, click System Management (Cog Wheel) > Administration > Work Management > ‘App Designer’ and then the ‘Create New Form’ button.
- In the resulting Create Form window,
- type in the name of your form in the ‘Form Name’ field.
- Select the App Type from the dropdown: ‘Work Item Form’
- Select and App Name from the dropdown, or create a new one using the blue, ‘Create new’ button.
- Select the category from the dropdown or create a new category.
- In the ‘App Template’ field, it should read ‘Create an app without a template’.
- Click ‘Continue’
- Click the ‘+ Add Section’ button.
- You can name the section the same as the form, there will be only one.
- Select the ‘+ Add Field’ button to add the seven fields needed in this form. Some fields may vary depending on your need and criteria; suggestions are listed below.
- In the ‘Configure Field’ window, fill out the seven fields as described below:
- Name and Question: These should be the same (Name is only for the system. Question is visible to users.)
- Placeholder and Default Value: These can be left empty
Field (Display Name / Question) Field Type Required? Read Only? Note Assigned Text Yes No Call Back Number Phone Number No No Excavator Name Email Yes Yes (this may require selecting the 'more' hyperlink to expand and view Site Location Location No Not applicable Primary Location: Yes Related Items Location No Not applicable Hidden: No Ticket ID Text Yes Yes Work Done For Text Yes Yes
- Once complete, your form should look something like this:
- Click the red ‘Links’ tab, which is required to save
- Select ‘+ Add Form’ and select ‘Ticket’ from the dropdown
- Link your Form fields to the corresponding Ticket fields using the dropdowns. Use the search function in the ‘Select Field’ window to find fields. For example:
- At the bottom of the screen, click ‘Save & Publish’
- Assign Group Permissions in the pop-up window and click ‘Save’
Part 3: Creating the Message Template
Note: For the complete documentation on message templates, see the Message Templates topic.
- In the top right corner of the screen, click System Management (Cog Wheel) > Administration > General > Message Templates
- In the top right corner of the Message Template Summary page, click ‘Create New Message Template’
- Name your template; for example, ‘Irth Excavation Message Template’
- Under What will this template be applied to, click ‘For Work Items’
- Fill in the fields:
Field Description Note Description Type a description of the template. Descriptions are only visible in the Message Template. They are not visible to users of templates Form(s) Choose the forms the template applies to. Once you have saved the template, you cannot change forms it applies to.
Message templates apply to all forms by default. To apply a template to one form, in the All Forms dropdown list, click the form.
Select the Form you created in Part 2 in the ‘For these Form(s)’ field
Forms are listed in Categories Message Format Type Email
PDF
PDF/Email
Orientation Landscape: horizontal orientation
Portrait: vertical orientation
PDF Attachment The number of attachments. The default is one Size The paper size of the PDF. These are standard paper sizes:
A4: 8.3 x 11.7 inches
A5: 5.8 x 8.3 inches
A6: 4.1 x 5.8 inches
A7: 2.9 x 4.1 inches
A8: 2.0 x 2.9 inches
Legal: 8.5 x 14 inches
Letter: 8.5 x 11 inches
- Use the text box to type your text, format the layout (like text color, font, size, highlight, etc.), and use the link and form field buttons to enhance the functionality of your message template.
- At the bottom of the screen, click ‘Save'
Part 4: Setting Up Process Automation Rules
Note: For the complete documentation on process automation rules, see the Process Automation topic.
There are two process automation rules for this workflow; the first creates the form, the second automatically sends the email.
- In the top right corner of the screen, click System Management (Cog Wheel) > Administration > Work Management > Process Automation
- At the top right corner, click ‘Create New Rule’.
- In the Rule Setting window, name your rule, click ‘For Tickets’, and click ‘Save’.
- When these Events happen: Select ‘Item Created’
- If these Conditions are met:Use the ‘+ Add Condition’ hyperlink to add conditions:
- By Keyword Info, using the search field to locate the keyword created in Part 1.
- You can choose to also include any other conditions listed in the dropdown to further limit when this action occurs:
- Ticket Info
- By Registration Code
- By Ticket Type
- By Ticket Type Category
- Locate Info
- By Facility Location
- By Facility Type
- By Response
- By Responsibility Area
- By Ticket Assigned To
- By Ticket Folder
- Scores: Any previously configured Smart Scoring items are available to use as well
- Ticket Info
- Then perform these Actions: use the ‘+ Add Action’ hyperlink to setup the resulting, desired action.
- Click ‘Save & Activate’
- Navigate back to the Process Automation Summary and again click ‘Create New Rule’.
- In the Rule Setting window, name your rule, click ‘For Work Items’, and click ‘Save’.
- In the For these Form(s) section, disable the toggle for ‘All Forms:’ so it is set to ‘N’ and then click ‘+ Add Form’ and select the form you created in Part 2.
- Click ‘Add Form’
- When these Events happen: Select ‘Created’
- If these Conditions are met:use the ‘+ Add Condition’ hyperlink to add conditions:
- By Work Done For using the ‘Contains’ logical operator from the dropdown, and the match text from your keyword in Part 1 and clicking ‘Save’.
- Repeat as needed to further limit when this action occurs.
- Then perform these Actions: click on the ‘+ Add Notification’ hyperlink to use the message template you created in Part 3.
- In the ‘Recipients’ dropdown select ‘Email address entered on the form’ and select the appropriate Form/App field.
- In the Message Type field, choose ‘Template’ and in the ‘Select Template’ dropdown, choose the Message Template created in Part 3.
- Set your message Subject leveraging the Fields: dropdown to insert form fields and hardcoded text then click ‘OK’.
- At the bottom of the screen, click ‘Save & Activate’.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article