Travel Planner
Plan trips end-to-end — flights, hotels, weather, activities, and a complete itinerary
🧂 Ingredients
🔌 APIs
flight_search_routes_prices_and_schedules
🔄 Alternatives:
hotel_search_availability_prices_reviews
🔄 Alternatives:
weather_forecast_for_travel_dates
🔄 Alternatives:
distances_directions_and_nearby_attractions
🔄 Alternatives:
discover_activities_restaurants_and_local_tips
🔄 Alternatives:
📋 Step-by-Step Build Guide
1. Input: destination, dates, number of travelers, budget, interests (adventure,
1. Input: destination, dates, number of travelers, budget, interests (adventure, culture, food, relaxation)
Input: destination, dates, number of travelers, budget, interests (adventure, culture, food, relaxation) Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully — retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
2. Search for flights: best prices, convenient times, direct vs connecting
2. Search for flights: best prices, convenient times, direct vs connecting
Search for flights: best prices, convenient times, direct vs connecting Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully — retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
3. Search for hotels: matching budget, well-rated, good location relative to act
3. Search for hotels: matching budget, well-rated, good location relative to activities
Search for hotels: matching budget, well-rated, good location relative to activities Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully — retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
4. Pull weather forecast for your travel dates at the destination
4. Pull weather forecast for your travel dates at the destination
Use the OpenWeatherMap API to fetch weather data for the user's location.
GET https://api.openweathermap.org/data/2.5/forecast?q={city}&appid={api_key}&units=imperial
Extract: current temperature, conditions, humidity, wind speed, and rain probability.
Format concisely: "72°F, Partly Cloudy, 45% humidity, 8mph wind, 10% rain"
If the API returns an error, retry once with a 2-second delay. If it fails again, use "Weather data unavailable" as a placeholder and continue with the remaining steps.5. Research activities and attractions: top things to do, local restaurants, hid
5. Research activities and attractions: top things to do, local restaurants, hidden gems
Research activities and attractions: top things to do, local restaurants, hidden gems Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully — retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
6. Build a day-by-day itinerary: morning/afternoon/evening activities, restauran
6. Build a day-by-day itinerary: morning/afternoon/evening activities, restaurant suggestions, travel between sites
Build a day-by-day itinerary: morning/afternoon/evening activities, restaurant suggestions, travel between sites Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully — retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
7. Estimate total trip cost: flights + hotel + activities + food + transport
7. Estimate total trip cost: flights + hotel + activities + food + transport
Estimate total trip cost: flights + hotel + activities + food + transport Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully — retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
8. Compile into a complete travel document with booking links, maps, packing sug
8. Compile into a complete travel document with booking links, maps, packing suggestions based on weather
Compile into a complete travel document with booking links, maps, packing suggestions based on weather Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully — retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
🤖 Example Agent Prompt
Input: destination, dates, number of travelers, budget, interests (adventure, culture, food, relaxation) Steps: 1. Validate all required inputs are available 2. Execute the operation described above 3. Verify the result meets expected output format 4. Handle errors gracefully — retry transient failures, log and alert on persistent ones 5. Return structured output with status and any relevant data If any required data is missing, request it from the user before proceeding.
Copy this prompt into your agent to get started.