⚙️ Automation 📖 Official

Notification Alert System

Set up automated notifications for system events, file changes, and scheduled reminders

★☆☆ Beginner 15 min January 13, 2025
📋

Scenario

Staying informed about important events without constant monitoring is essential. Cowork can help set up notification systems that alert you when specific conditions are met.

💬

Prompt

I want to set up automated notifications on my Mac. Please create:

1. File monitoring:
   - Alert when any file is added to ~/Downloads
   - Alert when ~/Documents/Important changes

2. System alerts:
   - Notify if disk usage exceeds 80%
   - Alert when a specific process stops

3. Scheduled reminders:
   - Daily standup reminder at 9:45 AM
   - Weekly backup reminder on Sundays

Create the scripts and launchd configurations. Save to ~/Scripts/notifications/

Expected Result

Claude will create: - File monitoring scripts (using fswatch) - System check scripts (disk space etc.) - Scheduled reminder scripts (using native dialogs) - launchd configuration files (for scheduled tasks)

💡

Tips

  • Ensure script files have execute permission (chmod +x)
  • Consider integrating with Slack/Discord for remote alerts
  • Add deduplication logic to avoid repeated notifications