diff --git a/kairon/shared/data/action_serializer.py b/kairon/shared/data/action_serializer.py index 2d265d91d..8f59731f0 100644 --- a/kairon/shared/data/action_serializer.py +++ b/kairon/shared/data/action_serializer.py @@ -338,6 +338,10 @@ def deserialize(bot: str, user: str, actions: Optional[dict] = None, other_colle elif action_info.get('single_instance'): if overwrite: filtered_actions[action_type] = actions[action_type] + else: + existing_action = action_info.get("db_model").objects(bot=bot).first() + if not existing_action: + filtered_actions[action_type] = actions[action_type] else: new_actions = [] action_names = []