how to get user data in chat with bots using salesiq script

how to get user data in chat with bots using salesiq script

i am making a conversation between user and bot where bot offers user to go for either sales department or service department. if user clicks on sales department, our products will appear afterwords, we want to fetch user details such as name, email, company name, phone number. but i am facing a problem to generate a salesiq script to fetch user details.   please suggest code or bid