Interface ChatTriggerNodeParameters

Source
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 authentication?: "none" | "basicAuth" | "n8nUserAuth"

The way to authenticate Default: "none"

Source§

readonly initialMessages?: 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 mode?: "hostedChat" | "webhook"

Default: "hostedChat"

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;
    }

Default: {}

Source§

readonly public?: boolean

Whether the chat should be publicly available or only accessible through the manual chat interface