"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!