-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
crdChange Request Document - User StoryChange Request Document - User StorynextMedium priority - next sprintMedium priority - next sprint
Description
User Story
As an operator, I can deploy new workflows from JSON files
Command
forge-dotnet create-workflow <file.json>
Input
JSON file containing workflow definition
API Integration
POST /workflows endpoint
Acceptance Criteria
- Validates JSON file exists and is readable
- Validates workflow JSON schema
- Creates workflow in n8n via API
- Returns new workflow ID on success
- Clear feedback on validation failures
Tasks Breakdown
- Create WorkflowDefinition model
- Create JSON validation service
- Extend IWorkflowService with CreateWorkflowAsync method
- Extend N8nWorkflowClient with create workflow endpoint
- Implement CreateWorkflowCommand with file validation
- Add comprehensive error handling and user feedback
- Write unit tests for all components
- Update documentation
Parent Issues
- Part of PRD PRD: Workflow Management Commands #2: Workflow Management Commands
- Depends on CRD-2.1 and CRD-2.2
Priority
High - Core functionality
Metadata
Metadata
Assignees
Labels
crdChange Request Document - User StoryChange Request Document - User StorynextMedium priority - next sprintMedium priority - next sprint