diff --git a/packages/editor-ui/src/components/Node/NodeCreator/viewsData.ts b/packages/editor-ui/src/components/Node/NodeCreator/viewsData.ts index 5f36a5bf19..14d19307c3 100644 --- a/packages/editor-ui/src/components/Node/NodeCreator/viewsData.ts +++ b/packages/editor-ui/src/components/Node/NodeCreator/viewsData.ts @@ -6,7 +6,7 @@ import { EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, FORM_TRIGGER_NODE_TYPE, MANUAL_TRIGGER_NODE_TYPE, - MANUAL_CHAT_TRIGGER_NODE_TYPE, + CHAT_TRIGGER_NODE_TYPE, SCHEDULE_TRIGGER_NODE_TYPE, REGULAR_NODE_CREATOR_VIEW, TRANSFORM_DATA_SUBCATEGORY, @@ -405,14 +405,14 @@ export function TriggerView() { }, }, { - key: MANUAL_CHAT_TRIGGER_NODE_TYPE, + key: CHAT_TRIGGER_NODE_TYPE, type: 'node', category: [CORE_NODES_CATEGORY], properties: { group: [], - name: MANUAL_CHAT_TRIGGER_NODE_TYPE, - displayName: i18n.baseText('nodeCreator.triggerHelperPanel.manualChatTriggerDisplayName'), - description: i18n.baseText('nodeCreator.triggerHelperPanel.manualChatTriggerDescription'), + name: CHAT_TRIGGER_NODE_TYPE, + displayName: i18n.baseText('nodeCreator.triggerHelperPanel.chatTriggerDisplayName'), + description: i18n.baseText('nodeCreator.triggerHelperPanel.chatTriggerDescription'), icon: 'fa:comments', }, }, diff --git a/packages/editor-ui/src/plugins/i18n/locales/en.json b/packages/editor-ui/src/plugins/i18n/locales/en.json index 64b329518f..618379633d 100644 --- a/packages/editor-ui/src/plugins/i18n/locales/en.json +++ b/packages/editor-ui/src/plugins/i18n/locales/en.json @@ -1118,6 +1118,8 @@ "nodeCreator.triggerHelperPanel.manualChatTriggerDisplayName": "On chat message", "nodeCreator.triggerHelperPanel.manualChatTriggerDescription": "Runs the flow when a user sends a chat message. For use with AI nodes", "nodeCreator.triggerHelperPanel.manualTriggerTag": "Recommended", + "nodeCreator.triggerHelperPanel.chatTriggerDisplayName": "On chat message", + "nodeCreator.triggerHelperPanel.chatTriggerDescription": "Runs the flow when a user sends a chat message. For use with AI nodes", "nodeCreator.triggerHelperPanel.whatHappensNext": "What happens next?", "nodeCreator.triggerHelperPanel.selectATrigger": "What triggers this workflow?", "nodeCreator.triggerHelperPanel.selectATriggerDescription": "A trigger is a step that starts your workflow",