Skip to main content

Hey everyone,

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?

You can use the Ref URL with Custom Payload on the URL:

https://support.manychat.com/support/solutions/articles/36000003002-messenger-ref-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.

 

For example, something like this:

https://m.me/page?ref=xxxx--value1;value2

 

Hope this helps!


Thank you very much! Will this method work with Telegram and WhatsApp?


  • Telegram: Yes
  • WhatsApp: No
  • Instagram: Yes

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...


Reply