Auto backup: 2026-02-17 18:00
This commit is contained in:
58
automations/ai-newsletter-digest/README.md
Normal file
58
automations/ai-newsletter-digest/README.md
Normal file
@@ -0,0 +1,58 @@
|
||||
# AI Newsletter Digest Automation
|
||||
|
||||
Automatically consolidates AI-related newsletters into a single, deduplicated daily digest.
|
||||
|
||||
## Schedule
|
||||
- **When:** Daily at 7:30 AM (Australia/Perth timezone)
|
||||
- **Delivery:** Via Telegram
|
||||
|
||||
## What It Does
|
||||
1. Scans unread emails from the last 24 hours
|
||||
2. Identifies AI-related newsletters
|
||||
3. **Excludes:** Notion, Platformer, WSJ, WIRED Daily (per Anthony's request)
|
||||
4. Fetches full content from remaining newsletters
|
||||
5. Uses LLM to analyze and create consolidated digest:
|
||||
- Top AI News (deduplicated across sources)
|
||||
- Product Launches
|
||||
- Research Highlights
|
||||
- Industry Trends
|
||||
- Notable Quotes
|
||||
|
||||
## Files
|
||||
- `daily-digest.sh` - Main script that fetches newsletters
|
||||
- `digest.py` - Python analysis tool (alternative approach)
|
||||
- `list-newsletters.py` - Quick check of what newsletters are in inbox
|
||||
|
||||
## Manual Run
|
||||
```bash
|
||||
cd /home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest
|
||||
./daily-digest.sh
|
||||
```
|
||||
|
||||
This outputs a file path. You can then ask me to analyze it.
|
||||
|
||||
## Cron Job
|
||||
- **Job ID:** `faaed154-8320-468f-a597-21b6a92eed39`
|
||||
- **Check status:** `openclaw cron list`
|
||||
- **Disable:** `openclaw cron remove <job-id>`
|
||||
|
||||
## Newsletter Sources Included
|
||||
- AI Valley
|
||||
- The Information (Applied AI)
|
||||
- Wall Street Journal (AI coverage)
|
||||
- The Deep View
|
||||
- WIRED Daily
|
||||
- And other AI-related emails
|
||||
|
||||
## How to Modify
|
||||
|
||||
**Change the schedule:**
|
||||
```bash
|
||||
openclaw cron update <job-id> --schedule "0 8 * * *" # 8am instead
|
||||
```
|
||||
|
||||
**Add more exclusions:**
|
||||
Edit `daily-digest.sh` and add more `grep -v "pattern"` lines
|
||||
|
||||
**Change lookback period:**
|
||||
Edit the `--recent 24h` parameter in `daily-digest.sh`
|
||||
Reference in New Issue
Block a user