Files
metabuilder/workflow/examples
johndoe6345789 d1ca805d71 refactor(workflow): complete migration from JSON Script to n8n format
BREAKING CHANGE: MetaBuilder JSON Script v2.2.0 format is deprecated.
All workflows now use n8n schema exclusively.

Changes:
- Migrated all 133 .jsonscript files to standard .json format
- All workflows now conform to schemas/n8n-workflow.schema.json
- Removed 211 backup files created during migration
- Complete JSON Script to n8n schema transformation:
  * MetaBuilder nodes → n8n-compatible nodes with proper types
  * Custom parameters → standard n8n parameters
  * Edge arrays → adjacency map connections
  * Trigger objects → explicit triggers array
  * Single-file workflows → proper adjacency format

Impact:
 100% of workflows now n8n-compatible
 First-class variable support via schema
 Complex DAG topology via adjacency maps
 Multi-tenant safety maintained throughout
 All business logic preserved
 Ready for n8n tooling, import/export, and execution engines

Architecture:
- Workflows stored in /packages/*/workflow/*.json
- Schema validation via schemas/n8n-workflow.schema.json
- Support for variables, credentials, triggers, connections
- TypeVersion pinning for backward compatibility

Migration is complete. Codebase is now 100% n8n-based.
Next step: Update workflow executor to use n8n execution engine.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-22 18:53:26 +00:00
..

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 metadata
  • workflow.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/.