106 lines
2.4 KiB
Markdown
106 lines
2.4 KiB
Markdown
# Morning Intelligence Briefing - n8n Workflow
|
|
|
|
## 📁 Files
|
|
|
|
1. **n8n-workflow.json** - Full workflow (requires credentials)
|
|
2. **n8n-workflow-simple.json** - Simpler version (fewer dependencies)
|
|
|
|
## 🚀 Setup Instructions
|
|
|
|
### Step 1: Import to n8n
|
|
1. Open your n8n: https://n8n.kangaroo-eel.ts.net
|
|
2. Go to **Workflows** → **Import from File**
|
|
3. Select `n8n-workflow.json`
|
|
|
|
### Step 2: Configure Credentials
|
|
|
|
You'll need to create these credentials in n8n:
|
|
|
|
#### A. FreshRSS (HTTP Basic Auth)
|
|
- **Name**: FreshRSS Credentials
|
|
- **Username**: Anthony
|
|
- **Password**: RecOvery2026!
|
|
|
|
#### B. Perplexity (HTTP Header Auth)
|
|
- **Name**: Perplexity API
|
|
- **Header Name**: Authorization
|
|
- **Header Value**: Bearer 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
|
|
|
|
#### C. Telegram Bot
|
|
- **Name**: Telegram Bot
|
|
- **Access Token**: (Your bot token - I can help get this)
|
|
|
|
### Step 3: Test
|
|
1. Click **Execute Workflow**
|
|
2. Check if you receive a Telegram message
|
|
|
|
### Step 4: Activate
|
|
1. Toggle **Active** switch
|
|
2. Workflow runs daily at 6:00 AM (Perth time)
|
|
|
|
## 🔧 What It Does
|
|
|
|
```
|
|
6:00 AM Trigger
|
|
↓
|
|
Fetch FreshRSS (your RSS feeds)
|
|
↓
|
|
Fetch News Aggregator (HN, GitHub, Product Hunt, etc.)
|
|
↓
|
|
Query Perplexity AI ("Today's top news")
|
|
↓
|
|
Combine all sources
|
|
↓
|
|
AI Deduplication & Summarization
|
|
↓
|
|
Telegram to You (5-7 key stories)
|
|
```
|
|
|
|
## 📱 Expected Output Example
|
|
|
|
```
|
|
🌅 Morning Intelligence Briefing
|
|
|
|
1. 🔥 OpenAI announces GPT-5...
|
|
2. 💰 Tech stocks rally...
|
|
3. 🚀 New AI tool from...
|
|
4. 📰 Major news from...
|
|
5. 💡 Innovation in...
|
|
|
|
---
|
|
Sources: FreshRSS, News Aggregator, Perplexity AI
|
|
```
|
|
|
|
## ⚠️ Troubleshooting
|
|
|
|
**Issue**: FreshRSS authentication fails
|
|
**Fix**: Check API password in FreshRSS → Settings → Profile → API Management
|
|
|
|
**Issue**: News Aggregator fails
|
|
**Fix**: Ensure Python venv exists at `/skills/news-aggregator-skill/.venv`
|
|
|
|
**Issue**: Telegram not received
|
|
**Fix**: Check bot token and chat ID (1793951355)
|
|
|
|
## 🎨 Customization
|
|
|
|
### Change time:
|
|
Edit "6 AM Daily" node → Change trigger time
|
|
|
|
### Add more sources:
|
|
Add HTTP Request nodes for additional APIs
|
|
|
|
### Change summary style:
|
|
Edit "AI Summarize" system prompt
|
|
|
|
### Filter categories:
|
|
Add Code node to filter FreshRSS by category
|
|
|
|
## 📞 Support
|
|
|
|
Need help? Ask me to:
|
|
- Debug credential issues
|
|
- Customize the workflow
|
|
- Add more news sources
|
|
- Change the schedule
|