Once you’re happy with your Langflow flow, share it to import it to watsonx Orchestrate.
Note:If your Langflow flow uses global variables, bind these variables to watsonx Orchestrate connections first. For more information, see Binding global variables to connections.
To import a Langflow flow, run:
BASH
Copy
Ask AI
orchestrate tools import -k langflow -f <json-file-path> -a <app-id> -<requirements-file-path>
Show command flags
Flag
Type
Required
Description
--kind / -k
string
Yes
The kind of tool to import, this is always langflow for Langflow based tools.
--file / -f
string
Yes
The path to the file of the shared JSON you want to import (or a URL containing the file).
--app-id / -a
string
No
The application ID of a connection related to your Langflow flow. Use connections to authenticate or configure global variables. You can include multiple --app-id flags if needed.
--requirements-file / -r
string
No
The path to a requirements.txt file that lists all Python packages needed to run the Langflow flow.