Filtering Cases by Email Addresses
Last Updated -
Many organizations like to offer multiple points of email contact to their customers: maybe they use one email for Billing; another email for Support, maybe a few others for Sales and Marketing.
This frees up a potential email bottleneck in your support center, giving customers a direct line of communication to the right groups in your organization.
Sounds like a win-win situation, right?
And get this, Desk.com make it so easy to configure! Using Filters and Inbound Interaction Rules you'll streamline your email communications in no time!
In this example, we're going to route email cases through filters for the different addresses used to contact Support and Billing groups.
Creating Custom Fields for the Email Sources
- Go to: Admin > Cases > Cases > Custom Fields and click Add field.
- Name the field (e.g., Email Source) and add the Key.
- Select List from the Data Type dropdown.
- Add the two support email addresses in the Data field. In this example we'll use email@example.com and firstname.lastname@example.org.
- Click Add when you are done.
Note: You can add as many emails as you like, but you must create a unique Inbound Interaction Rule for each added email.
Inbound Interaction Rules for the Email Source Custom FieldNow that we've created our Custom Fields we'll create an associated Inbound Interaction Rule. We are going to create two new inbound rules that utilize the Custom Fields. These Inbound Interaction Rules will be triggered whenever a case is sent into Desk.
- Go to: Admin > Cases > Rules > Inbound Rules and click Add Rule.
- Name the rule.
- Check the Email box for the Interaction Type.
- Click Add.
- Set the Inbound Interaction Rule as shown below.
- Click Update when you are done.
**Important troubleshooting note**
Please be sure to double check and remove any invisible white spaces from the front or the back of the email address. The rule will search for the Email contains "email@example.com ". In this example, there is a trailing space. Be sure there are no spaces before or after the actual email address for the rule to work properly.
- Following the exact same logic as above, let's create another Inbound Interaction Rule for the Billing email address: firstname.lastname@example.org.
Creating a Filter for Cases Sent to Support and Billing
Let's review. First, we created Custom Fields for our email sources. Next, we created two Inbound Interaction Rules for those email sources. Now we are going to create a Filter to sort these emails. In this example, we'll create a Filter for the Billing email.
- Go to: Admin > Cases > Filters and click Add filter.
- Name the filter and click Add.
For this filter, we're interested in seeing all cases that are not yet resolved, where the email source is email@example.com. For the Default Sort we want to see cases sorted by when they were last created, so we can see the newest cases first.
- Follow the example below and click Update when you are done.
- Now jump over to the Agent console. You will see the Case Filter we created in the left-hand navigation called Billing Cases.
Assigning Incoming Emails to Specific Teams
If you have an email address for a specific team, you can set a Case Assigned Group rule by simply modifying the Inbound Interaction Rules we created above. For example, if the firstname.lastname@example.org cases should be handled by the Billing team, you can add the following Rule Action.
- Open the Inbound Interaction Rule.
- Under Rule Action create the rule Set Case Assigned Group and Billing.
If you only want the Billing group to see Billing Cases, you can modify the Billing Cases filter accordingly.
- Open the Billing Cases filter we've created.
- Under Permission to this Filter, click Group.
- Select Billing and click Update when you're done.