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
Nancy Rodriguez 4Nancy Rodriguez 4 

Pre-chat form

Hi,

I created a pre-chat form using snap-in for lightning experiece.  I have the chat in the Lead object and I'm creating a new record with the pre-chat form fields if the entered email address does not exit in our org and is working properly. But I noticed that the new leads created throght the pre-chat form are being assigned to the "Automated Process" user.  I'm trying to send through the pre-chat form a default OwnerId value, but is not working, all the values passed through the pre-chat form are correct but the Owner, is still creating the lead with the "Automated Process" as the Lead Owner.

Any idea how to accomplish this???

Thanks!