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
- Describe what you want to accomplish
- Provide any required input data or files
- 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
- Start with existing templates, customize as needed
- Use error handling nodes for reliability
- Store credentials securely with n8n's credential manager
- Test workflows with sample data before production
Installation
# Install required dependencies
pip install python-docx openpyxl python-pptx reportlab jinja2
Resources
1---
2name: n8n-workflow
3description: Automate document workflows with n8n - 7800+ workflow templates
4author: claude-office-skills
5version: "1.0"
6tags: ['workflow', 'automation', 'n8n', 'integration']
7models: [claude-sonnet-4, claude-opus-4]
8tools: [computer, code_execution, file_operations]
9library:
10 name: n8n
11 url: https://github.com/n8n-io/n8n
12 stars: 172k
13metadata:
14 source: https://skillmd.com/skills/modbender/n8n-workflow
15---
16
17# N8N Workflow Skill
18
19## Overview
20
21This 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.
22
23## How to Use
24
251. Describe what you want to accomplish
262. Provide any required input data or files
273. I'll execute the appropriate operations
28
29**Example prompts:**
30- "Automate PDF → OCR → Translation → Email workflow"
31- "Watch folder for new contracts → Review → Notify Slack"
32- "Daily report generation from multiple data sources"
33- "Batch document processing with conditional logic"
34
35## Domain Knowledge
36
37
38### n8n Fundamentals
39
40n8n uses a node-based workflow approach:
41
42```
43Trigger → Action → Action → Output
44 │ │ │
45 └─────────┴─────────┴── Data flows between nodes
46```
47
48### Key Node Types
49
50| Type | Examples | Use Case |
51|------|----------|----------|
52| **Triggers** | Webhook, Schedule, File Watcher | Start workflow |
53| **Document** | Read PDF, Write DOCX, OCR | Process files |
54| **Transform** | Code, Set, Merge | Manipulate data |
55| **Output** | Email, Slack, Google Drive | Deliver results |
56
57### Workflow Example: Contract Review Pipeline
58
59```json
60{
61 "nodes": [
62 {
63 "name": "Watch Folder",
64 "type": "n8n-nodes-base.localFileTrigger",
65 "parameters": {
66 "path": "/contracts/incoming",
67 "events": ["add"]
68 }
69 },
70 {
71 "name": "Extract Text",
72 "type": "n8n-nodes-base.readPdf"
73 },
74 {
75 "name": "AI Review",
76 "type": "n8n-nodes-base.anthropic",
77 "parameters": {
78 "model": "claude-sonnet-4-20250514",
79 "prompt": "Review this contract for risks..."
80 }
81 },
82 {
83 "name": "Save Report",
84 "type": "n8n-nodes-base.writeFile"
85 },
86 {
87 "name": "Notify Team",
88 "type": "n8n-nodes-base.slack"
89 }
90 ]
91}
92```
93
94### Self-Hosting vs Cloud
95
96| Option | Pros | Cons |
97|--------|------|------|
98| **Self-hosted** | Free, full control, data privacy | Maintenance required |
99| **n8n Cloud** | No setup, auto-updates | Costs at scale |
100
101```bash
102# Docker quick start
103docker run -it --rm \
104 -p 5678:5678 \
105 -v ~/.n8n:/home/node/.n8n \
106 n8nio/n8n
107```
108
109
110## Best Practices
111
1121. **Start with existing templates, customize as needed**
1132. **Use error handling nodes for reliability**
1143. **Store credentials securely with n8n's credential manager**
1154. **Test workflows with sample data before production**
116
117## Installation
118
119```bash
120# Install required dependencies
121pip install python-docx openpyxl python-pptx reportlab jinja2
122```
123
124## Resources
125
126- [n8n Repository](https://github.com/n8n-io/n8n)
127- [Claude Office Skills Hub](https://github.com/claude-office-skills/skills)