Agent Skill
2/7/2026

n8n-api

Control n8n workflow automation via REST API. Use when the user asks to trigger workflows, check execution status, list workflows, or manage n8n automations. Requires N8N_API_KEY and N8N_BASE_URL environment variables.

M
mixik7
0GitHub Stars
1Views
npx skills add Mixik7/openclaw-v3

SKILL.md

Namen8n-api
DescriptionControl n8n workflow automation via REST API. Use when the user asks to trigger workflows, check execution status, list workflows, or manage n8n automations. Requires N8N_API_KEY and N8N_BASE_URL environment variables.

name: n8n-api description: Control the Content Factory via N8N REST API. Use when the user asks to publish video, generate music, check status, manage articles, list workflows, or monitor automations. This is the primary skill for content operations. Requires N8N_API_KEY and N8N_BASE_URL environment variables. metadata: { "openclaw": { "emoji": "⚙️", "requires": { "env": ["N8N_API_KEY", "N8N_BASE_URL"] }, "primaryEnv": "N8N_API_KEY", "homepage": "https://n8n.io", }, }

N8N API Skill — Content Factory Operations

Control the Content Factory N8N instance. This is the primary skill for content commands: publishing, music generation, article management, and workflow monitoring.

When to Use This Skill

User says...Action
"publish video" / "выложи видео"Trigger WF 01 Router via knowledge of WF structure
"music" / "музыка"Music generation pipeline
"status" / "статус"Channel status via WF 05
"article" / "статья"SEO article pipeline (WF 16→17→18)
"list workflows"List all N8N workflows
"check executions"Recent execution history

Do NOT use agent-delegate (WF 26) for these operations. This skill calls N8N directly.

Authentication

All API requests use header:

curl -s "$N8N_BASE_URL/api/v1/<endpoint>" \
  -H "X-N8N-API-KEY: $N8N_API_KEY"

Core Operations

List All Workflows

curl -s "$N8N_BASE_URL/api/v1/workflows" \
  -H "X-N8N-API-KEY: $N8N_API_KEY" | jq '.data[] | {id, name, active}'

Get Workflow Details

curl -s "$N8N_BASE_URL/api/v1/workflows/WORKFLOW_ID" \
  -H "X-N8N-API-KEY: $N8N_API_KEY" | jq '{id, name, active, nodes: [.nodes[].name]}'

Activate Workflow

curl -s -X POST "$N8N_BASE_URL/api/v1/workflows/WORKFLOW_ID/activate" \
  -H "X-N8N-API-KEY: $N8N_API_KEY"

Deactivate Workflow

curl -s -X POST "$N8N_BASE_URL/api/v1/workflows/WORKFLOW_ID/deactivate" \
  -H "X-N8N-API-KEY: $N8N_API_KEY"

Get Recent Executions

curl -s "$N8N_BASE_URL/api/v1/executions?limit=10" \
  -H "X-N8N-API-KEY: $N8N_API_KEY" | jq '.data[] | {id, workflowId, status, startedAt, stoppedAt}'

Get Execution Details (with errors)

curl -s "$N8N_BASE_URL/api/v1/executions/EXECUTION_ID" \
  -H "X-N8N-API-KEY: $N8N_API_KEY" | jq '{id, status, data: .data.resultData.error}'

Content Factory Workflows (31 total)

Core Content (WF 01-07)

#NameIDTrigger
01Telegram Router7h11iwrBtElelwwpiPHbbTelegram webhook (@My_Asst_c2)
02YouTube PublishingIQA0eAMXkyBWSrFRCron 9/13/19 + Router
03TikTok PublishingOlVizpU4pV7WGrK2Cron 12:00 + Router
04VK Publishing9nQEUNj6xc07hKdNCron 10/14/20 + Router
05AI Mozgi5QtaHWA8QUyC1TqEExecute Workflow (Claude Sonnet 4)
06Music Generationwn4VgYjBHgTHFNbRmCSkoExecute Workflow (Kie.ai)
07Event LoggerKZwQpHP6qrNkVvzHB94UnExecute Workflow

Content Factory (WF 16-18, 33-34)

#NameIDTrigger
16News Collectoryq0Tlm0ukRzOw9IPCron 6h (10 channels, RSS+AI)
17Content ProcessoruMXIqx8Ty6PthUCNExecute Workflow (SEO + images via ElectronHub)
18Text PublisherMsNRDjTffBC0hi29Execute Workflow (Telegram + VK + Telegraph)
33Channel AnalystsHuFkfwJR5Dqy6zCFCron 4h (per-channel AI brain, ChannelMemory)
34Content ExecutortX52Wmlk50esNd8tCron 30min (auto-publish + inline moderation)

TG-Kombain Automation (WF 14-15, 19-25)

#NameIDPurpose
14Warmup SchedulerHEo7VCJNBQ4l5EOJAccount warmup cron
15TG ControlfTw1h8nqG5nA4Fd3Account management
19Audience AcquisitionaBncMREQTKX2kB85Automated parsing
20Smart InviteI8ijUejvMxIckcqGInvite campaigns
21Content Feedback073Y5hNjIrIjLtbOQuality feedback loop
22Engagement BoosterFhFNghBmFAvQ2dNLEngagement automation
23Ad PipelineZ6RbfJblESOP5KarAd orchestration
24Mutual PRkIxHVulFXYeH3zJoCross-promotion
25Viral Campaignpjl9GXSeOMSihMRdViral campaigns

Monitoring (WF 31)

#NameIDPurpose
31Video Inventory MonitorEGE8kChflVR0Hq47Cron 6h, Drive inventory alerts

Agent Ecosystem (WF 09, 26-30)

#NameIDPurpose
09OpenClaw BridgemXnfHX25m0eEcixcN8N → OpenClaw
26Agent DispatcheruNUbgpRcXbvToZcFInter-agent routing
27Result CollectorfWiswnHYt2w3vq2EAgent results
28AnalyticsA0hwGzeStnN0lUi8Cross-agent KPI
29StrategyFQhWmhWvpRdKbuFnContent strategy
30Feedback Loopdkn2xB9ZQtgWFYH3Pipeline feedback

Inactive

#NameIDReason
13Jarvis BotpvQMTF9etkC4qTxdDELETED 2026-02-24

Tips

  • Always check active field before assuming a workflow runs
  • WF 02/03/04 run on cron AND can be triggered manually via WF 01
  • WF 05 (AI Mozgi) is called by WF 01 Router — not independently triggered
  • WF 16→17→34→18 is the Content Factory pipeline: collect → process → moderate → publish
  • WF 33 (Channel Analysts) builds per-channel memory — runs every 4h, updates ChannelMemory tab
  • WF 34 (Content Executor) auto-publishes high-score articles, sends low-score for operator review
  • Use editorial-review skill for article moderation, not this skill
  • WF 19-25 are TG-Kombain automation crons — they run autonomously
  • WF 26-30 are agent ecosystem support — don't trigger manually unless debugging
Skills Info
Original Name:n8n-apiAuthor:mixik7