Skip to content

FR: Import API to accept flows and option to bypass UI #5432

@Steve-Mcl

Description

@Steve-Mcl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions