Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
.claude/skills/sundial-org-n8n/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -50% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -36% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -50% | 0% |
Interact with n8n automation platform via REST API.
First-time setup:
bashexport N8N_API_KEY="your-api-key-here"
bashpython3 scripts/n8n_api.py list-workflows --pretty
For persistent storage, add to ~/.bashrc or ~/.zshrc:
bashecho 'export N8N_API_KEY="your-key"' >> ~/.bashrc
bashpython3 scripts/n8n_api.py list-workflows --pretty python3 scripts/n8n_api.py list-workflows --active true --pretty
bashpython3 scripts/n8n_api.py get-workflow --id <workflow-id> --pretty
bashpython3 scripts/n8n_api.py activate --id <workflow-id> python3 scripts/n8n_api.py deactivate --id <workflow-id>
bash# List recent executions python3 scripts/n8n_api.py list-executions --limit 10 --pretty # Get execution details python3 scripts/n8n_api.py get-execution --id <execution-id> --pretty # Filter by workflow python3 scripts/n8n_api.py list-executions --id <workflow-id> --limit 20 --pretty
bash# Trigger workflow python3 scripts/n8n_api.py execute --id <workflow-id> # With data python3 scripts/n8n_api.py execute --id <workflow-id> --data '{"key": "value"}'
For programmatic access:
pythonfrom scripts.n8n_api import N8nClient client = N8nClient() # List workflows workflows = client.list_workflows(active=True) # Get workflow workflow = client.get_workflow('workflow-id') # Activate/deactivate client.activate_workflow('workflow-id') client.deactivate_workflow('workflow-id') # Executions executions = client.list_executions(workflow_id='workflow-id', limit=10) execution = client.get_execution('execution-id') # Execute workflow result = client.execute_workflow('workflow-id', data={'key': 'value'})
For detailed API documentation, see references/api.md.
Authentication error:
echo $N8N_API_KEYConnection error:
Command errors:
--pretty flag for readable output--id is provided when required--data parameterOther measured skills in the registry, with their headline benchmark lift.