N8n Workflow

作者 claude-office-skills9c4c7d5cd281MIT499 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫8 個月前更新

Automate document workflows with n8n - 7800+ workflow templates

AI 產生的概覽

指導建立 n8n 文件工作流自動化,涵蓋節點類型、觸發器、自架方式與範例流程。

功能
此技能為在 n8n 平台上設計文件工作流自動化提供指引。它說明 n8n 的基本概念,例如觸發器、動作與輸出節點,列出文件處理、資料轉換與結果遞送等節點類別,並示範一個合約審查流程範例:監看資料夾、擷取 PDF 文字、執行 AI 審查、儲存報告並通知團隊。它也比較自架與雲端部署方式,並列出最佳實務與相依項目。
適用情境
適用於規劃或說明將文件操作串接起來的 n8n 自動化,例如 OCR、翻譯、審查或排程報告產生。適合想要取得概念性指引與範例工作流結構,而非直接執行自動化的使用者。
執行需求
僅為說明性內容,不隨附指令碼。涉及 n8n 執行個體(透過 Docker 自架或使用 n8n Cloud)、選用的 Python 套件(例如 python-docx、openpyxl、python-pptx、reportlab、jinja2),以及 Slack 或 AI 模型服務等外部服務的認證資訊。

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

TypeExamplesUse Case
TriggersWebhook, Schedule, File WatcherStart workflow
DocumentRead PDF, Write DOCX, OCRProcess files
TransformCode, Set, MergeManipulate data
OutputEmail, Slack, Google DriveDeliver results

Workflow Example: Contract Review Pipeline

json
{  "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

OptionProsCons
Self-hostedFree, full control, data privacyMaintenance required
n8n CloudNo setup, auto-updatesCosts at scale
bash
# Docker quick startdocker 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

bash
# Install required dependenciespip install python-docx openpyxl python-pptx reportlab jinja2

Resources

來源與署名

來源:claude-office-skills/skills位於n8n-workflow提交9c4c7d5

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架