Hola Sir
My solution would be to create a basic conversational chatbot script that could be used on websites (preferably written in JavaScript). Its purpose would be to collect basic user data before redirecting the user to WhatsApp.
The chatbot should have a design similar to chatbot platforms like Tidio or LiveChat, with an avatar and online status indicator. A design example can be provided and optimized according to the requirements of the project. The CSS should be isolated and unique, to avoid conflicts with the website’s own CSS classes.
The chatbot should start by displaying a message such as "Can I help you?" on the right-side of the page. When the user clicks on the chat bot avatar a chat window should open, displaying a message such as "How can I help you?". The chatbot should then offer 3 services as buttons, and then ask for the user's name and phone number. Finally, it should redirect the user to WhatsApp with a message that includes their name.
The chatbot should also track the referral URL, UTMs, and any other data collected and send it all to a webhook.
Overall, the conversation should be kept simple and clear, without lengthy or complex messages.
Best regards,
Giáp Văn Hưng