mcpField
N
n8n-workflow

n8n-workflow

github.com/claude-office-skillsDocuments5454.8k installsUpdated 39w ago
Repository

About n8n-workflow

n8n-workflow is a skill for planning document-processing workflows in n8n, using trigger, action, and output nodes. It describes document operations, data transformation, and nodes for connecting apps.

Key features

  1. 01Design node-based workflows
  2. 02Chain document-processing operations
  3. 03Start workflows with triggers
  4. 04Transform and merge data
  5. 05Send results by email or to apps

Use cases

  1. 01Automate PDF OCR, translation, and email delivery
  2. 02Watch a contract folder and send review notices
  3. 03Generate daily reports from multiple data sources
  4. 04Batch-process documents with conditional logic

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/claude-office-skills/skills --skill n8n-workflow

After installing, type/n8n-workflowin Claude Code to confirm it loaded.

Details

From the project README

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

Comments

Markdown supported