Learn how to create a task that generates personalized travel itineraries based on weather conditions and tourist attractions for multiple locations
["New York", "London", "Paris"]
).
weather
integration to fetch current weather conditionsbrave
search integration to find tourist attractionsGet Weather Data
Understanding the use of the _ Variable in iteration steps
map
or a foreach
step, the _
variable is a reference to the current value in the iteration.For example:Search for Tourist Attractions
Combine Data
zip
function to align the dataGenerate Itineraries
Format Final Output
Complete Task YAML
["New York", "London", "Paris", "Tokyo", "Sydney"]
:
Example Output