n8nlisted
Install: claude install-skill aiskillstore/marketplace
# n8n Workflow Automation Skill
This skill enables creating and managing n8n workflows for automation tasks.
## Prerequisites
n8n instance running with API access:
```bash
N8N_HOST=localhost
N8N_PORT=5678
N8N_API_KEY=your-api-key
```
## Core Concepts
### Workflow Structure
Every n8n workflow is JSON with this structure:
```json
{
"name": "Workflow Name",
"nodes": [],
"connections": {},
"settings": {
"executionOrder": "v1"
}
}
```
### Node Structure
Each node has:
```json
{
"id": "unique-id",
"name": "Display Name",
"type": "n8n-nodes-base.nodetype",
"typeVersion": 1,
"position": [x, y],
"parameters": {},
"credentials": {}
}
```
### Connection Structure
Connections define data flow between nodes:
```json
{
"Source Node": {
"main": [
[{"node": "Target Node", "type": "main", "index": 0}]
]
}
}
```
## Common Workflow Patterns
### 1. Webhook-Triggered Workflow
Creates an HTTP endpoint that triggers workflow execution:
```json
{
"name": "Webhook Handler",
"nodes": [
{
"id": "webhook",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [250, 300],
"webhookId": "my-webhook",
"parameters": {
"path": "my-endpoint",
"httpMethod": "POST",
"responseMode": "responseNode"
}
},
{
"id": "respond",
"name": "Respond",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"pos