
We can use a Record-Trigger Flow on the AgentWork entity to update the Case Owner to Chat agent when the Chat is accepted in Salesforce.
Sample Flow:

Condition:
1. Status is Opened.
2. WorkItemId starts with 570.

Fetching Chat Transcript Record

Case Linked to Chat Transcript Check

Case Assignment

Case Update

Output:

Video Reference: