Skip to main content

Overview

The AI Assistant turns a plain English prompt into real, editable screens. This guide picks up after your first generated screen and covers the three things you do next: wording a prompt so you get the structure you actually want, asking for a multi screen flow in one go, and refining an existing screen with a follow up prompt. By the end you will have generated a three screen onboarding flow with real navigation between the screens, checked that wiring yourself, and made a follow up edit to a screen that already had content on it. Prerequisites
  • A NativeFlow Studio account, signed in, with a project open.
  • One screen already generated, so you have something to iterate on. Creating a project and prompting the very first screen is covered in the Quickstart.
Everything happens in the Ask AI… box in the AI Assistant panel. There is nothing new to open.
A brand new project’s page content, including anything the AI has just built, does not reliably survive a page reload. Keep working in the same browser tab and do not reload a freshly created project if you need the generated screens to stay.

All four prompts below, run back to back in one continuous session: the vague prompt, the specific prompt, the 3-screen onboarding flow, and the follow-up + Undo.

The recording above is a real, unscripted session — it runs at automation speed with no narration, and every prompt in it is the exact text shown below.

Prompt for one screen

1

Send a vague prompt to get a fast first draft

The AI Assistant acts on a one line prompt. It does not wait for detail. It fills in whatever you leave out.
That prompt, with no component names, no layout and no content, produced a complete screen on its own initiative: a heading and subtitle, an ACCOUNT section built from the built in List component template with three rows of icon, label, description and chevron, a PREFERENCES section with two Switch rows for Push Notifications and Dark Mode, a MORE section with a second List of two rows, and an outlined red Log Out button. None of that was asked for by name. The AI chose the structure and then explained its choices in the chat.
Settings screen generated from a one line prompt

The canvas after the prompt Build a settings screen, showing Account, Preferences and More sections plus a Log Out button, none of which were requested

Use this when you want a plausible screen quickly and you are happy to edit it afterwards.
2

Send a specific prompt to get exactly what you described

Name the component types, the exact labels, the exact count and the layout. The result matches the spec instead of improvising one.
The result had exactly three Switch rows with exactly those three labels, a one line description under each, and a Save Changes button pinned to the bottom using a flexible spacer. No extra sections and no invented content. The component tree showed three Column > Row(Text, Switch), Text groups and nothing more.
Screen generated from a fully specified prompt

The Notification Preferences screen with three named Switch rows, a description under each, and a Save Changes button pinned to the bottom

Say Build a new page called ’…’ when you want a separate page. That wording is what made the second prompt above land as a new page rather than an edit to the open one. To edit instead, reference “this screen” or just describe the change.

Generate a multi screen flow

One prompt can create several screens and wire real navigation between them.
1

Describe every screen and the navigation in one prompt

While it runs, the AI Assistant’s step log shows the build happening: Creating screen 'Welcome', Creating screen 'Permissions', Creating screen 'Sign Up', then one Building component tree step per screen, several Setting component events steps that wire the button actions, and Switching to screen <id> steps in between.
2

Confirm the new pages exist

Open the Pages panel. The three screens are genuinely new, separate pages in the project, not sections of one screen. In the verified run the project went from 2 pages to 5.
Pages panel showing five pages

The Pages panel listing five pages after the flow prompt: Settings, Notification Preferences, Welcome, Permissions and Sign Up

3

Check the navigation wiring yourself

Select a button, open Properties > Actions, and look at the On Tap row.
  • Welcome’s Get Started button showed 1 action, a Navigate To.
  • Permissions’ Continue button showed the same, 1 action, a Navigate To.
  • Sign Up’s Create Account button showed no action at all. The touch event rows were empty, with only a + to add one.
Actions tab showing a Navigate To action

The Actions tab for Welcome's Get Started button, showing one real Navigate To action under On Tap

Actions tab with no action attached

The Actions tab for Sign Up's Create Account button, with no action attached under On Tap

The gap on Create Account was not a surprise. The AI’s own chat reply flagged that button as “not yet wired” and offered to connect it to an API call and a destination screen. Inspecting the real component data confirmed every part of that self report was accurate.
A finished generation is not proof that everything was wired. The step log for this same three screen build read “12 steps, 2 failed”, with the failures in the Setting component events steps, even though the result delivered two working navigations and one clearly flagged gap.Read the AI’s own summary for anything it says it skipped, and open the Actions tab on the buttons where navigation matters. Do not treat the screen count alone as a pass.
A Navigate To wired by the AI is an ordinary action attached to the button’s On Tap event. It is the same mechanism you get when you add an action by hand, so you can inspect and edit it exactly like any other.

Iterate with follow up prompts

1

Send a change against the screen that is open

On the already built Notification Preferences page:
This modified the existing screen in place. It did not create a new page and it did not replace the screen. The Save Changes button’s Action style changed from Primary blue to what the AI called the Positive or green action style, and a new Marketing Emails row appeared with the same structure as its neighbours: a label, a description and a Switch. The component tree showed it as a new sibling Column alongside the three that were already there.
Screen modified in place by a follow up prompt

The Notification Preferences screen after the follow up: the Save Changes button is green and a Marketing Emails row has been added

2

Check where the new element actually landed

The new Marketing Emails row was appended as the last child of the page’s top level Column, after the flexible spacer and the Save Changes button. It was not inserted directly below SMS Alerts as the prompt implied. Because the button is pinned to the bottom by that spacer, the new row rendered below the button instead of above it.The AI got the content and the style of the new row right. It did not get the insertion position right relative to a component that was already pinned elsewhere in the layout. Give the canvas a visual check after any follow up that asks for something “below” or “above” a specific element.
3

Undo one step at a time

Click Undo last AI action once after that follow up and you get a partial revert:
  • The Marketing Emails row was removed completely. The component tree went back to ending at the Save Changes Button.
  • The Save Changes button stayed green. It was not reverted to Primary.
  • The chat transcript was not rolled back. The AI’s message describing both changes, and its suggested follow up chips, stayed visible and now described a state the canvas no longer matched.
Component tree after undoing one AI action

The component tree after one click of Undo last AI action: the Marketing Emails row is gone but the Save Changes button is still green

Undo last AI action undoes one edit step, not one chat turn. That follow up prompt ran as four discrete steps, and one click took back only the most recent one.If a prompt made more than one change, one click of Undo may take back only part of it. Check the canvas and the component tree rather than the chat log, because the chat will keep narrating changes that are already gone.

Next steps

Add and configure components

Place and configure components by hand once the AI has laid out the screen.

Page configuration

Set up each generated page’s header, variables and lifecycle actions.

Fine tune the UI

Reparent nodes, add conditional styling and control visibility per platform.

Action reference

The full catalog of actions you can attach to a button or a page event.