A Lightning Web Component that adds AI-powered case deflection to your Salesforce Experience Cloud Help Center. It listens to user input on the Contact Support page, calls IrisGPT and your knowledge base in parallel through a secure Apex proxy, and suggests relevant answers before a case is created.Documentation Index
Fetch the complete documentation index at: https://docs.irisagent.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Admin access to a Salesforce org with an Experience Cloud Help Center site
- The IrisAgent Salesforce package installed (see the Salesforce data source guide for the initial install)
- Access to IrisAgent dashboard
Install or upgrade the IrisAgent Salesforce package
The Case Deflector ships in IrisAgent Sidebar v1.3.0+. If you already have an older version installed, upgrade to the latest package version. If this is a fresh install, follow the Salesforce data source guide first, then upgrade. Please email us to receive the latest installation URL for your org.Grant Guest User permissions
Anonymous Help Center visitors run as the site’s Guest User, so that profile needs access to the Apex proxy used by the deflector:- In Salesforce Setup, go to Digital Experiences → All Sites
- Click Workspaces next to your Help Center site, then open Administration → Pages → Go to Force.com
- Click Public Access Settings to open the Guest User profile
- Scroll to Enabled Apex Class Access, click Edit, and add
IrisAgentAPIClient(oririsagentsf.IrisAgentAPIClientif your org uses the namespaced package) - Click Save
https://frontend-api-server-v2.api.irisagent.com is active under Setup → Remote Site Settings.
Add the Case Deflector to the Contact Support page
- In Salesforce Setup, go to Digital Experiences → All Sites
- Find your Help Center site (for example, Default Help Center) and click Builder
- In Experience Builder, navigate to the Contact Support page
- Remove the existing Contact Support Form component — the IrisAgent Case Deflector replaces it
- From the Components panel, drag IrisAgent Case Deflector onto the page where the form used to be
-
(Optional) Tune the component properties in the right-hand panel:
Property Default Description minCharCount15 Minimum combined Subject + Description characters before searching debounceMs800 Delay (ms) after the user stops typing before the API call fires maxArticles5 Maximum number of related articles shown showPoweredBytrue Show the “Powered by IrisGPT” badge contactPageNameContact_SupportExperience Cloud page API name to navigate to on “No, I still need help” - Click Publish to deploy the change to your live Help Center
How it works
- The visitor starts typing in the Subject and Description fields on the deflector
- Once the combined text exceeds
minCharCount, the deflector waitsdebounceMsafter the last keystroke before calling the API - Two parallel requests fire through the Apex proxy — one for an AI-generated answer with source citations, one for related knowledge articles
- Results appear inline:
- AI Guidance — a rich-text answer
- Source links — clickable citation chips
- Related Articles — up to
maxArticlesentries with title, link, and snippet
- The visitor chooses:
- Yes, this helped — the deflector disappears and no case is created
- No, I still need help — the user is navigated to
contactPageName, which loads the standard Contact Support Form
Verify the deployment
- Open the published Help Center URL in an incognito or private window so you load it as an anonymous Guest User
- Navigate to Contact Support
- Type at least 15 combined characters across Subject and Description
- Confirm the deflector renders AI guidance and related articles
- In browser DevTools → Network, confirm there are no direct calls to
frontend-api-server-v2.api.irisagent.comfrom the browser — all traffic should go through/services/data/...(the Apex proxy)
Troubleshooting
Deflector doesn’t appear on the Contact Support page- Verify the component was published in Experience Builder, not just saved as a draft
- Confirm the IrisAgent Sidebar package version is 1.3.0 or higher
- Confirm the Remote Site Setting for
https://frontend-api-server-v2.api.irisagent.comis active - Confirm the Guest User profile has Apex Class Access to
IrisAgentAPIClient