Skip to main content

ops n8n

n8n workflow management. n8n is the automation platform used for webhook triggers, scheduled workflows, and integration glue between services.

Subcommands

SubcommandDescription
healthCheck n8n API connectivity
workflowsList n8n workflows
workflowGet workflow details (takes workflow ID or name)
createCreate a new empty workflow
deleteDelete a workflow
activateActivate a workflow
deactivateDeactivate a workflow
executionsList workflow executions
nodesn8n node operations (via MCP)

Examples

Verify the n8n API is reachable and credentials are valid
Terminal
$ops n8n health
List all workflows in the n8n instance
Terminal
$ops n8n workflows
Show details for a single workflow (accepts ID or name)
Terminal
$ops n8n workflow my-workflow-id
List the 20 most recent workflow executions
Terminal
$ops n8n executions --limit 20
Turn a workflow on (begins responding to triggers)
Terminal
$ops n8n activate my-workflow-id
Turn a workflow off (stops responding to triggers)
Terminal
$ops n8n deactivate my-workflow-id

Common Workflows

❤️

Health Check

Start with ops n8n health — confirms the API endpoint and auth before debugging anything else.

📋

Inventory

ops n8n workflows gives a complete inventory of automations across the platform.

🔁

Toggle Triggers

Pause noisy or broken automations with deactivate, then activate them again once fixed.

📜

Execution Audit

ops n8n executions is the first stop for "did this workflow actually run?" questions.

Workflow Identifiers

Most commands accept either a workflow ID (e.g. xY8aZ...) or a workflow name. IDs are more reliable when names contain spaces or special characters.

MCP Integration

The ops n8n nodes subcommand uses n8n's MCP (Model Context Protocol) integration for node-level operations. This is primarily intended for AI agents authoring workflows programmatically.