Skip to contentTalk to us
Prompting

How to write prompts that build better apps (with 14 examples)

A practical guide to writing prompts that build real apps with AI: a five-part prompt structure, common mistakes, and 14 copy-ready example prompts.

Fanann Team10 min read
WhatsApp
Quick answer

A good app-building prompt covers five things: who the user is, the core job the app does, what data it stores, the rules and constraints (language, payments, sign-in), and how you will know it works. Start with a small, clear first version, then improve it with short follow-up prompts that each change one thing.

People look for this as
  • how to write prompts to build an app
  • prompt examples for ai app builders
  • prompt engineering for apps
  • how to describe an app idea to ai

Why the prompt makes all the difference

When you tell the Fanann Agent "I want an app for my restaurant," it understands the general idea but has to guess everything else. Pickup or delivery? Online payment or cash? Does staff need a dashboard to manage orders? Each guess may be right or wrong, and every wrong guess costs you another round of edits.

The agent doesn't just write code. It plans, designs the database, builds screens, tests them and deploys. That means the prompt you write is effectively a short requirements document. The clearer it is, the sharper the plan and the fewer the surprises. If you want to understand what happens behind the scenes, read our explainer on AI agents.

AI doesn't read your mind. It reads what you wrote. So write down what's in your head.

The good news: you don't need to be a programmer to write an excellent prompt. You need to know your business, and nobody knows it better than you. This guide turns that knowledge into prompts the agent understands the first time.

Anatomy of a good prompt: five elements

Most weak prompts describe how an app should look and forget what it should do. Use these five elements as a checklist before sending any prompt for a new app:

ElementWhy it mattersShort example
UserSets the tone and the level of complexityCustomers of a women's salon in Riyadh, mostly on mobile
Core jobPrevents the app from bloating with side featuresBook an appointment in under a minute
DataThe agent designs the database from itService, stylist, date, time, phone number, status
Rules and constraintsPrevents results that don't fit the marketArabic-first, RTL, pay with mada and Apple Pay, OTP sign-in
Success criteriaGives the agent a way to test its own workThe same stylist can never be double-booked

Notice that the third element, data, is the most neglected and the most important. When you name the fields clearly, the agent builds a sound data schema from day one, and later changes become much easier.

From idea to first prompt: a practical method

  1. 1
    Write the user story

    Describe one person's journey from opening the app to finishing the job, in five to seven plain-language steps.

  2. 2
    Pull the data out of the story

    Every noun in the story (customer, order, product, appointment) is probably a table. Every attribute (price, status, date) is probably a field.

  3. 3
    Define the roles

    Who sees what? Customer, staff, manager. Write one line of permissions per role.

  4. 4
    Add local constraints

    Language and direction, currency, payment methods, phone-number sign-in, and any WhatsApp or SMS notifications.

  5. 5
    Ask for a small first version

    Explicitly request a "first version" with the core features only, and leave extras for later prompts.

Quick example: from story to prompt

Say you run a small dental clinic. The user story might be: a patient opens the link from WhatsApp, picks a visit type (checkup, cleaning, follow-up), sees the doctor's available times, enters their name and phone number, receives a verification code, then gets a confirmation and a reminder the day before. From that story alone we extracted three tables (patients, doctors, appointments), two roles (patient, receptionist), two local constraints (Saudi phone number with OTP, Arabic interface) and a clear success rule (no booking into a taken slot). All that is left is to write it up as one tidy paragraph.

Notice we never mentioned anything technical: no programming language, no database type, no library names. Those are decisions for the agent, and you can review them later because the code is fully yours. Your role is to be the business owner who knows exactly what they want, not to turn into a developer. For more on clinic apps specifically, see the clinics page.

These steps usually take ten minutes and save hours of rework. If you are building your first MVP, also read our 7-day idea-to-MVP sprint plan.

Copy-ready examples: stores and bookings

Copy any of these prompts as-is, then edit the details in square brackets to match your business.

1. Online abaya store

Build an online store selling abayas called [store name]. The interface is Arabic-first and RTL, with an English option. Products have: name, photos, price in SAR, sizes (S to XXL), colors, and stock quantity. I need a cart, payment with mada and Apple Pay, and a buy-now-pay-later option with Tabby. Sign-in with phone number and OTP. An owner dashboard to add products and track orders by status (new, preparing, shipped, delivered). Start with a first version without coupons.

Try it in Fanann
2. Digital products store

Create a store selling digital courses and files [templates, e-books]. After a successful payment, the customer gets a download link in their account and by email. Each product has a description, image, price and file. I want a My Purchases page for customers and a simple daily sales report for the owner. Payment with mada and Apple Pay. Never allow a download before payment is confirmed.

Try it in Fanann
3. Salon appointment booking

Build a booking app for [salon name] in [city]. The customer picks a service, then a stylist, then an available day and time. Each service has a different duration set by the owner. The same stylist can never have overlapping appointments. Send a confirmation message and a reminder two hours before the appointment. An owner dashboard shows today's schedule per stylist, with the ability to cancel or move an appointment. The interface is fully Arabic.

Try it in Fanann
4. Sports pitch booking

I want an app for booking five-a-side football pitches in [district]. Bookings are hourly, and prices differ for mornings, evenings and weekends. Prepayment is required via mada or Apple Pay. Show available slots as a weekly grid. Add a cancellation policy: full refund up to 24 hours before, no refund after. A manager dashboard shows daily occupancy and revenue.

Try it in Fanann

Copy-ready examples: restaurants and delivery

5. QR menu and table ordering

Build a digital menu for [restaurant name] that opens from a QR code on each table. Guests see items grouped by category with photos, prices and calories. They can add notes (no onions, extra spicy). Orders go straight to a kitchen screen with the table number. The kitchen screen lists orders in sequence, and each can be marked Ready. Arabic and English.

Try it in Fanann
6. Café pickup ordering

Create a pre-order app for [café name] with two branches. The customer picks a branch, drink, size and milk type, pays online, and gets an estimated pickup time. Add a simple loyalty program: every 10 drinks earns a free one. A barista screen shows new orders for each branch separately.

Try it in Fanann
7. Neighborhood grocery delivery

Build a delivery app for [grocery name]. Customers browse products, add them to a cart, pin their location on a map and choose a preferred delivery time. Minimum order is [amount]. Pay online or cash on delivery. Drivers get a simple screen with their assigned orders and a button to update status (on the way, delivered). Customers see their order status in real time.

Try it in Fanann
8. Delivery driver management

I want an internal tool for a small delivery company. A supervisor enters orders (address, customer phone, cash-on-delivery amount) and assigns them to drivers. Each driver signs in with their phone number and sees only today's orders. At the end of the day, a report per driver shows delivered orders and cash collected. Drivers never see each other's orders.

Try it in Fanann

If you're in food and beverage, you'll find more ideas in our guide to AI for restaurants and cafés and on the restaurants solutions page.

Copy-ready examples: internal tools and education

9. Leave request system

Build an internal leave-request tool for a company of [number] employees. An employee submits a request (type, from date, to date, note). Their direct manager approves or rejects with a reason. Each employee sees their remaining balance. HR gets a monthly report that can be exported. Three roles: employee, manager, HR, and each role sees only what it needs.

Try it in Fanann
10. Multi-branch inventory

Create a simple inventory system for three branches. Each item has a name, code, quantity per branch and a reorder threshold. When stock falls below the threshold, an alert appears on the manager dashboard. Staff can record transfers between branches, with a log of who moved what and when. A simple Arabic interface that works well on mobile, because staff use it inside the warehouse.

Try it in Fanann
11. Short-course platform

Build a learning platform for [subject] courses in Arabic. Each course has video lessons, text, attachments and a short quiz at the end. Students see their progress as a percentage. Passing the quiz at [70%] generates a PDF certificate with their name. Payment is per course. Instructors get a dashboard to add lessons and track enrollments.

Try it in Fanann
12. Quran memorization tracker

I want an app to track students in a Quran memorization circle. Each day the teacher records for each student: the portion memorized, revision, and a rating (excellent, good, needs review). Parents sign in with their phone number and see only their own child's progress, with a weekly chart. The app sends parents a weekly summary. Arabic interface with a clear, readable font.

Try it in Fanann

Follow-up prompts: improving the app after version one

The first version is a starting point, not the finish line. The secret to the next stage is making every follow-up prompt specific, testable and focused on one change. Compare the two styles:

Vague follow-ups
  • Improve the design
  • Payment isn't working well
  • Add more features for the manager
  • Make it look professional
Clear follow-ups
  • Make cart buttons larger on mobile and pin the checkout button to the bottom of the screen
  • When a payment fails, show a clear Arabic message and keep the items in the cart
  • Add a filter to the manager's orders list by status and date
  • Use only two colors from our logo and one Arabic font across all screens
13. Follow-up to fix a bug

When I book an appointment on mobile and go back to the home page, the booking doesn't appear under My Appointments until I refresh. It should appear immediately. Fix this and test the same scenario on mobile.

Try it in Fanann
14. Follow-up to add a feature

Add discount coupons to the store: the owner creates a coupon (code, percentage or fixed amount, expiry date, usage limit). The coupon is applied on the checkout page and the discount is shown before confirmation. Don't change anything else on the checkout page.

Try it in Fanann

Common mistakes and how to avoid them

  • Forgetting roles: If you don't say who sees what, everyone may see everything. Spell out permissions.
  • Describing only the look: "Modern and elegant" carries no information. State the job first, then the visual identity (colors, font, logo).
  • Ignoring the local market: Mention currency, payment methods, RTL and phone-number format. See our local payments guide for what to ask for.
  • Changing direction in every message: A long conversation has a limited context. If the idea changes fundamentally, start a fresh prompt that summarizes the current state.
  • Not testing it yourself: Use the app as a real customer on your own phone before any launch. You'll catch things no automated test will notice.

Prompting is a skill that improves with practice. After two or three apps, you'll find yourself naturally writing what the agent needs. For ready-made starting points, browse the templates library.

Key takeaways

  • Describe the user and the job before you describe screens and colors.
  • Name the data explicitly: which fields the app stores and who can see them.
  • State local constraints up front: Arabic and RTL, payment methods, phone (OTP) sign-in.
  • Ask for a small first version, then add features through follow-ups, one change at a time.
  • Test with a real scenario and report issues the way a user would, not the way a developer would.

Frequently asked questions

Should I write prompts in Arabic or English?
Write in whichever language you think most clearly in. Fanann understands both Arabic and English; clarity of detail matters far more than the language. Just state the app's interface language explicitly.
How long should my first prompt be?
Around 80 to 200 words is usually enough for a good first version. Much shorter forces the agent to guess; much longer usually means you're asking for more than a first version.
What if I don't like the first result?
Don't start over right away. Pin down exactly what you don't like and write a follow-up that changes one thing. If the idea itself has changed, start a new prompt that summarizes the updated requirements.
Do I need to mention technical details like the database type?
No. Describe your data in business language (customer, order, appointment) and let the agent pick the right technology. You can always review the full code later, because it's yours.
Can I reuse the same prompt for another app?
Yes. The examples in this guide are designed as templates. Swap the user, data and constraints, and keep the structure.

Ask your AI assistant about this

Copy this prompt into the AI assistant you use, then add the details of your own case.

I am reading this guide: “How to write prompts that build better apps (with 14 examples)” https://fanann.com/en/blog/prompting-apps/ My question: how to write prompts to build an app Use that page as a source and explain the answer step by step for my situation, tell me what to check before I start, and cite the page link.

Terms in this article

Your idea deserves to see the light.

Describe it in Arabic or English and Fanann builds, tests and ships it — no coding knowledge needed. Start free, no credit card.