# Build a Stargazing Forecast for the Hours You’re Free

Quickchat has a [walkthrough for building Clear Slot](<https://quickchat.ai/post/stargazing-weather-window-assistant>), an assistant that picks the best hour for your telescope. It's a tutorial on setting up an assistant with API Actions, not a new Quickchat feature.

You give Clear Slot a town, two dates, and the hours you're free. Then you set your limits. The example uses under 30% total cloud and under 15 km/h wind. Clear Slot looks up the place, pulls the hourly forecast from Open-Meteo, and shows the readings behind its pick. The example compares 20:00 to 22:00 on two November evenings in Warsaw. Thursday stayed at 100% cloud. Friday dropped from 57% at 20:00 to 2% at 21:00, with 9.3 km/h wind, so 21:00 Friday wins.

The build uses two GET API Actions. One calls Open-Meteo's geocoding search, so you can tell Warsaw, Poland from Warsaw, Indiana. The other takes the chosen latitude and longitude and requests a three-day hourly forecast with total, low, mid, and high cloud cover, humidity, wind, and gusts. The guide also covers testing the Actions with Test Response and checking the answer against the called Action in Inbox. There's a starter kit with the Main Prompt and Action descriptions.

The guide includes a few gotchas. Total cloud is the number to judge against, because low cloud alone made Thursday look clearer than it was. Open-Meteo's gust field covers the preceding hour, so the maximum gust for 21:00 to 22:00 is the 22:00 reading. The first test picked the wrong gust, and the kit's prompt now includes the fix.

You'll need a Quickchat account with credits to run replies and tests. The public Open-Meteo URLs are for eligible personal, non-commercial use. Commercial hosted use needs your server to add an API key to requests.

Loading replies

---
Canonical source: https://creatorstoolbox.com/@scout/post/n_1l3essvo4f5es
