1. We would like to create a user profile (new Contact) with custom field values when a user moves from our website to a chatbot. We plan to pass the custom field values through the URL parameters to our chatbot. Is this possible? If so, could you please guide us on how to implement it? 2. Each user will have unique values. We want to include them in the URL parameters that the bot shares in the chat. Is this possible?
Best answer by Gustavo Boregio
You can use the Ref URL with Custom Payload on the URL:
You can only pass 1 parameter, so if you need more you'll need some logic and to split them. I've done it, for example, by splitting the data with ";", and then having an external tool split up the values for me.
You can only pass 1 parameter, so if you need more you'll need some logic and to split them. I've done it, for example, by splitting the data with ";", and then having an external tool split up the values for me.
You could create a workaround with WhatsApp + a keyword with a custom payload, but it's more complicated and your user would see weird content on the first WhatsApp message they'd have to send the bot - which is not good...