# N8n Manager

> Create, update, and manage n8n workflows via the REST API

- **Type:** Skill
- **Install:** `agentstack add skill-acrid-auto-acrid-brain-n8n-manager`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [acrid-auto](https://agentstack.voostack.com/s/acrid-auto)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [acrid-auto](https://github.com/acrid-auto)
- **Source:** https://github.com/acrid-auto/acrid-brain/tree/main/archive/2026-04-snapshot/skills/n8n-manager

## Install

```sh
agentstack add skill-acrid-auto-acrid-brain-n8n-manager
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# n8n Workflow Manager

Manage n8n workflows directly via the REST API. The MCP server only supports read/execute/publish — this skill fills the gap with full CRUD via curl.

## Prerequisites
- n8n API key stored as `N8N_API_KEY` in `.claude/settings.json` env
- n8n instance at https://

## API Reference

Base URL: `https:///api/v1`
Auth: `X-N8N-API-KEY: $N8N_API_KEY`

### List Workflows
```bash
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$BASE/workflows"
```

### Get Workflow
```bash
curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$BASE/workflows/{id}"
```

### Update Workflow
```bash
curl -s -X PUT -H "X-N8N-API-KEY: $N8N_API_KEY" -H "Content-Type: application/json" \
  -d '{"nodes": [...], "connections": {...}, "settings": {...}}' \
  "$BASE/workflows/{id}"
```

### Create Workflow
```bash
curl -s -X POST -H "X-N8N-API-KEY: $N8N_API_KEY" -H "Content-Type: application/json" \
  -d '{"name": "...", "nodes": [...], "connections": {...}}' \
  "$BASE/workflows"
```

### Activate/Deactivate
```bash
curl -s -X PATCH -H "X-N8N-API-KEY: $N8N_API_KEY" -H "Content-Type: application/json" \
  -d '{"active": true}' "$BASE/workflows/{id}"
```

## Current Workflows

| Workflow | ID | Status |
|---|---|---|
| Acrid Single Post Pipeline | EVt8VtXvrtUUjTr4 | ACTIVE |
| Acrid Content Pipeline | nT8vRFk1UcRiogU2 | INACTIVE |
| Acrid Image Generator v2 | G8CRNb8XB3z7Xet6 | INACTIVE |
| My workflow | YptFQoMBqSRQW9W9 | ACTIVE (test) |

## Pending Task: Wire Image Generator into Single Post Pipeline

The Image Generator (G8CRNb8XB3z7Xet6) needs to be called by the Single Post Pipeline (EVt8VtXvrtUUjTr4) before posting to Buffer. The modification:

1. GET the Single Post Pipeline workflow JSON
2. Add an IF node after "Extract Post Data" that checks if `imageUrl` is empty
3. On the TRUE branch: add Execute Sub-Workflow node calling Image Generator with pageId
4. After sub-workflow: add HTTP Request to re-read Notion page for new image URL
5. Add Code node to extract the image URL
6. Connect both branches (has image / generated image) to the Buffer posting node
7. PUT the modified workflow back

This requires network access to the n8n API. Execute in a session without sandbox restrictions.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [acrid-auto](https://github.com/acrid-auto)
- **Source:** [acrid-auto/acrid-brain](https://github.com/acrid-auto/acrid-brain)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-acrid-auto-acrid-brain-n8n-manager
- Seller: https://agentstack.voostack.com/s/acrid-auto
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
