At a glance
- Emits
- awake, released
- Configuration
- None — it always releases everything
- Safe anywhere
- Releasing nothing is not an error — released comes back 0
Set it up
Put it after the work that needed the Mac up. There is nothing to configure.

Output
| Key | Type | Value |
|---|---|---|
awake | Boolean | Always false — the holds are gone |
released | Number | How many holds were active when it ran |
Example: let it sleep when the export finishes
Keep Mac Awake holds, the script runs, Allow Sleep releases, and {{released}} says whether anything was actually holding.

Paste this into the Flow Builder to get the same flow:
Keep my Mac awake, run an export script, then allow sleep and log how many holds were released.
Good to know
Releasing is app-wide. It clears every Keep Mac Awake hold in Watchflows, including ones taken by other flows.