fix(Respond to Webhook Node): Fix issue preventing the chat trigger from working (#9886)

Co-authored-by: Shireen Missi <shireen@n8n.io>
This commit is contained in:
Jon 2024-08-16 08:57:21 +01:00 committed by GitHub
parent 90a5fcc541
commit 9d6ad88c14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -290,7 +290,11 @@ export class RespondToWebhook implements INodeType {
const items = this.getInputData();
const nodeVersion = this.getNode().typeVersion;
const WEBHOOK_NODE_TYPES = ['n8n-nodes-base.webhook', 'n8n-nodes-base.formTrigger'];
const WEBHOOK_NODE_TYPES = [
'n8n-nodes-base.webhook',
'n8n-nodes-base.formTrigger',
'@n8n/n8n-nodes-langchain.chatTrigger',
];
try {
if (nodeVersion >= 1.1) {