Chat¶
Node: chat · Full type: @n8n/n8n-nodes-langchain.chat · Version: 1.3
Operations¶
send¶
No additional parameters.
sendAndWait¶
| Parameter | Type | Default | Details |
|---|---|---|---|
responseType |
options | "freeTextChat" | approval, freeTextChat |
defineForm |
options | "fields" | fields, json |
jsonOutput |
json | "[ | |
| { | |||
| "fieldLabel": "Name", | |||
| "..." | |||
formFields |
fixedCollection | {} | groups: values |
formFields |
fixedCollection | {} | groups: values |
approvalOptions |
fixedCollection | {} | groups: values |
Common Parameters¶
| Parameter | Type | Default | Details |
|---|---|---|---|
message |
string | "" | required |
waitUserReply |
boolean | true | |
blockUserInput |
boolean | false | |
options |
collection | {} | keys: memoryConnection, limitWaitTime, limitWaitTime |
Parameter Details¶
formFields children:
values group:
| Parameter | Type | Default | Details |
|---|---|---|---|
fieldName |
string | "" | required |
fieldLabel |
string | "" | required |
fieldLabel |
string | "" | required |
fieldName |
string | "" | |
fieldType |
options | "text" | required; checkbox, html, date, dropdown, email, file, hiddenField, number, ... (12 total) |
elementName |
string | "" | |
fieldName |
string | "" | |
placeholder |
string | "" | |
defaultValue |
string | "" | |
defaultValue |
dateTime | "" | |
defaultValue |
string | "" | |
defaultValue |
string | "" | |
fieldValue |
string | "" | |
fieldOptions |
fixedCollection | {...} | required; groups: values |
fieldOptions |
fixedCollection | {...} | required; groups: values |
fieldOptions |
fixedCollection | {...} | required; groups: values |
multiselect |
boolean | false | |
limitSelection |
options | "unlimited" | exact, range, unlimited |
numberOfSelections |
number | 1 | |
minSelections |
number | 0 | |
maxSelections |
number | 1 | |
html |
string | " |
" | |
| multipleFiles | boolean | true | |
| acceptFileTypes | string | "" | |
| requiredField | boolean | false | |
approvalOptions children:
values group:
| Parameter | Type | Default | Details |
|---|---|---|---|
approvalType |
options | "single" | single, double |
approveLabel |
string | "Approve" | |
buttonApprovalStyle |
options | "primary" | primary, secondary |
disapproveLabel |
string | "Decline" | |
buttonDisapprovalStyle |
options | "secondary" | primary, secondary |
options children:
| Parameter | Type | Default | Details |
|---|---|---|---|
memoryConnection |
boolean | false | |
limitWaitTime |
fixedCollection | {...} | groups: values |
limitWaitTime |
fixedCollection | {...} | groups: values |