-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
In the NR editor, the API RED.clipboard.import is the function used to import (and if necessary) show the import
conflicts dialog but, because RED.clipboard.import does not accept a "flow" parameter, it is not possible to use this for automation (like an AI agent)
Ideally, RED.clipboard.import would add support for passing in the flow JSON (or array) and have the option to bypass showing the UI (i.e. as if the has pasted and pressed the import button). This would permit a helper/agent to perform an import but also permitted to see any conflicts and resolve them in the dialog (if required).
Lastly, I am pretty sure this would come with the above but we should check the existing core:show-import-dialog action also supports these new params.
More details in FlowFuse/nr-assistant#106