How areysid/flowforge works
Flowforge is a workflow-automation application: authenticated users create and edit node-and-edge workflows, persist them, and start executions manually or from external trigger webhooks. The sampled workflow router confirms persistence and execution dispatch; the Inngest route registers execution handling, while the tree identifies trigger/action executors and execution-history views. Their internal wiring is not sampled, so those connections are omitted. The README is generic Next.js boilerplate and documents no additional product capabilities.
Main entry points: server/routers.ts Workflow operations · server/routers.ts Execution queries · executor-registry.ts Executor registry · _app.ts API router
Components 22
User experience
- Workflow editor page
src/app/(dashboard)/(editor)/workflows/[workflowId]/page.tsx - Canvas editor
src/features/editor/components/editor.tsx - Workflow list
src/features/workflows/components/workflows.tsx - Execution history
src/features/executions/components/executions.tsx - Execution detail
src/features/executions/components/execution.tsx
Workflow management
- Workflow operations
src/features/workflows/server/routers.ts - Workflow records
src/lib/db.ts - Canvas state
src/features/editor/store/atoms.ts - Execution queries
src/features/executions/server/routers.ts - Execution records
src/lib/db.ts
Execution runtime
- Inngest endpoint
src/app/api/inngest/route.ts - Workflow functions
src/inngest/functions.ts - Execution dispatch
src/inngest/utils.ts - Executor registry
src/features/executions/lib/executor-registry.ts
Triggers and actions
- Trigger webhooks
src/app/api/webhooks - Trigger executors
src/features/triggers/components - Action executors
src/features/executions/components
Application services
- tRPC endpoint
src/app/api/trpc/[trpc]/route.ts - API router
src/trpc/routers/_app.ts - Authentication
src/lib/auth.ts
Other components
- User
- External trigger services
Connections 21
- User → Workflow editor page: opens
- User → Workflow list: manages
- User → Execution history: reviews
- Workflow editor page → Canvas editor: renders
- Canvas editor → Canvas state: updates
- tRPC endpoint → API router: dispatches
- API router → Workflow operations: routes
- API router → Execution queries: routes
- Workflow operations → Workflow records: reads/writes
- Workflow operations → Execution dispatch: starts execution
- Workflow list → Workflow operations: requests workflows
- Execution queries → Execution records: reads
- Execution history → Execution queries: requests history
- Execution detail → Execution queries: requests details
- Trigger webhooks → Execution dispatch: dispatches execution
- External trigger services → Trigger webhooks: sends events
- Execution dispatch → Inngest endpoint: sends event
- Inngest endpoint → Workflow functions: serves
- Workflow functions → Executor registry: uses
- Executor registry → Trigger executors: resolves
- Executor registry → Action executors: resolves