n8n-automationManage n8n workflows from OpenClaw via the n8n REST API. Use when the user asks about n8n workflows, automations, executions, or wants to trigger, list, create, activate, or debug n8n workflows. Supports both self-hosted n8n and n8n Cloud instances.
Install via ClawdBot CLI:
clawdbot install DILOmcfly/n8n-automationControl n8n workflow automation platform via REST API.
Set these environment variables (or store in .n8n-api-config):
export N8N_API_URL="https://your-instance.app.n8n.cloud/api/v1" # or http://localhost:5678/api/v1
export N8N_API_KEY="your-api-key-here"
Generate API key: n8n Settings → n8n API → Create an API key.
All calls use header X-N8N-API-KEY for auth.
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/workflows" | jq '.data[] | {id, name, active}'
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/workflows/{id}"
# Activate
curl -s -X PATCH -H "X-N8N-API-KEY: $N8N_API_KEY" \
-H "Content-Type: application/json" \
-d '{"active": true}' "$N8N_API_URL/workflows/{id}"
# Deactivate
curl -s -X PATCH -H "X-N8N-API-KEY: $N8N_API_KEY" \
-H "Content-Type: application/json" \
-d '{"active": false}' "$N8N_API_URL/workflows/{id}"
# Production webhook
curl -s -X POST "$N8N_API_URL/../webhook/{webhook-path}" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
# Test webhook
curl -s -X POST "$N8N_API_URL/../webhook-test/{webhook-path}" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
# All recent executions
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/executions?limit=10" | jq '.data[] | {id, workflowId, status, startedAt}'
# Failed executions only
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/executions?status=error&limit=5"
# Executions for specific workflow
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/executions?workflowId={id}&limit=10"
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/executions/{id}"
curl -s -X POST -H "X-N8N-API-KEY: $N8N_API_KEY" \
-H "Content-Type: application/json" \
-d @workflow.json "$N8N_API_URL/workflows"
curl -s -X DELETE -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/workflows/{id}"
List active workflows, check recent executions for errors, report status:
# Count active workflows
ACTIVE=$(curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/workflows?active=true" | jq '.data | length')
# Count failed executions (last 24h)
FAILED=$(curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/executions?status=error&limit=100" | jq '[.data[] | select(.startedAt > (now - 86400 | todate))] | length')
echo "Active workflows: $ACTIVE | Failed (24h): $FAILED"
Parse workflow JSON to summarize: trigger type, node count, apps connected, schedule.
See references/api-endpoints.md for complete endpoint documentation.
?active=true or ?active=false to filter workflow listingsGenerated Mar 1, 2026
Automates order fulfillment by triggering n8n workflows when new orders are placed in an e-commerce platform like Shopify. The workflow can update inventory, send confirmation emails, and notify logistics teams, reducing manual entry and errors.
Uses n8n to monitor system health by listing workflows and checking for failed executions. It can automatically restart workflows or send alerts via Slack or email when errors occur, ensuring uptime and quick issue resolution.
Manages marketing automations by activating or deactivating workflows based on campaign schedules. It can trigger workflows to sync customer data between CRM and email platforms, optimizing engagement and tracking performance.
Automates financial data collection by triggering workflows to pull data from APIs like QuickBooks or banking systems. It can generate reports, list executions for audit trails, and ensure compliance with scheduled updates.
Streamlines support processes by creating workflows that trigger from helpdesk tickets. It can assign tickets, send follow-up emails, and list executions to monitor response times, improving efficiency and customer satisfaction.
Offers managed automation services by using n8n to integrate various SaaS platforms for clients. Revenue comes from subscription fees for setup, maintenance, and custom workflow development, leveraging API calls to manage workflows and executions.
Provides consulting to businesses for implementing n8n automations, including workflow creation and debugging. Revenue is generated through project-based fees and hourly rates for tasks like activating workflows and analyzing execution data.
Operates a white-label automation platform using n8n for multiple clients, handling workflow management and health checks. Revenue streams include tiered pricing based on usage, such as the number of active workflows and API calls, with upselling for advanced features.
💬 Integration Tip
Ensure API keys are securely stored and use environment variables for configuration; regularly monitor failed executions to debug issues and maintain workflow reliability.
A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands.
Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications.
Advanced desktop automation with mouse, keyboard, and screen control
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.
Design and implement automation workflows to save time and scale operations as a solopreneur. Use when identifying repetitive tasks to automate, building workflows across tools, setting up triggers and actions, or optimizing existing automations. Covers automation opportunity identification, workflow design, tool selection (Zapier, Make, n8n), testing, and maintenance. Trigger on "automate", "automation", "workflow automation", "save time", "reduce manual work", "automate my business", "no-code automation".
Browser automation via Playwright MCP server. Navigate websites, click elements, fill forms, extract data, take screenshots, and perform full browser automation workflows.