mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
- Migrated 67/72 workflows from MetaBuilder JSON Script to n8n schema - All migrated workflows now conform to schemas/n8n-workflow.schema.json - Key transformations applied: * Edges array → adjacency map connections format * Added required n8n node properties (name, typeVersion, position) * Converted trigger object → triggers array with explicit declaration * Preserved original node logic and parameters * Maintained tenantId filtering for multi-tenant safety - Created backup files (.backup.json/.backup.jsonscript) for all 67 migrated workflows - Migration script fixed to handle edge cases in node ID conversion 5 workflows skipped due to JSON syntax errors (minified with unescaped operators): - reset-password.jsonscript - list-users.jsonscript - delete-user.jsonscript - list-scripts.jsonscript - export-script.jsonscript These 5 files need manual cleanup to fix JSON syntax before migration. Migration impact: - 67 workflows now compatible with n8n tooling and executors - First-class variable support enabled via schema - Adjacency map connections enable more complex DAG workflows - Zero functional regression - all logic preserved Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Workflow Examples
Example workflow packages from AutoMetabuilder demonstrating various patterns.
Python Examples (python/)
These are JSON-based workflow definitions that use the Python plugins.
Templates
| Package | Description |
|---|---|
blank |
Empty starter template |
single_pass |
Single AI request with tool execution |
iterative_loop |
AI loop with tool calls until completion |
contextual_iterative_loop |
Loop with repository context |
plan_execute_summarize |
Planning, execution, and summarization pattern |
Data Processing
| Package | Description |
|---|---|
data_processing_demo |
Filter, map, reduce operations |
conditional_logic_demo |
Branching and conditional logic |
repo_scan_context |
Scan repository and build context |
Plugin Test Suites
| Package | Description |
|---|---|
dict_plugins_test |
Dictionary operation tests |
list_plugins_test |
List operation tests |
logic_plugins_test |
Boolean logic tests |
math_plugins_test |
Arithmetic operation tests |
string_plugins_test |
String manipulation tests |
Infrastructure
| Package | Description |
|---|---|
backend_bootstrap |
Initialize backend services |
default_app_workflow |
Full application workflow |
web_server_bootstrap |
Flask server with routes |
web_server_json_routes |
JSON API route configuration |
Specialized
| Package | Description |
|---|---|
game_tick_loop |
Game loop with tick phases |
testing_triangle |
Lint, unit test, UI test pipeline |
Workflow Structure
Each package contains:
package.json- Package metadataworkflow.json- Workflow definition with nodes and connections
Running Examples
These workflows are designed to run with the Python executor and plugins in workflow/plugins/python/.