跳到主要内容
知仓学习社ZHICANG

n8n-workflow

Automate document workflows with n8n - 7800+ workflow templates

不碰外部(只输出文字)无严重或高危命中claude-office-skills/skills

它会碰到什么

扫了多少1 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数1 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

N8N Workflow Skill

Overview

This skill enables document workflow automation using n8n - the most popular workflow automation platform with 7800+ community templates. Chain document operations, integrate with 400+ apps, and build complex document pipelines.

How to Use

  1. Describe what you want to accomplish
  2. Provide any required input data or files
  3. I'll execute the appropriate operations

Example prompts:

  • "Automate PDF → OCR → Translation → Email workflow"
  • "Watch folder for new contracts → Review → Notify Slack"
  • "Daily report generation from multiple data sources"
  • "Batch document processing with conditional logic"

Domain Knowledge

n8n Fundamentals

n8n uses a node-based workflow approach:

Trigger → Action → Action → Output
   │         │         │
   └─────────┴─────────┴── Data flows between nodes

Key Node Types

| Type | Examples | Use Case |

|------|----------|----------|

| Triggers | Webhook, Schedule, File Watcher | Start workflow |

| Document | Read PDF, Write DOCX, OCR | Process files |

| Transform | Code, Set, Merge | Manipulate data |

| Output | Email, Slack, Google Drive | Deliver results |

Workflow Example: Contract Review Pipeline

{
  "nodes": [
    {
      "name": "Watch Folder",
      "type": "n8n-nodes-base.localFileTrigger",
      "parameters": {
        "path": "/contracts/incoming",
        "events": ["add"]
      }
    },
    {
      "name": "Extract Text",
      "type": "n8n-nodes-base.readPdf"
    },
    {
      "name": "AI Review",
      "type": "n8n-nodes-base.anthropic",
      "parameters": {
        "model": "claude-sonnet-4-20250514",
        "prompt": "Review this contract for risks..."
      }
    },
    {
      "name": "Save Report",
      "type": "n8n-nodes-base.writeFile"
    },
    {
      "name": "Notify Team",
      "type": "n8n-nodes-base.slack"
    }
  ]
}

Self-Hosting vs Cloud

| Option | Pros | Cons |

|--------|------|------|

| Self-hosted | Free, full control, data privacy | Maintenance required |

| n8n Cloud | No setup, auto-updates | Costs at scale |

# Docker quick start
docker run -it --rm \
  -p 5678:5678 \
  -v ~/.n8n:/home/node/.n8n \
  n8nio/n8n

Best Practices

  1. Start with existing templates, customize as needed
  2. Use error handling nodes for reliability
  3. Store credentials securely with n8n's credential manager
  4. Test workflows with sample data before production

Installation

# Install required dependencies
pip install python-docx openpyxl python-pptx reportlab jinja2

Resources

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。