Documentation is being updated. Some sections may not reflect the latest features.
Looking for step-by-step guides? Explore Tutorials →

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>
AI AssistantPowered by Ubex
Beta
Ask me anything about Ubex workflows, nodes, or the API.