AGENT SKILL

n8n

List, trigger, monitor, activate, deactivate, and manage n8n workflows through the configured n8n API.

License 许可
MIT
所属仓库
S3YED/appie-kit
最近更新
2026-08-27
Stars
★ 14
Forks
3

01 前言 Front Matter

name
n8n
version
1.0.0
category
integrations
description
List, trigger, monitor, activate, deactivate, and manage n8n workflows through the configured n8n API.

02 资源文件 1

03 SKILL.md 正文

n8n Automation Skill

Purpose

Interact with n8n workflows - list, trigger, monitor, and manage automations.

Capabilities

  • List all workflows (active/inactive)
  • Trigger workflows via webhooks
  • Get execution history
  • Activate/deactivate workflows
  • Create workflows from templates

Configuration Required

Environment Variables

N8N_API_URL=https://<n8n-host>/api/v1
N8N_API_KEY=your-api-key-here

Getting Your API Key

  1. Go to n8n Settings → API
  2. Create a new API key
  3. Store in environment or config

Usage Examples

List Active Workflows

n8n list --active

Trigger a Workflow

n8n trigger <workflow-id> --data '{"key": "value"}'

Get Execution Status

n8n executions <workflow-id>

Activate Workflow

n8n activate <workflow-id>

API Wrapper

api/n8n.js

const n8n = require('./api/n8n.js');

// List workflows
const workflows = await n8n.listWorkflows();

// Trigger workflow
const result = await n8n.trigger(workflowId, { data });

// Get executions
const executions = await n8n.getExecutions(workflowId);

Integration with Appie

Trigger from Chat

User: "Run the morning brief workflow"
Appie: → n8n.trigger('morning-brief-id', { user: '<user>' })

Notify on Completion

// After Appie task completes
await n8n.trigger('notification-workflow', {
    message: 'Task completed',
    appie: 'Appie-1'
});

Common Workflows to Create

Workflow Trigger Purpose
Morning Brief 7:00 AM Generate daily brief
Notification Webhook Alert Seyed of events
Backup Hourly Backup important data
Sync On-change Sync with external services

Error Handling

  • 401: Invalid API key - check N8N_API_KEY
  • 404: Workflow not found - verify workflow-id
  • 429: Rate limit - wait and retry
  • 500: n8n server error - check n8n logs

See Also

04 同仓库更多 Skills