How atharvakulkarni-07/ai-workflow-builder works
AI Workflow Builder is a browser-based visual editor for composing, configuring, and running AI workflows. Users add input, bot, and output nodes, connect them, then run the graph or generate one from a prompt; results appear in output nodes. The client also supports PDF extraction, speech input, and workflow save/load/import/export. Relationships follow the sampled Playground, workflow engine, and service code; README-documented capabilities are included, but unsampled server internals are not inferred.
Main entry points: Playground.jsx Workflow playground · aiService.js AI service client · App.jsx Application shell · workflowEngine.js Workflow engine
Components 21
Workflow editor
- Application shell
client/ai-workflow-builder/src/App.jsx - Workflow playground
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Node palette
client/ai-workflow-builder/src/components/Sidebar/Sidebar.jsx - Bot node
client/ai-workflow-builder/src/components/BotNode/BotNode.jsx - Bot configuration
client/ai-workflow-builder/src/components/BotNode/ConfigModal.jsx - Connection validation
client/ai-workflow-builder/src/constants/validation.js - Error boundary
client/ai-workflow-builder/src/components/ErrorBoundary/ErrorBoundary.jsx
Execution and inputs
- Input node
client/ai-workflow-builder/src/components/InputNode/InputNode.jsx - Output node
client/ai-workflow-builder/src/components/OutputNode/OutputNode.jsx - Workflow engine
client/ai-workflow-builder/src/services/workflowEngine.js - Bot catalog
client/ai-workflow-builder/src/data/aiBots.js - PDF extraction
client/ai-workflow-builder/src/utils/pdfUtils.js - Speech input
client/ai-workflow-builder/src/hooks/useSpeechInput.js
AI integrations
- AI service client
client/ai-workflow-builder/src/services/aiService.js
Workflow state
- Workflow persistence
client/ai-workflow-builder/src/hooks/useWorkflowPersistence.js - Browser local storage
Other components
- Workflow author
- OpenRouter
- Pollinations image API
- TTS API
- Web Speech API
Connections 23
- Workflow author → Application shell: uses
- Application shell → Node palette: renders
client/ai-workflow-builder/src/App.jsx - Application shell → Workflow playground: renders
client/ai-workflow-builder/src/App.jsx - Application shell → Error boundary: wraps with
client/ai-workflow-builder/src/App.jsx - Workflow playground → Bot node: renders
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Workflow playground → Input node: renders
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Workflow playground → Output node: renders
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Workflow playground → Bot configuration: opens
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Workflow playground → Connection validation: validates links
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Workflow playground → Bot catalog: builds bot nodes
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Node palette → Bot catalog: lists bots
client/ai-workflow-builder/src/components/Sidebar/Sidebar.jsx - Workflow playground → Workflow engine: runs graph
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Workflow engine → Workflow playground: returns results
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Workflow engine → PDF extraction: extracts PDF text
client/ai-workflow-builder/src/services/workflowEngine.js - Workflow engine → AI service client: requests bot processing
client/ai-workflow-builder/src/services/workflowEngine.js - Workflow playground → AI service client: generates workflows
client/ai-workflow-builder/src/components/Playground/Playground.jsx - AI service client → OpenRouter: requests chat completion
client/ai-workflow-builder/src/services/aiService.js - AI service client → Pollinations image API: creates image URL
client/ai-workflow-builder/src/services/aiService.js - AI service client → TTS API: requests speech
client/ai-workflow-builder/src/services/aiService.js - Workflow playground → Workflow persistence: manages workflows
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Workflow persistence → Browser local storage: reads and writes
client/ai-workflow-builder/src/hooks/useWorkflowPersistence.js - Workflow playground → Speech input: captures prompt speech
client/ai-workflow-builder/src/components/Playground/Playground.jsx - Speech input → Web Speech API: uses recognition
client/ai-workflow-builder/src/hooks/useSpeechInput.js