Home › Notes › An AI build plan for a trip app
No coding needed: an AI build plan for turning your Notion trip planner into a phone app
Why I wrote this
A while ago I shared our little travel tool on Threads: you plan the trip in Notion, open it on your phone, and each day's stops show up on a map, joined into a route. Lots of people asked where they could get it.
We built it for our family and friends, so we can't open it to everyone (the earlier post tells how it came about). But we can share how to make one.
So this post doesn't give you an app. It gives you a build plan you can hand straight to an AI. With your own Notion and your own accounts, you ask the AI to build a version that's yours alone. Your data stays with you the whole time.
Is this for you?
Good fit if you:
- already plan trips in Notion
- can spend a weekend or two going back and forth with an AI
- are willing to paste error messages back to the AI when they show up
What you need (all have free plans):
- A Notion account
- A Cloudflare account to host the site. Personal use fits in the free tier
- An AI tool that can write code and edit files, such as Claude Code. A chat-only AI works too, but you'll be copying and pasting a lot of files yourself, which is much more work
- A phone, ideally the one you actually take on trips
What this isn't: you won't paste one message and get an app. The AI will make mistakes and miss things, and you'll need to keep telling it what feels off as you use it. That's how we did it too, over several rounds.
Step 1: Copy the Notion template
The app is just another way of opening your Notion, so first settle how things are laid out there. The quickest way is to copy the blank template we put together:
- Open the template with the button above.
- Click "Duplicate" in the top right, and the whole thing is copied into your own Notion.
- Rename the page to your trip's name, and delete the entries that start with "範例:" (that's "Example:").
The template has seven databases and a travel notes page, plus a few sample stops, one sample expense, and starter to-do and packing lists. It's written in Traditional Chinese, so feel free to rename the fields in your own language. What each database is for:
| Database | What it's for | Main fields |
|---|---|---|
| Days | One per day | Title (e.g. "Day 1 Kyoto"), date, tonight's stay (relation to Bookings) |
| Itinerary | One per stop | Name, day (relation to Days), order, time, category, transport, travel time, notes, map link, coordinates |
| Bookings | Flights, stays, car rentals, tickets | Name, type, status (option / chosen / booked), dates, amount, currency, confirmation code, address |
| Expenses | Splitting costs | Item, date, amount, currency, exchange rate, paid by, split between, split method |
| Exchange rates | Converting expenses | Currency, rate |
| Lists | To-dos, packing, shopping | Item, type, who's on it, done |
| Members | Who's coming | Name |
A few rules that worked well for us:
- Put transport on the next stop: how you get from A to B goes in B's "transport" and "travel time". That way every stop knows how you got there, and drawing the route is simple.
- For the map link, just paste the Google Maps share URL. No need to look up coordinates. The app will work out the location.
- Link every person field to Members: if a name changes, you only change it in one place.
Step 2: Hand the plan to the AI
Copy everything below into your AI. Replace the parts in square brackets with your own details.
I want to build a travel app just for me and my family and friends (a mobile web page that can be added to the home screen).
All trip data lives in my Notion. The app should not keep its own separate copy of the itinerary.
[About me]
- I [can / can't] code. Please explain what each step does in a way I can follow.
- I want to deploy on Cloudflare Pages, with plain HTML/CSS/JS on the front end and Pages Functions on the back end. Please avoid installing packages where you can.
- About [number] people will use it.
[Notion structure]
(paste the database table from Step 1)
[Features. Build them in stages, and after each stage let me try it on my phone before moving on]
1. Read and display: pick a trip, view one day at a time, sorted by "order". Between two stops, show the later stop's transport and travel time.
2. Daily map: put each of the day's stops on a map and connect them in order.
- Where to get each location, in this order: coordinates already filled in → parse the Google Maps link → search by name.
- If a location was found only by searching the name, mark it on screen as "may be inaccurate". If a stop has a link but no location can be read from it, leave it empty rather than guessing from the name.
- Write any coordinates you find back to the "coordinates" field in Notion so they don't need to be looked up again.
- Google Maps short share links can't be followed from the browser, so expand them on the server, and only allow Google Maps domains.
- Use free services that don't need an API key, and follow their usage rules.
3. Bookings: group by type, and show status and amount.
4. Splitting costs: support equal, by share, and by exact amount. Calculate in whole numbers (smallest currency unit) to avoid rounding errors, and finish with "who pays whom how much". If a record is incomplete or the amounts don't add up, don't guess: list it with the reason.
5. Adding and editing on the phone:
- Only send the fields that actually changed.
- Before sending, compare each field's original value with its current value in Notion. If they differ, show me both and let me decide. Never silently overwrite someone else's change.
- Deleting should only move the item to Notion's trash, so it can be restored.
6. Offline: with no connection, show the last synced content and when it was synced. No editing while offline.
[Security. These are must-haves]
- The Notion key must live only on the server (as a Cloudflare Secret). It must never appear in front-end code, URLs or error messages.
- The whole site must require sign-in. Recommend the simplest option I can set up myself, and show me how to let in only the people I choose.
- Keep the site out of search engines.
- Connect Notion only to the page that holds the trips, not the whole workspace.
[iPhone home screen notes]
Once added to the home screen, the top of the page sits under the clock and battery, and the keyboard pushes the page up when typing. Please handle the safe areas and the keyboard from the start, and remind me at each stage to test it added to the home screen on a real iPhone.
Please don't write any code yet. First list how you plan to do this and which accounts and settings I need to prepare. Start stage 1 only after I confirm.
Step 3: One thing at a time
The most common way this fails is asking the AI to do everything at once, and then not knowing where it broke. What we suggest:
- Stop once "open it on your phone and see today's plan" works. Add it to your home screen and carry it around for a day.
- Wherever it feels clumsy, ask the AI to change it. A lot of what we kept in the end came from using it ourselves and finding it awkward.
- The map and cost splitting take the most time, so leave them for later. If you won't use a feature, don't build it.
- After each stage, ask the AI to write a short cheat sheet on how to deploy and update, so you can pick it up again next time.
Safety: don't skip this
- Your Notion key is the key to your Notion. Don't give it to anyone, don't put it on a public site or in a code repository, and don't make your Notion page public just because it's easier.
- The site must have sign-in. Your itinerary has where you're staying, which days you're away from home, and confirmation codes. A stranger seeing that is no small thing.
- Only let your travel group use it. Every extra person is one more person who can see your plans.
Mistakes we made
- Searching by name finds the wrong place with the same name. On a trip around Hiroshima, one stop turned up in Nagoya, hundreds of kilometers away. That's where the "mark locations found only by name" rule comes from. The full story is in the daily map post.
- If a name in your own language finds nothing, try the local-language name or the address.
- Added to an iPhone home screen, the layout isn't the same as in the browser. You can't simulate it on a computer, so test on a real phone.
- Some Notion layouts can't be created automatically (for example, putting a database inside a collapsible heading). In the end you'll still need to open Notion and drag a few things yourself.
Finally
If you build your own with this, we'd love to see what yours looks like. Tell us on Threads.
If this post helped, the best way to support us is to give our beetle game a try🪲 It runs right in your phone's browser, no download needed: Beetle Arena