n8n-api
Installation
SKILL.md
n8n REST API Skill
Interact with an n8n automation platform instance via its public REST API v1.
Environment Variables (REQUIRED)
Before making any API calls, ensure these environment variables are set:
| Variable | Description | Example |
|---|---|---|
N8N_HOST |
n8n instance hostname (with protocol, no trailing slash) | https://n8n.example.com |
N8N_API_KEY |
API key generated in n8n UI (Settings > API) | n8n_api_... |
export N8N_HOST="https://n8n.example.com"
export N8N_API_KEY="your-api-key-here"
If these are not set, ask the user to provide them before proceeding.