Video tutorials
/
Salesforce LWC Case Triage: Why Use Avonni with Claude Code?
LWC

Salesforce LWC Case Triage: Why Use Avonni with Claude Code?

Compare standard LWC and Avonni on the same Cases, then see which table features you can configure and reuse.

Intermediate
4:59
Comparison
Salesforce LWC Case Triage: Why Use Avonni with Claude Code?
Play video
Chapters
0:00 Incident triage in the Service Console 0:24 What Avonni adds for LWC developers 1:03 Reuse the table on a second Salesforce screen 1:49 The standard Salesforce implementation 2:25 What the Avonni table handles 2:39 Add a filter, standard vs. Avonni 3:07 Inside the Avonni LWC 3:46 Test both versions in Salesforce 4:10 Data loading and shared Apex 4:40 Set up Avonni Agent Skills
Click a chapter to jump to it
Watch on YouTube

What you will build

Build an incident triage data table in the Salesforce Service Console with Claude Code and Avonni LWC Components. Compare it with a standard lightning-datatable implementation using the same Cases, filters, queues and assignment rule.

See which table behaviors the Avonni component handles, which business logic your team owns, and how the same component is reused on a second Salesforce screen.

  • Filter the incident queue to high-priority Web cases.
  • Select cases across status groups and assign them in one action.
  • Watch the remaining workload move from 90 to 15 minutes in both versions.
  • Compare a custom Origin filter control and its JavaScript logic with the Avonni filter configuration.
  • Reuse the grouped table on Support Workload, grouped by Priority with Status and Origin filters.
  • Review the LWC template, query, totals, selection event, Avonni skill and live MCP documentation.

Avonni loads the Case rows without a custom Apex data loader in this example. Both versions use shared Apex to look up queues, validate the selected cases and transfer ownership. A standard datatable can also receive its rows through Salesforce APIs without Apex.

The demos run in a Salesforce scratch org with an administrator account.

Transcript

0:00 Incident triage in the Service Console

Checkout is down, and customers are getting locked out of the portal. In the Salesforce Service Console, I filter the triage queue to high-priority web cases. That’s ninety minutes of work. I select one case from New and one from Escalated and assign them to the incident team. Both leave triage, and fifteen minutes are still waiting in this filtered view.

0:24 What Avonni adds for LWC developers

Artificial intelligence can build a custom Salesforce screen. The next question is what your team will own after it ships. Avonni LWC Components gives you a library of ready-made interface components you can use inside your own Lightning Web Components. In this triage screen, one grouped table brings together the record query, filters, status groups, totals, and selection across groups. When the service team asks for another filter, you configure a field on that component. Your app uses the table’s existing filtering behavior. When agents select cases from different groups, your assignment action receives one list.

1:03 Reuse the table on a second Salesforce screen

The same component can be configured for another screen, and Avonni maintains and updates the component inside its managed package. Your team still tests its own workflows and integrations. You keep control of the business rules, actions, and styling. With the Avonni skill and MCP server, your AI assistant can look up the component’s actual attributes and events as it builds that integration. The service team needs to filter the incident queue, see how much work is left, and assign cases from different status groups in one action. We’ll build a Lightning Web Component to keep that workflow inside the Service Console. Same cases, same assignment rule, two builds. First with Salesforce’s standard datatable, then with Avonni LWC Components.

1:49 The standard Salesforce implementation

Salesforce’s standard datatable gives us the grid and row selection. It takes an array of rows, so the wrapper loads the cases and decides which rows to show. In this version, we render one datatable per status. Our JavaScript applies the filters, builds those groups, and calculates the subtotals and grand total. Each table reports its own selection, and the wrapper merges those selections before sending the case IDs to our assignment action. Those are separate pieces of behavior the team will need to keep in sync as the page changes.

2:25 What the Avonni table handles

Could you ask AI to build the whole thing with Salesforce’s standard table? Yes. Now imagine the service team asks to filter by Origin as well as Priority. In our standard build, the app needs another

2:39 Add a filter, standard vs. Avonni

filter control and code to apply it. With Avonni, you add Origin to the table’s filter settings. The same goes for picking cases across groups. The standard build has to combine the picks from separate tables. Avonni gives your app one list of selected cases. Your team writes the assignment rule and lets the table handle the triage view. Here’s the wrapper Claude built with the Avonni skill and live component docs.

3:07 Inside the Avonni LWC

In the HTML, one Avonni Group By table takes the query, columns, filters, and group settings. In JavaScript, the query says to load Cases from the triage queue and group them by Status. Priority and Origin give us the two filter controls. The effort column asks the table to calculate sums, so the subtotals and grand total appear together. The table sends all selected case IDs in one event, including selections from different groups. That replaces the code we wrote to combine selections across separate tables. The metadata exposes this wrapper to Lightning App Builder, where we place it in the Service Console.

3:46 Test both versions in Salesforce

Here are the same three high-priority web cases in both versions. They total ninety minutes. I assign the forty-five-minute checkout case and the thirty-minute sign-in case to the incident team. Salesforce moves both cases to that queue. The confirmation-email case stays in triage, and both views show fifteen minutes left.

4:10 Data loading and shared Apex

Avonni runs the query for the Case rows, so this table needs no custom Apex data loader. You can also feed a standard datatable through Salesforce APIs without Apex. The difference here is what the team maintains around the grid: filters, status groups, totals, and selection across those groups. Both versions of this demo use shared Apex to look up the queue IDs and to validate and transfer the selected cases.

4:40 Set up Avonni Agent Skills

If you’re following along, start with the Avonni Agent Skills setup, then run the same test in your own demo org.

Show the full transcript

Questions this video answers

See it as a use case
No items found.
Build it in your org

Free in sandboxes, 10 free production licenses.

Start free
Keep going

Related tutorials

Find your next tutorial

Browse the whole library, filtered by where it runs and what you want to build.

All video tutorials