- Actions — the individual steps Rey runs (save a row, navigate, show an alert, and so on).
- Rules — optional conditional if/then/else branches that decide when actions run.
How logic works
Select a component and open the Logic tab in the property toolbar above it to build its behavior. Every logic flow has:- A trigger — the event that starts it (a button tap, a screen opening, a form submit).
- One or more actions — the steps that run in response.
- Optional rules — conditions that gate whether actions run.
Triggers
A trigger is the event that fires your actions. Select a component and open the Logic tab in its property toolbar to choose from the available triggers for that component type:When tapped
Screen load
Form submit
Action types
After choosing a trigger, pick an action from the dropdown. You can chain multiple actions together to build multi-step flows.Play audio — play a sound or track
Play audio — play a sound or track
audio field on the current entry — for example, playing the track a user tapped in a playlist.Show paywall — prompt the user to subscribe
Show paywall — prompt the user to subscribe
Show flash message — display a toast
Show flash message — display a toast
"Saved successfully", "Link copied", or "Please fill in all required fields".The message supports dynamic text — bind it to a data value if needed.Open link — launch an external URL
Open link — launch an external URL
website_url field value from the current entry.Use this for linking to external websites, downloadable files, or deep links into other apps.Set user variable — store a value for the current user
Set user variable — store a value for the current user
Show review prompt — ask the user to rate your app
Show review prompt — ask the user to rate your app
Show notifications prompt — request push permission
Show notifications prompt — request push permission
Applying rules
Rules let you wrap your actions in conditional if/then/else logic so they only run when certain criteria are met.Open Apply rules
Define the If condition
Set the Then branch
Set the Else branch (optional)
Add more branches (optional)
Chaining multiple actions
A single trigger can run as many actions as you need — they execute in order from top to bottom. To chain actions:- Add your first action and configure it.
- Click + Add action below it to add the next step.
- Drag actions up or down by their handle to reorder them.
- Continue adding actions until the sequence is complete.
Example: a “Start free trial” button
Here’s a complete, real-world flow that gates a premium screen behind a paywall and confirms the outcome — illustrating triggers, chained actions, and rules working together.Set the trigger
Action 1 — Show the paywall
Action 2 — Confirm with a flash message
"You're in! Welcome to Pro." This reassures the user after a successful purchase.Action 3 — Go to the Pro home screen