Flows
Flows are visual, node-based workflows that power the backend logic of your Lux applications.
What are Flows?
Flows let you build automation and data processing pipelines without writing code. Connect nodes together to define how data moves through your application.
Key Concepts
Nodes
Individual units of work. Each node performs a specific action like fetching data, making API calls, or sending messages.
Edges
Connections between nodes that define the flow of data.
Variables
Data that flows between nodes. Variables are passed from one node to the next.
Triggers
Special nodes that start a flow. A flow can be triggered by webhooks, schedules, interface events, or manual execution.
Flow Builder
The visual Flow Builder lets you:
- Drag & Drop - Add nodes from the palette
- Connect - Draw edges between nodes
- Configure - Set node parameters
- Test - Run flows with test data
- Debug - View execution logs
Node Categories
| Category | Description |
|---|---|
| Triggers | Start flow execution |
| Data Operations | Fetch, update, insert data |
| Transform | Modify and process data |
| Control Flow | Branching, loops, conditions |
| Actions | Send emails, SMS, Slack messages |
| Error Handling | Handle and throw errors |
Flow Lifecycle
Draft vs Published
- Draft - Work in progress, saved locally
- Published - Live version running in production
Sync Status
| Status | Meaning |
|---|---|
draft | Never published, local only |
synced | Matches published version |
dirty | Has local changes since publish |
conflict | Local changes + cloud has newer version |
Example Flow
Webhook Trigger
↓
Fetch Data (from Tables)
↓
AI Transform (process with Claude)
↓
If (check condition)
├── Yes → Send Email
└── No → Update Data
↓
RespondGetting Started
- Create a new flow in Lux Studio
- Add a trigger node to start
- Connect action nodes
- Test with sample data
- Publish to production
Next: Node Types →