SalesIQ Pre Chat Survey Customization
Hello,
I am working on dynamically qualifying leads. What I would like to do is this:
Add a custom field asking if the leads a business or residential. I have done this successfully on chat using
customfield.add().
This is the part I am having difficultly with -
(1) Is it possible to add a second custom field dynamically based on the "residential" value entry? I believe this is possible with the callback feature but I was unable to find sample code.
(2) Once the customer indicates they are "residential" I would like to fire an automated message (prior to the agent engaging the customer) and close the chat.
Any help would be greatly appreciated!