n8n

Manages N8N workflows and credentials via REST API and webhooks.

30|5|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/phuetz/code-buddy --skill n8n-phuetz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: n8n
Source: https://github.com/phuetz/code-buddy/tree/main/.codebuddy/skills/bundled/n8n
Command: npx skills add https://github.com/phuetz/code-buddy --skill n8n-phuetz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides programmatic control over n8n workflows via REST API and webhooks, enabling teams to automate integration and orchestration tasks from any client.

Core Features & Use Cases

  • Workflow management: list, create, update, activate, and delete workflows.
  • Execution control: trigger and monitor workflow executions, including webhook-triggered flows.
  • Credentials handling: securely manage API keys and credentials for downstream nodes.
  • Use Case: Example: automatically trigger an invoice workflow when a webhook payload arrives and log outcomes to a database.

Quick Start

Set N8N_API_URL and N8N_API_KEY as environment variables, then use the REST API to list, create, and activate workflows or trigger them via webhooks. Example: GET /workflows, POST /workflows, POST /workflows/{id}/activate, POST /webhook/{path}.

Frequently Asked Questions about n8n

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

FAQPage Schema
How do I automate n8n workflow creation and execution via REST API?

You can automate n8n workflows via REST API by authenticating with the X-N8N-API-KEY header and using endpoints like POST /workflows to create and POST /webhook/{path} to trigger executions programmatically.

Can I manage n8n credentials programmatically for integration automation?

Yes, n8n credentials can be managed programmatically. The REST API provides dedicated credential endpoints to securely handle API keys and credentials required by downstream nodes in your workflows.

What do I need to trigger n8n workflows via webhooks?

To trigger n8n workflows via webhooks you need your n8n instance URL, an active API key set as the N8N_API_KEY environment variable, and the specific webhook path to send HTTP POST requests.

Does this approach support listing and activating existing n8n workflows?

Yes, this approach supports listing and activating workflows. You can retrieve existing workflows using GET /workflows and activate them by sending a POST request to the /workflows/{id}/activate endpoint.

What is the best way to orchestrate n8n workflows from an external client?

The best way to orchestrate n8n workflows externally is using the n8n REST API. It allows clients to list, create, update, and execute workflows while enforcing secure API key authentication.

Why use the n8n REST API instead of manual workflow configuration?

Using the n8n REST API automates integration and orchestration tasks that manual configuration cannot. It enables programmatic workflow creation, execution monitoring, and webhook-triggered flows from any external client.