Skip to content
← All insights

Prompting6 min read

How to write an AI mobile app prompt, with a booking app example

Turn a vague booking-app idea into a precise first build, then diagnose a bad result without regenerating the whole project.

Three physical storyboard cards connected by red thread on a dark worktable.

A useful prompt names a user, a decision, the sample data, and an observable result. Keep later revisions smaller than the first request.

“Build me an appointment app” sounds specific until the first screen appears. Is the person looking for a stylist, choosing a time, or checking in for an appointment that already exists? The same prompt could reasonably produce all three. Before opening the assistant, choose the decision that matters. This example follows a returning client who already knows the salon and wants a haircut on Saturday.

Give the example a beginning and an end

Write down two Saturday slots, 10:00 with Alex and 11:30 with Kim. Make the outcome a review screen that repeats the chosen time and stylist. Give the tester an instruction: “Choose Kim at 11:30 and tell me what would be booked.” That one line exposes more than “does the app look professional?” It tests the label, the selection, the transition and the destination.

Now state where the example stops. The review screen uses demonstration data. A real booking would have to reserve a slot on a server, handle another customer claiming it first, and return a confirmation. A polished checkmark is insufficient evidence that any of that happened. Write “Review appointment” on the final action until a real booking exists.

Use a first prompt small enough to inspect

Try this in Sanic AI: “Build a two-screen salon appointment flow in the current project. A returning customer chooses between Saturday at 10:00 with Alex and 11:30 with Kim. Show the selected slot clearly. The Review appointment button opens a second screen that repeats that stylist and time. Keep the current theme. Use sample data; a booking is never sent.”

Every sentence changes what you can observe. Two screens give you a boundary. Two named slots let you catch a stale selection. Preserving the theme gives later edits a stable reference. If you have a real image, add it to the project and name it in the request. “Use our uploaded salon photo” is much easier to evaluate than “make it luxurious”.

Turn the brief into a lookup you can check

Before submitting the request, write the two expected results at the top of your notes. Choosing Alex should produce “Saturday, 10:00 am, Alex”. Choosing Kim should produce “Saturday, 11:30 am, Kim”. Now read each noun in the prompt. If you refer to a “booking” in one sentence and a “visit” in the next, decide whether they mean the same thing. Pick one term for the UI so the next person can match your brief to the screen. If your shop uses a different clock format, put an example of that format in both expected results.

Sanic AI composer contains a two-slot haircut example for Alex and Kim and asks the review screen to repeat the selected stylist and time.

The product screenshot shows a shorter draft entered in Sanic AI. Its two named choices fit in the composer together with the condition about sending a booking. Keep the names and times together when you adapt it. A list of names followed by a separate list of times leaves the pairing open to interpretation. A sentence for each option also makes it easy to change one example for the next run without accidentally changing the other.

Separate three kinds of correction

If the wrong thing was built, describe the discrepancy. “Selecting Kim still shows Alex on Review. Use the selected slot for both fields.” If the right thing exists but is hard to understand, ask for a precise design change. “Put the stylist and time together in the selected row; keep the action beneath the list.” If the issue is one awkward word or a small alignment error, use the visual editor and compare the result immediately.

Avoid combining all three into “make it better”. After a broad revision you may have a prettier screen while the original bug survives. When you request a change, also name a behaviour that must stay: “Back must return me to the list with Kim still selected.” The navigation guide explains how to inspect page destinations yourself.

Compare the two screenshots from a worked Appsanic prototype using the same sample appointments. Read the second one as if someone had sent it to you on its own. It says Saturday, 11:30 am and Kim, labels the appointment as a sample and gives the client a way to choose another time. A generic “Looks good!” would leave them relying on their memory of the first screen.

To diagnose a mismatch, write down the first point at which the displayed information changes. If you choose Kim but see Alex immediately on Review, your next request should name the chosen row and the receiving fields. If Kim appears correctly and changes only after you go back and select Alex, describe that order of taps. It identifies a problem with changing a previous choice. Include the expected value after each tap. The person checking the fix can then reproduce two short journeys without inventing test data or making a real reservation.

Give the second run harder data

Change one stylist to a much longer display name. Give both slots the same time on different days. Then remove the selected slot in your test scenario. Each variation asks a different question. Can the row grow? Does the review identify the correct date? What will someone do when availability changes? These cases are cheaper to discuss while the app still uses samples.

Finish with a short test record. Record the exact prompt, which sample you selected, the result you expected, and what appeared. If a colleague can reproduce the first failure without asking you to explain it, you have enough evidence for the next edit. If both people complete the correct sample booking twice, you have earned the next prompt: decide how an actual reservation is created and confirmed.

Write the prompt for the person who skips a step

The two sample bookings show what should happen after someone picks a slot. What happens if they open the screen and immediately tap Review appointment? If the review shows Alex, the app has made a choice on their behalf. Decide whether the salon wants to suggest a slot or require an explicit choice. That decision belongs in the next prompt because the first brief leaves both readings open.

For an explicit choice, try this wording. “On a fresh visit, leave both slots unselected. Show ‘Choose a time to continue’ beside Review appointment. Keep me on this screen until I select a slot. After I pick Kim, Review should show Kim.” The nearby explanation matters because a button that appears unresponsive can look broken. For a suggested appointment, ask for the suggested row to be visibly selected and name it on Review.

Start a fresh preview for the first test. Then select Alex, switch to Kim and open Review once. A correct result shows only the choice you just made. If the first test passes and the second fails, narrow the follow-up prompt to changing a selection. The guide to empty and success states shows how to give each outcome its own message.

Read the Sanic AI guide

Published

Analytics cookies

With your OK, we use Google Analytics to count visits and see which pages people find useful. It sets cookies and sends Google details of your visit, such as the pages you open. Nothing loads unless you accept. Cookie Policy