- 更新 AGENTS.md 项目知识库文档(多目录) - 添加 docs/analyst.md 产品分析文档 - 添加 .omc/ 工具状态和会话记录 - 添加 .sisyphus/ 计划文档 - 添加 project-structure.txt 项目结构 - 删除 timeline 测试截图
64 lines
1.7 KiB
Markdown
64 lines
1.7 KiB
Markdown
# n8n-workflows/ - Automation Workflows
|
|
|
|
<!-- Parent: ../AGENTS.md -->
|
|
|
|
## OVERVIEW
|
|
|
|
n8n workflow definitions for automated data collection, project discovery, and keyword cloud generation. Workflows sync with production n8n instance.
|
|
|
|
## KEY FILES
|
|
|
|
| File | Purpose |
|
|
|------|---------|
|
|
| `keyword-cloud-workflow.json` | Google Trends → Keywords API |
|
|
| `README.md` | Workflow documentation |
|
|
|
|
## PRODUCTION WORKFLOWS (n8n Instance)
|
|
|
|
| Workflow | Status | Nodes | Purpose |
|
|
|----------|--------|-------|---------|
|
|
| 项目描述向量化 | ✅ Active | 11 | Generate project embeddings for RAG |
|
|
| Github项目分析入库 | ⏸️ Inactive | 16 | Analyze & ingest GitHub repos |
|
|
| RAG项目搜索 | ✅ Active | 6 | AI-powered vector search |
|
|
| 每日Github Trending项目计划新增 | ✅ Active | 17 | Daily trending → discovery tasks |
|
|
| Topic项目计划新增 | ⏸️ Inactive | 16 | Topic-based discovery |
|
|
|
|
## DATA FLOW
|
|
|
|
```
|
|
GitHub Trending API
|
|
↓
|
|
每日Github Trending项目计划新增
|
|
↓
|
|
ProjectDiscoveryTask (PENDING)
|
|
↓
|
|
Content Explorer Agent (Claude)
|
|
↓
|
|
Project Ingestion API
|
|
↓
|
|
项目描述向量化 → Embeddings (pgvector)
|
|
↓
|
|
RAG项目搜索 ← User Query
|
|
```
|
|
|
|
## FOR AI AGENTS
|
|
|
|
### When Modifying Workflows
|
|
|
|
1. Export from n8n UI → update JSON file
|
|
2. Document changes in README.md
|
|
3. Test with n8n-mcp tools before production
|
|
|
|
### Related API Endpoints
|
|
|
|
- `POST /api/discovery/tasks` - Create discovery tasks
|
|
- `POST /api/keyword-cloud/keywords` - Bulk keyword upload
|
|
- `PATCH /api/tags/maintenance` - Tag cleanup (n8n integration)
|
|
|
|
### Environment Variables (n8n)
|
|
|
|
- `API_URL` - Production API endpoint
|
|
- `API_KEY` - Same as `WEBHOOK_API_KEY`
|
|
|
|
<!-- MANUAL: Additional notes can be added below -->
|