interface ChatTriggerNodeParameters {
authentication?:
| "none"
| "basicAuth"
| "n8nUserAuth";
initialMessages?: string;
mode?: "hostedChat"
| "webhook";
options?:
| {
allowedFilesMimeTypes?: string;
allowFileUploads?: boolean;
}
| {
allowedFilesMimeTypes?: string;
allowedOrigins?: string;
allowFileUploads?: boolean;
customCss?: string;
getStarted?: string;
inputPlaceholder?: string;
loadPreviousSession?: | "notSupported"
| "memory"
| "manually";
responseMode?: "lastNode"
| "responseNode";
showWelcomeScreen?: boolean;
subtitle?: string;
title?: string;
}
| {
allowedFilesMimeTypes?: string;
allowedOrigins?: string;
allowFileUploads?: boolean;
customCss?: string;
getStarted?: string;
inputPlaceholder?: string;
loadPreviousSession?: | "notSupported"
| "memory"
| "manually";
responseMode?: | "lastNode"
| "responseNode"
| "streaming";
showWelcomeScreen?: boolean;
subtitle?: string;
title?: string;
}
| {
allowedFilesMimeTypes?: string;
allowFileUploads?: boolean;
responseMode?: "lastNode"
| "responseNodes";
}
| {
allowedFilesMimeTypes?: string;
allowedOrigins?: string;
allowFileUploads?: boolean;
customCss?: string;
getStarted?: string;
inputPlaceholder?: string;
loadPreviousSession?: | "notSupported"
| "memory"
| "manually";
responseMode?: | "lastNode"
| "responseNode"
| "streaming"
| "responseNodes";
showWelcomeScreen?: boolean;
subtitle?: string;
title?: string;
};
public?: boolean;
}
Properties§
Source§readonly initial Messages?: string
readonly initial Messages?: string
Default messages shown at the start of the chat, one per line Default: "Hi there! 👋\nMy name is Nathan. How can I assist you today?" Type options: {"rows":3}
Source§readonly options?:
| {
allowedFilesMimeTypes?: string;
allowFileUploads?: boolean;
}
| {
allowedFilesMimeTypes?: string;
allowedOrigins?: string;
allowFileUploads?: boolean;
customCss?: string;
getStarted?: string;
inputPlaceholder?: string;
loadPreviousSession?: | "notSupported"
| "memory"
| "manually";
responseMode?: "lastNode"
| "responseNode";
showWelcomeScreen?: boolean;
subtitle?: string;
title?: string;
}
| {
allowedFilesMimeTypes?: string;
allowedOrigins?: string;
allowFileUploads?: boolean;
customCss?: string;
getStarted?: string;
inputPlaceholder?: string;
loadPreviousSession?: | "notSupported"
| "memory"
| "manually";
responseMode?: | "lastNode"
| "responseNode"
| "streaming";
showWelcomeScreen?: boolean;
subtitle?: string;
title?: string;
}
| {
allowedFilesMimeTypes?: string;
allowFileUploads?: boolean;
responseMode?: "lastNode"
| "responseNodes";
}
| {
allowedFilesMimeTypes?: string;
allowedOrigins?: string;
allowFileUploads?: boolean;
customCss?: string;
getStarted?: string;
inputPlaceholder?: string;
loadPreviousSession?: | "notSupported"
| "memory"
| "manually";
responseMode?: | "lastNode"
| "responseNode"
| "streaming"
| "responseNodes";
showWelcomeScreen?: boolean;
subtitle?: string;
title?: string;
}
readonly options?:
| {
allowedFilesMimeTypes?: string;
allowFileUploads?: boolean;
}
| {
allowedFilesMimeTypes?: string;
allowedOrigins?: string;
allowFileUploads?: boolean;
customCss?: string;
getStarted?: string;
inputPlaceholder?: string;
loadPreviousSession?: | "notSupported"
| "memory"
| "manually";
responseMode?: "lastNode"
| "responseNode";
showWelcomeScreen?: boolean;
subtitle?: string;
title?: string;
}
| {
allowedFilesMimeTypes?: string;
allowedOrigins?: string;
allowFileUploads?: boolean;
customCss?: string;
getStarted?: string;
inputPlaceholder?: string;
loadPreviousSession?: | "notSupported"
| "memory"
| "manually";
responseMode?: | "lastNode"
| "responseNode"
| "streaming";
showWelcomeScreen?: boolean;
subtitle?: string;
title?: string;
}
| {
allowedFilesMimeTypes?: string;
allowFileUploads?: boolean;
responseMode?: "lastNode"
| "responseNodes";
}
| {
allowedFilesMimeTypes?: string;
allowedOrigins?: string;
allowFileUploads?: boolean;
customCss?: string;
getStarted?: string;
inputPlaceholder?: string;
loadPreviousSession?: | "notSupported"
| "memory"
| "manually";
responseMode?: | "lastNode"
| "responseNode"
| "streaming"
| "responseNodes";
showWelcomeScreen?: boolean;
subtitle?: string;
title?: string;
}
Default: {}
The way to authenticate Default: "none"