How to pass logged-in user data to Landbot/chatbot

I have an embedded chatbot (In this case Landbot) and want to pass softr user logged-in user data to the landbot form so in landbot I can sync the landbot generated user ID to the softr user?

Hi @NKx2,

You could try the following to get and pass logged-in user data:

window.logged_in_user['softr_user_email']
window.logged_in_user['softr_user_full_name']
window.logged_in_user['record_id']
window.logged_in_user[xxxxx]

XXX - custom attributes

Let me know if this works.

1 Like

@NKx2 if you need more specific code example we would need you to share the landbod code you are using with a mock data so we can replace with Softr data and share back

thanks I am trying this now

I want to use this score meter. It should display the clicked list item’s score from the airtable field “score”. How can I pass the value of the field score of that specific record clicked?

Would be great to have a collated list of custom-attributes somewhere. Thanks.

Hi. How would you implement this please? I am trying to implement the new Zapier chatbot and give it the user’s email so that it knows where to store the information it receives

@alanwunsche, please share the page and code you embed with our support team so we can help you adjust to pass user data.

It seems it’s answered here: Embedding a Zapier Chabot in a Softr.io page in custom code and pass in user information

Thank you! Do you prefer chat or email support@softr.io?

Chat is faster :slight_smile: works over email too