n8n
Manage n8n workflows and automations via API. Use when working with n8n workflows, executions, or automation tasks - listing workflows, activating/deactivating, checking execution status, manually triggering workflows, or debugging automation issues.
- License 许可
- MIT
- 最近更新
- 2026-09-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- n8n
- metadata
- { "author": "sillyhippy.zo.computer", "compatibility": "Created for Zo Computer" }
- description
- Manage n8n workflows and automations via API. Use when working with n8n workflows, executions, or automation tasks - listing workflows, activating/deactivating, checking execution status, manually triggering workflows, or debugging automation issues.
02 资源文件 6
- 参考文档_meta.json122 B
- 参考文档README.md9.5 KB
- 参考文档references/api.md2.3 KB
- 脚本scripts/n8n_api.py14.5 KB
- 脚本scripts/n8n_optimizer.py19.4 KB
- 脚本scripts/n8n_tester.py15.8 KB
03 SKILL.md 正文
n8n Workflow Management
Comprehensive workflow automation management for n8n platform with creation, testing, execution monitoring, and performance optimization capabilities.
Setup
Required environment variables:
N8N_API_KEY— Your n8n API key (Settings → API in the n8n UI)N8N_BASE_URL— Your n8n instance URL
Set via Zo Settings > Advanced as secrets, or per-session:
export N8N_API_KEY="your-api-key-here"
export N8N_BASE_URL="your-n8n-url-here"
Verify connection:
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py list-workflows --pretty
Quick Reference
Workflow Management
# List workflows
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py list-workflows --pretty
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py list-workflows --active true --pretty
# Get workflow details
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py get-workflow --id <workflow-id> --pretty
# Create workflow from JSON file
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py create --from-file workflow.json
# Activate/Deactivate
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py activate --id <workflow-id>
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py deactivate --id <workflow-id>
Testing & Validation
# Validate workflow structure
python3 /home/workspace/Skills/n8n/scripts/n8n_tester.py validate --id <workflow-id>
python3 /home/workspace/Skills/n8n/scripts/n8n_tester.py validate --file workflow.json --pretty
# Dry run with test data
python3 /home/workspace/Skills/n8n/scripts/n8n_tester.py dry-run --id <workflow-id> \
--data '{"email": "test@example.com"}'
Execution Monitoring
# List recent executions
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py list-executions --limit 10 --pretty
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py list-executions --id <workflow-id> --limit 20 --pretty
# Manual execution
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py execute --id <workflow-id>
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py execute --id <workflow-id> \
--data '{"key": "value"}'
Performance Optimization
python3 /home/workspace/Skills/n8n/scripts/n8n_optimizer.py analyze --id <workflow-id> --pretty
python3 /home/workspace/Skills/n8n/scripts/n8n_optimizer.py suggest --id <workflow-id> --pretty
python3 /home/workspace/Skills/n8n/scripts/n8n_optimizer.py report --id <workflow-id>
python3 /home/workspace/Skills/n8n/scripts/n8n_api.py stats --id <workflow-id> --days 7 --pretty
Script Locations
All scripts live at /home/workspace/Skills/n8n/scripts/:
n8n_api.py— Core API clientn8n_tester.py— Testing & validationn8n_optimizer.py— Performance optimization
Troubleshooting
Missing API key:
Error: N8N_API_KEY not found in environment
Set the env var or save as a secret in Settings > Advanced.
Connection error (401):
- Verify API key is correct
- Check N8N_BASE_URL
- Confirm API access enabled in n8n
04 同仓库更多 Skills
zopack
Export and import zo.space route setups as shareable .zopack.md files. Use when the user wants to package their zo.space routes for sharing, or when they receive a .zopack.md file to deploy. Triggers on "export my zo.space", "create a zopack", "import this zopack", or any mention of .zopack.md files.
zoho-mail-inbox
Full inbox management for Zoho Mail (info@justlegalsolutions.org) — list unread, mark all as read, delete by sender/keyword, search, send from aliases, list folders. Fully self-contained — zero setup needed.
weekly-meeting-reminder
Get an email every Sunday evening listing your meetings for the coming week.
Let Zo use your X (Twitter) account
zo-tools
Internal process tools for Zo and Hermes — local search, document processing, OCR, and embeddings. All services run on localhost, zero HTTP slots consumed.
ssh-setup
Sets up secure remote access to your Zo Computer so you can connect from anywhere