Skip to main content
skill CX Codex

n8n-workflow — Claude Code skill: document automation with n8n

This skill lets the agent assemble n8n document pipelines, from trigger to delivery. Useful when PDFs, OCR, email and Slack need to run without manual steps.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add claude-office-skills/skills --skill n8n-workflow -a claude-code
Open on GitHub

What n8n-workflow does

The skill teaches the agent n8n's node model: triggers (Webhook, Schedule, File Watcher), document nodes (read PDF, write DOCX, OCR), transforms (Code, Set, Merge) and outputs (Email, Slack, Google Drive). You describe the task in plain words and the agent wires the nodes together. A contract review pipeline ships as an example: a folder incoming is watched for new files, text is pulled from the PDF, passed to the n8n-nodes-base.anthropic node with model claude-sonnet-4-20250514, the report is saved, and the team gets a Slack message.

For document nodes the skill advises installing dependencies first: pip install python-docx openpyxl python-pptx reportlab jinja2. n8n itself runs either self-hosted or in the cloud. Self-hosting keeps your data on your own machine but you maintain it; the cloud skips setup and costs more as you scale. Docker quick start: docker run -it --rm -p 5678:5678 -v ~/.n8n:/home/node/.n8n n8nio/n8n.

The skill's own guidance: start from existing templates and adjust them, add error-handling nodes, keep credentials in n8n's credential manager, and test on sample data before production. If you already run n8n, the skill is still worth a look — it gives the agent a structure so nodes don't end up scattered.

What it helps with

  • chain PDF → OCR → translation → email into one flow
  • watch a folder for new contracts and notify the team
  • generate a daily report from several data sources
  • batch-process documents with conditional logic per step
  • connect n8n to external apps through ready-made nodes

Example prompts for the agent

  • Build an n8n workflow: folder incoming → extract PDF text → review with Anthropic → save report → notify Slack
  • Create an n8n workflow that pulls a daily report from several sources and emails it
  • Describe the n8n nodes for batch document processing with conditions

How to install n8n-workflow

1Skills CLI (Vercel)

npx skills add claude-office-skills/skills --skill n8n-workflow -a claude-code

2Manually: put the files in place

~/.claude/skills/n8n-workflow/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/n8n-workflow/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about n8n-workflow

How do I install n8n-workflow in Claude?

Run npx skills add claude-office-skills/skills --skill n8n-workflow -a claude-code. The skill file then lives at ~/.claude/skills/n8n-workflow/SKILL.md.

What does n8n-workflow do?

It helps the agent build n8n document automation flows: triggers, file processing, data transforms and delivery. It works from n8n nodes and existing templates.

What do I need installed beforehand?

For document operations the skill advises pip install python-docx openpyxl python-pptx reportlab jinja2. n8n itself runs separately, in Docker or in the cloud.

Source text

SKILL.md · MIT
---
# ═══════════════════════════════════════════════════════════════════════════════
# CLAUDE OFFICE SKILL - Enhanced Metadata v2.0
# ═══════════════════════════════════════════════════════════════════════════════

# Basic Information
name: n8n-workflow
description: "Automate document workflows with n8n - 7800+ workflow templates"
version: "1.0"
author: claude-office-skills
license: MIT

# Categorization
category: workflow
tags:
  - n8n
  - workflow
  - automation
  - integration
department: All

# AI Model Compatibility
models:
  recommended:
    - claude-sonnet-4
    - claude-opus-4
  compatible:
    - claude-3-5-sonnet
    - gpt-4
    - gpt-4o

# Skill Capabilities
capabilities:
  - workflow_automation
  - integration

# Language Support
languages:
  - en
  - zh
---

# 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

```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

| Option | Pros | Cons |
|--------|------|------|
| **Self-hosted** | Free, full control, data privacy | Maintenance required |
| **n8n Cloud** | No setup, auto-updates | Costs at scale |

```bash
# 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

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

## Resources

- [n8n Repository](https://github.com/n8n-io/n8n)
- [Claude Office Skills Hub](https://github.com/claude-office-skills/skills)

© claude-office-skills · MIT · claude-office-skills/skills

Similar skills

All skills for Automation and no-code: n8n, Zapier, Make →

From the same set109

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor