A Step by Step Guide to Setting Up Email-To-Case in Salesforce

Turn Support Emails into Cases Automatically with On-Demand Email-To-Case

Email-to-case feature in Salesforce enables you to convert the emails received at your support email address into cases. You can then inject these emails-turned-cases in your organization’s customer support queue and follow a systematic approach to track & resolve it.

Here is how the process works

Salesforce Email-To-Case Process

Email-To-Case comes in two flavours

  1. Email-To-Case
  2. On-Demand Email-To-Case

Here’s a quick comparison of both features.

Email-To-Case On-Demand Email-To-Case
Desktop client required Desktop client not required
Keeps email traffic inside network’s firewall Keeps email traffic outside network’s firewall
Accepts emails larger than 25 MB Refuses emails larger than 25 MB (including header, message & attachment)
Max. no of emails converted to Cases each day is 2500 Max. no of emails converted to Cases each day depends on number of user licenses multiplied by 1,000, up to a daily maximum of 1,000,000

 

For the purpose of this blog post, we will go with the 2nd option – On-Demand email-to-case. On-Demand Email-To-Case uses Apex Email services. Setting it up is very simple. Just enable it, specify the support email address, set up forwarding in your email system and you are good to go!

Next time when your customers send an email to your support email address, a Case will get created automatically in Salesforce and Case fields will get populated. The support reps can reply to emails from within Salesforce so there’s less switching between the apps. The setting ‘Insert Thread ID in Email Subject’ adds the thread ID to the subject of email. The thread ID is a unique identifier that identifies the organization and Case associated with the outgoing email. It helps ensure that replies to the original email are associated with the correct Case.

That’s enough of talking! Let’s learn how to convert emails into cases in under 30 minutes



To get the PDF copy of the presentation above (link to download the PDF will be emailed to the email address specified below)

Check to subscribe and get notified for new guides



(You'll never be spammed on my watch and that's a promise)

 

References:

16 thoughts on “A Step by Step Guide to Setting Up Email-To-Case in Salesforce”

  1. Another excellent guide! Thank you, Ashish, for sharing these guides as they have helped me multiple times with Salesforce!

  2. Hi Asagarwal,
    My company is using email-to-case, however, when a client sends in incoming email with a merge field in it that includes a reference to a record variable ({!$Record.FieldName} – for example, when they are trying to show us flow errors they’ve received), the email messages are not arriving in Salesforce, and not creating a case. Is there any workaround for merge fields?

    1. Hi Priyabhavana, there isn’t an out-of-the-box feature to do that, but you you should be able to achieve it either using custom code and Apex, or execute some post case creation logic using Flows. Will depend on what exactly you want to control.

  3. We have case Assignment Rules in place. Whenever an email is sent to “Example@company.com” address, a case would be created and assigned to Admin queue. But for every reply or forward to that email with “Example@company.com” address, another case is being created(multiples cases are created based on replies & forwards). Is there a way to handle this? Thank you.

    1. Hi Harshita, there is not out-of-box functionality in Salesforce for this. But you should be able to achieve this through custom code using Apex.

  4. Hello #ohana! I set up Email-to-Case. I have a specific email address and verified it but cases are not being created however if I use the long SFdc email address, the case is created. Any idea how to resolve this?? Thanks a bunch.

  5. Amazing post on email-to-case. Just a quick question. In addition to the scenario explained i need additional feature. What would be the optimum solution?

    If the case status is Cold, i want to route it to tier 1 team
    If the case status is Warm, i want to route case to tier 2 team
    If case is hot, I want to route it to Manager . How do i achieve this ?

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top