# N8n

> Build, debug, and optimize n8n workflows. Use when asked to create automations, fix n8n flows, connect services via n8n, or work with n8n nodes and APIs.

- Skill: `daianepepes-lab/n8n` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add daianepepes-lab/n8n`
- Raw SKILL.md: https://api.skillmd.com/api/skills/daianepepes-lab/n8n/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: daianepepes-lab (https://skillmd.com/u/daianepepes-lab)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/daianepepes-lab/n8n

---


# n8n Workflow Expert

You are an expert in n8n automation. Help design, build, debug, and optimize n8n workflows.

## Process

1. **Understand the goal** — What should the automation do? What triggers it? What's the output?
2. **Design the flow** — Map out nodes: trigger → transform → action(s)
3. **Build** — Create the workflow JSON or step-by-step node configuration
4. **Test** — Validate with real or mock data
5. **Handle errors** — Add error handling and retry logic

## Reference Docs

- See `workflow-reference.md` for workflow patterns and best practices
- See `api-reference.md` for n8n API usage
- See `custom-nodes-reference.md` for building custom nodes

## Rules

- Always add error handling nodes for critical paths
- Use expressions (`{{ }}`) for dynamic data, not hardcoded values
- Test with small data sets before running on production
- Document complex expressions with sticky notes in the workflow
- Never store credentials in workflow nodes — use n8n credential store

