Complete Guide to Flows - Visual Logic Builder

Build app logic visually

10 min read
← 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
NodeDescription
Event (Start)Every flow starts here

Actions
NodeDescription
Navigate to ScreenGo to another screen
Set VariableStore/update a value
Show AlertPopup dialog
Show ToastBrief message
API CallFetch data from web
Delay / WaitPause before continuing
ShareOpen share dialog
Open URLOpen in browser
Copy to ClipboardCopy text
VibrateHaptic feedback

Logic
NodeDescription
If / ElseBranch on condition
LoopRepeat actions
SwitchMulti-way branch

Data
NodeDescription
Get VariableRead a value
Transform DataMap, filter, sort arrays
Console LogDebug output

Storage
NodeDescription
Save to StoragePersist data on device
Load from StorageRetrieve saved data
Remove from StorageDelete saved data

Cloud Database
NodeDescription
Read from DatabaseFetch rows (Supabase/Firebase)
Insert into DatabaseAdd new row
Update in DatabaseModify existing rows
Delete from DatabaseRemove rows

Auth
NodeDescription
Sign InLogin user
Sign UpCreate account
Sign OutLogout
Get Current UserGet user info

Payments
NodeDescription
Initiate PaymentStart Razorpay/Stripe/PayPal
Verify PaymentConfirm with server
Purchase ProductGoogle Play purchase
Check SubscriptionCheck if active

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

Build Your App Now

No coding required. AI-powered. Free to start.

Get Started Free