A drag-and-drop builder for automation rules, built with Next.js, React and Motion.
- Canvas: pan, zoom and drag steps around; connectors re-route as you move them.
- Steps: continue a path with +, split a condition into role-based paths, limit any step to certain roles, and give each step an ordered list of actions.
- Apps: drag Slack, Asana, Mailchimp, Zapier or Spotify onto the canvas to create a step, or onto a step's Add action box to add it there.
- Safe edits: every change can be undone, and deletes that would break the flow are refused with a reason.
- Motion: cards, connectors, the panel and menus animate in and out, and reduced-motion settings are respected.
- Keyboard: every control is reachable without a mouse.
You'll need Node.js 20.9 or later.
npm install
npm run devThen open http://localhost:3000.
| Command | What it does |
|---|---|
npm run dev |
Start the dev server |
npm run build |
Build for production |
npm run start |
Serve the production build |
npm run lint |
Lint with ESLint |
npm run format |
Format with Prettier |
npm run format:check |
Check formatting without changing |
| Keys | Action |
|---|---|
| V / H | Select tool / pan tool |
| Hold Space | Pan while held |
| Arrow keys | Nudge the selected step (with Shift: more) |
| Delete | Delete the selected step |
| Ctrl Z | Undo |
| Ctrl Shift Z | Redo |
| Ctrl + scroll | Zoom |
On macOS, use ⌘ in place of Ctrl.
app/ Layout, page, and global styles and design tokens
lib/flow/ The automation model: types, catalogue, geometry and edits
components/
automation-builder.tsx The Automations screen
builder/ Editor state, app dragging and shared step visuals
canvas/ Canvas, pan and zoom, step cards, connectors and toolbar
panel/ The properties panel, one file per section
shell/ Sidebar and top bar
ui/ Dropdown menu
icons/ Phosphor icons at the design's sizes, plus a few original glyphs
The model in lib/flow is plain data and pure functions with no React. Every edit returns a new document, so undo and redo are just a history of snapshots.
This is a front-end prototype. Changes live in the browser and reset on reload. Only the Automations screen is built, and these are placeholders for now: the other navigation items, Ask AI, Invite, notifications, New project, the account menu, the ⋯ on each step and the Learn more links.
Next.js, React, TypeScript, Tailwind CSS, Motion, Phosphor Icons and the Figtree typeface. All interface icons are Phosphor (MIT) or drawn for this project. Logos for linked apps load from Dashboard Icons and belong to their respective owners.
