← Back to Directory
✈️

Travel Planner

Plan trips end-to-end — flights, hotels, weather, activities, and a complete itinerary

🤖 00 ↓  |  👤 00
advanced45 minutes🔄 13 swappable alternatives

🧂 Ingredients

🔌 APIs

flight_search_routes_prices_and_schedules

🔄 Alternatives:

Skyscanner Better price comparisonKiwi Multi-city/nomad routing

hotel_search_availability_prices_reviews

🔄 Alternatives:

Airbnb Better for unique/long staysHotels Com Rewards program integration

weather_forecast_for_travel_dates

🔄 Alternatives:

Weatherapi Better free tier, more dataVisual Crossing Historical data includedTomorrow Io Minute-by-minute forecasts

distances_directions_and_nearby_attractions

🔄 Alternatives:

Mapbox Better customization, developer-friendlyHere Good for logistics/routingOpenstreetmap Free, open data

discover_activities_restaurants_and_local_tips

🔄 Alternatives:

Serpapi Google results via API, structured dataGoogle Search Direct Google search APIBing Search Microsoft search with good API

📋 Step-by-Step Build Guide

STEP 1

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.
STEP 2

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.
STEP 3

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.
STEP 4

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.
STEP 5

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.
STEP 6

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.
STEP 7

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.
STEP 8

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.

✈️ Travel Planner — PincerAPI Cookbook