n8n-api

Provides REST API operations for managing workflows and nodes, including execution retrieval and updates.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/nirssyan/nirssyan-mono --skill n8n-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n8n-api
Source: https://github.com/nirssyan/nirssyan-mono/tree/main/.claude/skills/n8n-api
Command: npx skills add https://github.com/nirssyan/nirssyan-mono --skill n8n-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows you to interact with and manage n8n workflows programmatically, automating tasks that would otherwise require manual intervention in the n8n interface.

Core Features & Use Cases

  • Workflow Management: List, get, update, activate, and deactivate n8n workflows.
  • Execution Monitoring: Retrieve execution history and detailed data for specific workflow runs.
  • Node Updates: Modify specific nodes within a workflow, such as updating code in a Code node.
  • Use Case: Automatically update a "Code" node in a workflow with new logic, or check the status and output of a recent workflow execution.

Quick Start

Use the n8n-api skill to get the structure of workflow with ID Oa9FW7qOHIi7O8eh.

Frequently Asked Questions about n8n-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage n8n workflows via API?

You can manage n8n workflows via API by sending HTTP requests to the REST API endpoints. This allows you to list, retrieve, update, activate, and deactivate workflows programmatically using shell scripts.

What do I need to authenticate n8n API requests?

To authenticate n8n API requests, you need to set the environment variables N8N_BASE_URL and N8N_API_KEY. These variables provide the required access credentials and server address for your shell scripts.

How do I retrieve execution details for a specific n8n workflow?

To retrieve execution details for an n8n workflow, use the API to fetch execution history and detailed data for specific workflow runs. This provides the status and output of recent executions without needing the UI.

Can I update specific nodes within an n8n workflow programmatically?

Yes, you can update specific nodes within an n8n workflow programmatically. The API supports modifying individual nodes, allowing you to update code or logic within a Code node directly through shell scripts.

Why automate n8n workflow management instead of using the UI?

Automating n8n workflow management via the REST API eliminates manual intervention in the n8n interface. This enables programmatic control over executions and node updates, streamlining tasks like injecting new logic into Code nodes.