I wouldn’t use “random” activities here but instead have chatgpt select activities from a list based on inputs from the user… (be a little extra selling point too)
I’ve done something similar (although much more involved) for a contracting company recently.
the best way to do it would be to break it into stages:
- determine the city
- determine the days
- determine how many activities per day
- create a thing for each activity (ie a timeline)
- create the hotel timelines before and after - account for drive times etc if needed (use google api)
data structure something like this:
contact - name, phone, email
hotel - name, address
booking - city, contact, date, list of timelines (possibly - or could be better on a new datatype for holding heavier data)
cities - name, address
activities - city, name, price
timelines - name, activity, hotel, booking
1 Like