Enable Web-to-Case in Salesforce
Web-to-Case lets customers submit support requests from your website that automatically become Case records in Salesforce. Here’s how to turn it on:
- Go to Setup in Salesforce (gear icon → Setup).
- In the Quick Find box, type "Web-to-Case".
- Click Web-to-Case under Service.
- Check Enable Web-to-Case.
- Optionally set a Default Case Origin (e.g., "Web") so you can filter web-submitted cases in reports.
- Set the Response Template — this is the auto-reply email sent to the customer confirming their case was received.
- Check Hide Record Information if you don’t want the confirmation page to display case details.
- Click Save.
The daily limit is 5,000 cases for most orgs. Cases beyond the limit are queued and processed the next day.
Configure Your Case Fields
Decide what information you want to collect from customers. The right fields reduce back-and-forth and help your support team resolve issues faster.
Recommended fields:
- Contact Name + Email — who’s reporting the issue
- Subject — one-line summary of the problem
- Description — detailed explanation
- Priority — let customers indicate urgency (Low / Medium / High)
- Type — categorize the request (Question / Problem / Feature Request)
Optional but useful:
- File Attachment — screenshots, error logs, documents
- Product — if you support multiple products
- Case Origin — set as a hidden field to track that the case came from the web form
Set Up Assignment Rules
Assignment rules automatically route cases to the right agent or queue based on criteria you define.
- Go to Setup → Case Assignment Rules.
- Click New Rule and name it (e.g., "Web Case Routing").
- Set it as the active rule.
- Add Rule Entries with criteria and assign to a user or queue:
Example rule entries:
- Priority = High → assign to Senior Support Queue
- Type = "Feature Request" → assign to Product Team Queue
- All others → assign to General Support Queue
Rules are evaluated in order — the first matching entry wins. Put your most specific rules at the top.
Important: For web cases to use assignment rules, your form must include:
<!-- Add this hidden field to trigger assignment rules -->
<input type="hidden" name="external" value="1">
Configure Escalation Rules
Escalation rules ensure no case falls through the cracks. If a case isn’t resolved within your SLA, Salesforce can automatically reassign it, notify a manager, or change its priority.
- Go to Setup → Escalation Rules.
- Click New Rule and name it (e.g., "SLA Escalation").
- Set it as the active rule.
- Add Rule Entries with time-based criteria:
Example escalation:
- If a High priority case is open for more than 2 hours → reassign to Support Manager + send email alert
- If any case is open for more than 24 hours → escalate to Team Lead
Escalation time is based on business hours defined in your org, not clock time. Make sure your business hours are configured correctly under Setup → Business Hours.
Web-to-Case vs Email-to-Case
Both features create Cases, but they serve different use cases:
| Feature | Web-to-Case | Email-to-Case |
|---|---|---|
| Input | HTML form on your website | Emails sent to a support address |
| Best for | Structured requests with specific fields | Free-form customer emails |
| Data quality | Higher — you control the fields | Lower — parsing email content |
| Setup effort | Lower — generate form, embed on site | Higher — email routing, threading |
| Daily limit | 5,000 cases | Unlimited (On-Demand) |
Our recommendation: Use both. Web-to-Case for your website support page (structured data) and Email-to-Case for your [email protected] inbox (unstructured).
Testing Your Setup
Before going live, test the full flow:
- Submit a test case from your form using a personal email. Verify the Case appears in Salesforce.
- Check field mapping — ensure Subject, Description, Priority, etc. populated correctly.
- Verify assignment — confirm the case was routed to the correct queue or agent.
- Test auto-response — check that the customer received a confirmation email.
- Test escalation — create a test case and wait (or adjust the timer) to confirm escalation fires.
- Test the return URL — after form submission, you should land on your thank-you page.
Common issues:
- Case not appearing: Verify your Org ID. Web-to-Case uses
orgid(notoidlike Web-to-Lead). - Assignment rules not firing: Make sure the hidden
external=1field is in your form. - No auto-response: Check that the response template is set in Web-to-Case settings and the customer’s email field is mapped correctly.
Need Help Setting This Up?
We can configure your entire support pipeline — Web-to-Case, Email-to-Case, assignment, escalation, and SLA dashboards.
Case Assignment Rules
Route cases to the right support agent or queue based on priority, product, region, or customer tier.
Escalation Rules
Automatically escalate cases that aren't resolved within your SLA — no tickets slip through the cracks.
Email-to-Case Setup
Turn incoming support emails into Salesforce Cases automatically — customers just email your support address.