Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Chat Trigger

ai.chat_trigger · version 1.1 · Trigger · chat trigger

Starts the workflow when a chat message arrives.

Ports

PortKindLabelRequiredMax connections
input 0ai_memory1
output 0main

Credentials

SlotAccepted kindsRequired
httpBasicAuthhttp.basic

Parameters

NameTypeDefaultRequiredShown whenDescription
publicbooleanfalseMake Chat Publicly Available.
modeoptions"hostedChat"public = trueOne of hostedChat, webhook.
authenticationoptions"none"One of none, basicAuth.
initialMessagesstringInitial Messages. Messages shown when the chat page opens, one per line.
optionscollection
options.allowedOriginsstring"*"Allowed Origins (CORS). Comma-separated origins, or * for any.
options.titlestring"Chat"Page Title.
options.subtitlestring
options.inputPlaceholderstring"Type your message..."Input Placeholder.
options.loadPreviousSessionoptions"notSupported"Load Previous Session. One of notSupported, memory.
options.responseModeoptions"lastNode"Response Mode. One of lastNode, responseNode.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.chatTrigger1unverified