From b2730d680c8801c3e04daf8cc99eca000251a019 Mon Sep 17 00:00:00 2001 From: Harry Date: Wed, 22 Oct 2025 16:55:48 +0800 Subject: [PATCH] fix(trigger): add missing fields in TriggerEventNode configuration --- .../workflow/nodes/trigger_plugin/trigger_event_node.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/core/workflow/nodes/trigger_plugin/trigger_event_node.py b/api/core/workflow/nodes/trigger_plugin/trigger_event_node.py index 0e8ba2cc15..0dce41f1f9 100644 --- a/api/core/workflow/nodes/trigger_plugin/trigger_event_node.py +++ b/api/core/workflow/nodes/trigger_plugin/trigger_event_node.py @@ -42,11 +42,13 @@ class TriggerEventNode(Node): return { "type": "plugin", "config": { + "title": "", "plugin_id": "", "provider_id": "", "event_name": "", "subscription_id": "", - "parameters": {}, + "plugin_unique_identifier": "", + "event_parameters": {}, }, } @@ -64,7 +66,7 @@ class TriggerEventNode(Node): # Get trigger data passed when workflow was triggered inputs = dict(self.graph_runtime_state.variable_pool.user_inputs) - + # The event already ran before workflow execution, so we can get the outputs from the inputs outputs = inputs.get("inputs", {})