Creating Keyword Rules

Use

You use this procedure to create rules based on the keywords found in an e-mail message. With these rules you can:

  • Forward e-mails to predefined queues

  • Set skill requirements to e-mails

  • Set priority to e-mails.

For information about other e-mail settings on system, channel, or queue level, see Configuring System E-Mail Settings, Configuring Channel Settings, or Configuring E-Mail Settings, respectively.

Prerequisites

You must have rights to modify the queue.

Procedure

  1. On the System Configurator main screen, choose Queue Management > Queues.

  2. Search for the e-mail queue whose settings you want to configure.

    The search result list appears.

  3. Choose the queue by double-clicking it.

  4. Choose E-Mail Keywords.

  5. Click Add New.

  6. In the Rules section, define the rule with the following settings.

    1. Choose the Type, after that the appropriate rule definition field is enabled.

      Type

      Rule Settings

      Note

      Change Queue: Forwards the message where the keyword is found to another e-mail queue.

      Choose the Edit button at the end of the Change Queue row and search for the queue.

      You can add only one queue.

      As of SP08, Change Queue-type rules can be applied to all e-mail messages, for example to tasks created via TMI.

      Before SP08, the Change Queue rules could be applied only to e-mail messages that CEM had pulled from the e-mail server.

      Set Skill: Sets a skill requirement to the message where the keyword is found.

      For more information about skills, see Skills.

      Click the Edit button at the end of the Set Skill row, choose which skills are used, and define the skill requirement level.

      You can add various skills.

      If there are other skills set for the queue or extension, they are still applied as well but the level set by a keyword rule overrides the one set for the queue or extension for the same skill.

      Set Priority: Sets priority for the message where the keyword is found.

      For more information about priority, see Priority

      Enter an integer. The smaller the value, the higher the priority.

      This priority overrides the priority set for the queue or extension.

    2. To set Priority for the rule, enter an integer, for example 1 or 10.

      The field is mandatory but affects only to rules of the same type. If there are more than one rule of a type, they must have different priorities. The highest value (for example 100) rule has the highest priority.

  7. In the Keyword section, enter the words or a piece of text that are searched for in Subject, Body Text, Sender Name, Sender Address, or Recipient Address of the e-mails.

    1. You can add several words in one rule in the following way:

      Keywords

      Search Method

      Example

      Several keywords in a field separated with a comma (,)

      OR-type

      Body Text: support,help,problem

      If one of these words is found in body text, the rule is applied.

      Keywords in separate fields

      AND-type

      Subject: Contact Center

      Body Text: support,problem

      Sender Address: @company.com

      The rule is applied only if the message contains the following keywords in all of the following fields: Contact Center in the subject field, the word support or problem in the body text, and the sender address includes @company.com.

    2. Select Enable Case Sensitivity if you want that the search takes into account lower-cased and upper-cased letters.

  8. Save your entries.

    The rule is added to the rules list, and you can create new rules by choosing either Add New, Copy Keywords, or Copy from Another Queue.

You can filter the listed rules view by choosing which types of rules you want to be displayed.

You can also copy the keywords from another rule (use the Copy Keywords button) or copy rules from another queue (use the Copy from Another Queue button).

Several Simultaneous Rules

If several rules match in the same e-mail, the following rules are applied:

  • If there are rules of different types, the Change Queue rule is always applied first, and possible skill and priority rules are applied in the queue where the contact is transferred to.

  • The rule priority affects only the rules of the same type.

  • If several rules of the same type match in a message, the rule with the highest priority of that type is applied, only.