This directory is a placeholder for local flow development. The platform imports flows from external sources (git repositories) rather than bundling them.
Official example flows are maintained in a separate repository:
The platform can load flows from multiple sources:
| Source Type | Description | Use Case |
|---|---|---|
| File | Single JSON file or URL | Quick imports, direct links |
| Git (Public) | Public git repository | Community flows, examples |
| Git (Private) | Private git repository | Enterprise, proprietary flows |
| Local | Directory on filesystem | Development, testing |
Configure flow sources in config/flow-sources.yaml:
flow_sources:
# Example flows from GitHub
- name: examples
type: git
url: https://github.com/cfchase/langflow-examples
project: "Examples" # Target project (created if missing)
public: true # Make flows visible to all users
# Private enterprise flows
- name: enterprise
type: git
url: https://github.com/your-org/your-flows
project: "Enterprise"
pattern: "**/flows/*.json" # Only import from flows/ subdirectories
auth:
env_var: GITHUB_FLOW_TOKEN
# Local development
- name: local-dev
type: local
path: ./langflow-flows/dev
project: "Development"| Option | Description | Default |
|---|---|---|
name |
Source identifier | required |
type |
file, local, or git |
required |
path |
File path or URL (for file/local types) |
required |
url |
Git repository URL (for git type) |
required |
branch |
Git branch to clone (for git type) |
main |
project |
LangFlow project name (created if missing) | none |
pattern |
Glob pattern for finding flows | **/*.json |
public |
Make flows visible to all users | false |
enabled |
Enable/disable this source | true |
# Import from all configured sources
make langflow-import
# Or with a simple path override
FLOW_SOURCE_PATH=./my-flows make langflow-importEach flow consists of:
LangFlow export JSON file:
{
"name": "Flow Name",
"description": "Flow description",
"data": {
"nodes": [...],
"edges": [...]
}
}Note: Metadata files are not yet processed by the importer. This is a planned feature.
Additional platform metadata (future):
name: Flow Name
description: Flow description
version: 1.0.0
author: Team Name
tags: [research, chat]
requires: [GEMINI_API_KEY]- Open LangFlow UI: http://localhost:7860
- Create flow using visual builder
- Test in playground
- Export: Click "Export" → "Download JSON"
- Add to your flow repository
- Import:
make langflow-import
See cfchase/langflow-examples as a template:
your-flows-repo/
├── README.md
├── simple-ollama/
│ └── simple-ollama.json
└── my-flow/
├── my-flow.json
└── my-flow.metadata.yaml # Optional
The import script recursively finds all *.json files in the repository.
- cfchase/langflow-examples - Example flows
- docs/DEVELOPMENT.md - Local development
- config/flow-sources.yaml.example - Configuration template