How blocknextai/blocknext works
BlockNext is a no-code platform for designing and running AI-powered workflows. Users sign in, configure credentials and triggers, compose flows in the visual editor, then start runs manually, on a schedule, or through external requests; the platform executes tasks and streams progress to the live execution view. README-documented branches include AI/integration nodes, natural-language node configuration, MCP tools, and credential management. The tree identifies these subsystems, but most runtime wiring is unsampled, so only README-supported relationships are shown and remain unverified.
Main entry points: service.go Task and node execution · main.tsx Platform UI · ws-manager.ts Live execution view · routes.go Account endpoints
Components 25
User experience
- Platform UI
apps/platform/src/main.tsx - Page routing
apps/platform/src/routes.tsx - Live execution view
apps/platform/src/lib/ws-manager.ts
Identity and access
- Account endpoints
apps/platform-api/internal/modules/account/internal/http/routes.go - Account services
apps/platform-api/internal/modules/account/internal/usecases - Account persistence
apps/platform-api/internal/modules/account/internal/postgres
Workflow authoring
- Visual flow editor
apps/platform/src/features/flow-editor/components/flow-drag-preview.tsx - Node catalog client
apps/platform/src/features/flow-editor/services/node-engine.ts - Node engine hooks
apps/platform/src/features/flow-editor/hooks/use-node-engine.ts - Flow generation
apps/platform/src/features/generation/components/workflow-preview.tsx - Workflow endpoints
apps/platform-api/internal/modules/workflows/internal/http/routes.go
Workflow runtime
- Trigger endpoints
apps/platform-api/internal/modules/triggers/internal/http/routes.go - Task and node execution
apps/platform-api/internal/modules/executions/internal/application/taskexecutions/service.go - Task lifecycle
apps/platform-api/internal/modules/taskrunner/internal/application/taskrunner/task_lifecycle_manager.go - Live progress
apps/platform-api/internal/modules/ws/internal/http/routes.go - Execution history
apps/platform/src/pages/organizations/[organizationId]/history/page.tsx
Extensions and files
- Credentials management
apps/platform-api/internal/modules/nodeengine/internal/http/routes.go - MCP server
apps/platform-api/internal/modules/mcp/internal/http/routes.go - File gateway
apps/file-gateway-api/cmd/file-gateway-api/main.go - File providers
apps/file-gateway-api/internal/modules/storage/storage.go
Other components
- Platform user
- MCP client
- Webhook/API caller
- PostgreSQL
- AI and integrations
Connections 26
- Platform user → Platform UI: uses
README.md - Platform UI → Page routing: renders
apps/platform/src/main.tsx - Platform user → Account endpoints: authenticates
README.md - Account endpoints → Account services: dispatches
apps/platform-api/internal/modules/account/internal/http/routes.go - Account services → Account persistence: persists
- Platform UI → Visual flow editor: authors flows
README.md - Visual flow editor → Node engine hooks: uses
- Node engine hooks → Node catalog client: fetches
apps/platform/src/features/flow-editor/hooks/use-node-engine.ts - Node catalog client → Credentials management: requests
apps/platform/src/features/flow-editor/services/node-engine.ts - Platform user → Flow generation: requests generation
README.md - Flow generation → AI and integrations: uses Gemini
README.md - Platform user → Credentials management: manages
README.md - Platform user → Trigger endpoints: configures
README.md - Webhook/API caller → Trigger endpoints: starts flows
README.md - Platform user → Workflow endpoints: runs flows
README.md - Workflow endpoints → Task lifecycle: dispatches tasks
- Task lifecycle → Task and node execution: runs tasks
- Task and node execution → AI and integrations: invokes nodes
README.md - Task and node execution → File gateway: uses files
- File gateway → File providers: uploads to
- Task and node execution → PostgreSQL: stores runs
- Task and node execution → Live progress: publishes progress
README.md - Live execution view → Live progress: receives updates
README.md - Live execution view → Execution history: supports review
README.md - MCP client → MCP server: calls tools
README.md - MCP server → Task and node execution: runs integration tools
README.md