"Write backend logic the way you explain it to a friend."
Orchestrix is a visual backend builder powered by Motia's scalable workflows, where anyone โ even without coding โ can build production-ready APIs, automations, cron jobs, and integrations by simply typing what they want in plain English.
The system parses English โ generates Motia workflow steps โ connects nodes โ deploys instantly.
- ๐ Authentication Systems - Login, signup, password reset flows
- ๐ CRUD APIs - Full database operations without writing queries
- ๐ง Email Automations - Send transactional emails, notifications
- ๐ API Integrations - Connect third-party services visually
All without writing backend code manually.
| User Type | Use Case |
|---|---|
| ๐ Non-coders | Build real backend logic without learning programming |
| โก Developers | Build APIs 10x faster with visual workflows |
| ๐ฅ Teams | Create automations instantly without backend knowledge |
| ๐ผ Founders | Get production-ready backend that scales from day one |
"Create a user signup API that stores name, email, password
into my MongoDB and sends a welcome email."
The system automatically creates:
- โ Input Schema Node (validates name, email, password)
- โ Database Insert Node (MongoDB)
- โ Email Sender Node (NodeMailer)
- Drag and drop to reorder steps
- Add new nodes from the sidebar
- Configure node properties
- Connect custom data flows
Execute Mode: Test your workflow with sample data and see real-time logs
Save Mode: Deploy as a production API with auto-generated endpoint
Type what you want in English, and Orchestrix generates the complete workflow with proper node connections and data flow.
Built with React Flow, offering intuitive drag-and-drop interface for building complex workflows.
| Category | Nodes Available |
|---|---|
| Input/Output | Input Node, Response Node |
| Database | Find, Insert, Update, Delete Records |
| Communication | Email Sender (SMTP/NodeMailer) |
| Authentication | Login, Auth Middleware, JWT Validation |
| Logic | Validation Middleware, Compute/Transform |
| Async | Background Jobs, Delayed Tasks |
Watch your workflow execute step-by-step with:
- Live socket-based logging
- Error tracking
- Execution time per node
- Data flow visualization
Save your workflow once, get an API endpoint instantly:
POST /api/workflows/{workflow-id}/execute
Content-Type: application/json
{
"email": "user@example.com",
"password": "secure123"
}
Connect to your existing databases:
- MongoDB
- Input validation middleware
- Authentication middleware
- JWT token verification
- Field-level access control
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Frontend (Next.js) โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ React Flow โ โ AI Prompt โ โ Node โ โ
โ โ Editor โ โ Generator โ โ Library โ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โ WebSocket (Logs)
โ REST API
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Backend (Motia Runtime) โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ Workflow โ โ Step โ โ State โ โ
โ โ Engine โ โ Executor โ โ Manager โ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ Database โ โ Email โ โ Job โ โ
โ โ Connector โ โ Service โ โ Queue โ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- Framework: Next.js 14+ (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: shadcn/ui
- Graph Editor: React Flow
- State Management: React Hooks + Motia Client
- Real-time: Socket.io Client
- Runtime: Motia Workflow Engine
- Language: TypeScript/JavaScript
- Database: MongoDB (configurable)
- Email: NodeMailer
- Authentication: JWT
- Job Queue: Motia Background Jobs
- Logging: Motia Step Logger
- Provider: Groq (Claude/GPT models)
- Purpose: Natural language โ Workflow generation
- Node.js 18+
- npm or yarn
- MongoDB (or your preferred database)
git clone https://github.com/AymaanPathan/orchestrix.git
cd orchestrix
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd ../backend
npm install
Create .env files in both frontend and backend:
Frontend .env.local:
NEXT_PUBLIC_API_URL=http://localhost:3001
NEXT_PUBLIC_SOCKET_URL=http://localhost:3001
Backend .env:
PORT=3001
MONGODB_URI=mongodb://localhost:27017/orchestrix
JWT_SECRET=your-secret-key
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
GROQ_API_KEY=your-groq-api-key
# Terminal 1 - Backend
cd backend
npm run dev
# Terminal 2 - Frontend
cd frontend
npm run dev
Visit http://localhost:3000 to see Orchestrix in action!
Prompt:
Create a user registration API that validates email format,
hashes the password, saves to database, and sends welcome email
Generated Workflow:
- Input Validation Node โ validates email format
- Compute Node โ hashes password with bcrypt
- Database Insert Node โ saves user to MongoDB
- Email Node โ sends welcome email
- Response Node โ returns success message
Prompt:
Build an API that fetches all orders from last 30 days,
calculates total revenue, and returns summary
Generated Workflow:
- Database Find Node โ query orders with date filter
- Compute Node โ sum order amounts
- Response Node โ return formatted data
Prompt:
Every Monday at 9 AM, fetch weekly sales data and
email report to admin@company.com
Generated Workflow:
- Background Job Node โ cron schedule
- Database Find Node โ weekly sales query
- Compute Node โ format report
- Email Node โ send to admin
- Input Node - Define API request schema
- Response Node - Format and return API response
- Find Record - Query database with filters
- Insert Record - Create new database entries
- Update Record - Modify existing records
- Delete Record - Remove database entries
- Validation Middleware - Validate input data
- Auth Middleware - Verify authentication
- Compute Node - Transform/process data
- Email Sender - Send emails via SMTP
- Background Job - Schedule delayed/recurring tasks
Orchestrix provides comprehensive debugging tools:
- See each step execute in real-time
- View input/output data for every node
- Track execution time per step
- Identify errors with stack traces
- Color-coded log levels (info, warn, error)
- Expandable data payloads
- Step-by-step replay
- Export logs as JSON
- Build the frontend:
cd frontend
npm run build
- Configure production environment variables
- Deploy backend (Motia runtime):
cd backend
npm run build
npm start
- Deploy frontend:
- Vercel (recommended for Next.js)
- Netlify
- Your own server
raw-screen-1766306832595.mp4
Watch the full demo showing:
- AI workflow generation
- Visual editing
- Real-time execution
- API deployment
โญ Star us on GitHub โ it helps!