Chat Trigger
The Chat trigger starts an automation from an embeddable chat widget on your website. Visitors open the widget; each message turn can run the flow (typically with an AI Agent and Reply Chat steps).
When to use it
Section titled “When to use it”- Website Q&A assistants grounded in your data
- Guided intake before creating a workflow card
- Lightweight support bots that call tools (HTTP, Database, vector search)
General settings
Section titled “General settings”On the Chat node General tab:
Session duration
Section titled “Session duration”Configure Hours and Minutes. After a visitor loads the page and the duration elapses, WorkHub24 can automatically start a new chat session and open the chat panel (per the product behavior described in the builder).
Embed script
Section titled “Embed script”Copy the generated script tag into your website’s HTML. Style changes configured in the builder apply dynamically—you usually do not need to update the site after saving style tweaks. Use Copy in the builder to grab the current tag.
Use the Style tab to brand the widget. Changes load at runtime—you do not need to update the embed script after saving style tweaks.
Common options:
| Setting | Purpose |
|---|---|
| Button Position | Where the launcher sits on the page |
| Chat Title | Header title in the panel |
| Welcome Message | Optional greeting when the panel opens |
| Primary / Secondary Colour | Brand colours for the widget chrome |
Save the flow after style changes.
Output
Section titled “Output”The Output tab exposes chat-related variables (for example, the visitor message) for downstream nodes such as AI Agent or Decision.
Typical path
Section titled “Typical path”Chat trigger → AI Agent (optional tools) → Reply ChatSee AI & Chat for Agent, tools, and Reply Chat. End-to-end walkthrough: Chatbot with your data.
Enable and test
Section titled “Enable and test”- Save the flow and set Automation is ON.
- Embed the script on a test page.
- Send a message and confirm an execution appears under Executions.