function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shubham Bansal 45Shubham Bansal 45 

I want to run an aura component code when my live agent chat successfully starts

I want to run an aura component code when my live agent chat successfully starts.

Basically, I want to create a record if my chat get successfully But I am not able to find how to check whether the chat is started successfully or not, If anyone knows please help, I am implementing this on Salesforce lightning
AnudeepAnudeep (Salesforce Developers) 
To see where you can use Custom Aura Components for Embedded Service for Web see the following documentation

https://developer.salesforce.com/docs/atlas.en-us.snapins_web_dev.meta/snapins_web_dev/snapins_web_lightning_components.htm