ily
July 23, 2025, 12:03pm
1
Hi everyone,
I’m looking to connect Softr with Typebot and want to pass data from the currently logged-in user (e.g. name or email) to Typebot so it can be used inside the chatbot.
Is there a recommended way to send this user data from Softr to Typebot? Maybe via URL parameters, hidden fields, or another method?
I need help so can someone help me ?
Thanks in advance!
Best regards
I believe @acjnas or @matthieu_chateau can help you with this!
1 Like
Hi,
What do you use to display the typebot?
HTML + Javascript method?
If so, could you copy/paste the code?
There is an option with Typebot to add additional information by adding prefilled variables
Example:
Typebot.initStandard({
typebot: "my-typebot",
prefilledVariables: {
"Current URL": "https://my-site/account",
"User name": "John Doe",
},
});
The user name, email or any user related information can be found with some script snippets. I just need to check what your code looks like
If I take the code example I wrote above it would look like this to make things dynamic
Typebot.initStandard({
typebot: "my-typebot",
prefilledVariables: {
"Current URL": window.location.href,
"User name": window.logged_in_user?.softr_user_full_name || "",
"User email": window.logged_in_user?.softr_user_email || "",
},
});
1 Like