Sub topic 3
Where cases come from: Email-to-Case, Web-to-Case, and manual entry
This chapter assumes you know the Case object's key fields (Subject, Status, Priority, Origin, Owner) and can navigate Setup. It covers the three most common ways a case is created and how each one affects routing later.
Why the channel matters
Every case enters Salesforce through some channel. The channel decides which fields are filled in at creation, who the owner is at first, and whether assignment rules run. Case assignment rules are covered in a later chapter. For now, keep in mind that a case without a sensible owner will sit unseen.
The Case Origin field records the channel. Standard values include Phone, Email, and Web. You can use Origin as a criterion in assignment rules, so route by channel only if you set it reliably.
Manual entry
An agent creates a case from the Cases tab or from a Contact or Account record. This is the right channel for phone calls and walk-ins.
- The agent sets Origin (for example Phone) and fills in Subject and Priority.
- The new case is owned by the agent who creates it, unless they choose another owner.
- In the UI, the "Assign using active assignment rules" checkbox must be selected for rules to run. Page layouts can show or hide it, and Lightning may apply rules by default depending on your setup.
Email-to-Case
Email-to-Case turns inbound email into cases. There are two flavors.
| Option | How it works | Typical use |
|---|---|---|
| Standard Email-to-Case | A desktop agent that you install runs behind your firewall and forwards mail to Salesforce. | Strict security needs, mail servers that cannot be exposed. |
| On-Demand Email-to-Case | Salesforce generates a routing address. Your mail system forwards messages to it. | Most orgs. No software to install. |
You set up routing addresses in Setup under Email-to-Case. For each address, you choose the case Origin, Priority, and Status for new cases. You can also tick the option to create tasks from email. Customers send mail to your public support address. You forward that address to the Salesforce-generated one.
Replies from the customer are linked to the original case through a thread ID in the email subject or body. If the thread ID is stripped, a reply can create a duplicate case.
Web-to-Case
Web-to-Case creates a case from an HTML form on your website. In Setup, you generate the form HTML, paste it into your site, and add any fields you need.
- Salesforce limits Web-to-Case to 5,000 new cases per day. Cases above that limit are held in a queue until the limit resets.
- You can choose an assignment rule for new Web-to-Case submissions in the Web-to-Case settings.
- Add a CAPTCHA or similar protection, since anyone can post to the form.
How the channels compare
Common errors
- Cases from email have no owner you expected. The routing address has no assignment rule or default owner set. Check the address settings.
- Duplicate cases from replies. Thread IDs are missing from the subject or body.
- Rules run for web but not for manual entry. The checkbox is not selected, or it is missing from the layout.
- Origin is blank. The form or routing address did not set it. Fix this before building rules that use Origin.
Exercise
A customer replies to a support email, but Salesforce creates a new case instead of updating the original. What is the most likely cause, and where would you look?
Show answer
The thread ID that links replies to the original case was removed from the email subject or body. Check whether the email template or the customer's mail client strips the thread ID, and confirm that thread ID settings are enabled in your Email-to-Case configuration.