← Back to Blog
FlowsLogicTutorialGuide
What Are Flows?
Flows are Codular's visual logic system. Instead of writing code, you connect nodes in a graph to define what happens when users interact with your app.
Key Concepts
- Event (Start) - every flow begins with an event trigger
- Nodes - action blocks that do something (navigate, set variable, show alert)
- Edges - connections between nodes that define execution order
- Variables - data that flows can read and modify
Flow Node Categories
Trigger
Actions
Logic
Data
Storage
Cloud Database
Auth
Payments
Building Your First Flow
Example: Todo App
- Add Item Flow:
Event (AddButton.onPress) → Set Variable (todoList, append from inputText) → Set Variable (inputText, clear) → Show Toast ("Added!")
- Delete Item Flow:
Event (List.onItemPress) → Show Alert ("Delete?") → Set Variable (todoList, remove item)
- Save Flow:
Event (after add/delete) → Save to Storage ("todos", todoList)
- Load Flow:
Event (Screen.onLoad) → Load from Storage ("todos", todoList)
Connecting on Mobile
On mobile, use the Connections panel in node properties:
- Tap a node to select it
- Scroll to "Connections" section
- Use the dropdown to connect to another node
- Tap the unlink icon to remove connections
Pro Tips
- Keep flows short and focused - one flow per action
- Name your flows descriptively (e.g. "Add Todo Item")
- Use variables to pass data between screens
- Test flows in Preview before building
- Use Console Log nodes to debug
Start building at mobcraft.in.
C
Codular Team
Building the future of no-code app development