Share user data from your website to your Botpress bot automatically when the chat loads
What it does:
- Captures data via updateUser() (email, page context, etc.)
- Assigns to workflow variables for use throughout your conversation
- Works on bot initialization
Use Cases:
✅ Pass logged-in user's email to personalize the conversation
✅ Send current page/category context so bot knows where user is browsing
Published on Botpress Hub:
https://studio.botpress.cloud/flows/wf-main?exploreHub=1&hubItemId=hsk-85af739f35¤tTab=workflows&search=get+user+data
Includes HTML template, Execute Code card, and setup instructions.