Allow Sleep
Actionmoon.zzz.fill
action.allow_sleep
Release every active Keep Mac Awake hold and let the Mac sleep normally again. Any pending Keep Mac Awake timeout timers are cancelled at the same time.
This node takes no configuration — it always releases all holds. Releasing is app-wide: it clears every Keep Mac Awake hold, including ones started by other workflows, not just the flow this node lives in. The released output reports how many holds were active, so downstream conditions can branch on whether anything was actually keeping the Mac awake.
Ports
| Direction | Name | Data Type | Description |
|---|---|---|---|
| Input | Input | Any | Incoming payload (passed through, with the release result merged in) |
| Output | Output | Any | Payload with awake and released added |
Configuration
This node has no configuration.
Output Variables
| Variable | Type | Description |
|---|---|---|
| awake | Boolean | Always false — holds have been released |
| released | Number | How many active holds were released |
Example
Let the Mac sleep again after a long task finishes: