I’d like to set up a bot where the process is as follows:
A user signs in with his account on our website
We already know the name of the customer and could pass this through the URL of the button to initiate the bot (…/?name=John)
When a customer clicks on the link to open the bot, I’d like to welcome the user with “Hi John”.
Is there any way I could do that? I’ve seen that adding custom data to the response works and adding variables to messages. But how can I add custom data passed through the URL (or webhook possibly) to the messages?
Do you know if there’s any method to do this programmatically for the time being so that I could point that out to our devs? Maybe using the collectchat.message() action and passing a variable instead of a generic text?
Yes you are on the right track. By coding, it can be done. If you can send a mail to care@collect.chat with your dev team looped in, I can better explain it there.