Chat Trigger
Build conversational AI interfaces.
Overview
The Chat trigger enables conversational workflows for chatbots and AI assistants. It maintains conversation history and supports multi-turn interactions.
Features
- Conversation Memory - Automatically tracks message history
- Streaming Responses - Real-time token streaming for better UX
- Widget Integration - Embed chat on any website
- Custom Styling - Match your brand colors and design
Configuration
| Field | Description |
|---|---|
Welcome Message |
Initial message shown to users |
Placeholder Text |
Input field placeholder |
Max History |
Number of messages to retain in context |
Embedding the Widget
Add the chat widget to your website:
<script src="https://widget.ubex.ai/chat.js"></script>
<script>
Ubex.init({
workflowId: 'your-workflow-id',
apiKey: 'your-public-key'
});
</script>