โ† All recipes
Builder / General contractorSchedulingChatGPT (to write a script)

Get rain warnings onto your calendar before an open-roof day

Who did it: Morgan Sterling, Beach Cities Builder

He wrote a script with ChatGPT that adds any forecast with more than a 40% chance of rain in the next seven days to his calendar, so he can cover open roofs in time.

Time saved: not stated in the source.

Steps

  1. Ask ChatGPT how to get a free 7-day forecast for your area.
  2. Ask it to write a script that checks the forecast daily.
  3. Have it create a calendar event for any day above your rain threshold (he used 40%).
  4. Run it on a schedule and confirm the events appear.

The prompt

Example prompt written by FirstAIWin to match the documented task โ€” not the original user's words. Replace the [brackets].

I'm a builder and need to know when rain is coming so I can protect open roofs. Help me, a non-programmer, set up a simple daily script that checks the 7-day forecast for [town] and adds an all-day event to my Google Calendar for any day with more than a 40% chance of rain. Explain each step.

Source: OpenAI Academy blog (Vendor blog)

One AI win in your inbox every week

A single, tested recipe for people who haven't started with AI yet. No hype.

Newsletter sponsor slot available.