Connect your external API to enrich chatbot conversations with user-specific data.
User Data Enrichment
Use this API to provide more personalized information to the bot about the user who is chatting. This helps create a more tailored and relevant conversation experience.
When API is Called
The API will be automatically called when the user enters their email address in the chatbot. The email will be sent as a parameter to your API endpoint.
Session Detection & Customization
You can use your own authentication methods to check if the user is logged in on your website. Based on the session status, you can customize the data returned for logged-in vs. non-logged-in users.
Automatic API Call for Logged-In Users
For internal pages where users are already logged in, the chatbot will call your API without the email parameter. This allows you to:
- - Identify the user through your existing session management
- - Skip asking for email if the user is already authenticated
- - Provide seamless, personalized support without additional user input
Expected API Response Format
{
"success": true,
"data": {
"name": "John Doe",
"email": "john@example.com",
// ... any other user data
}
}