Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

N8n Openclaw Bridge

Connect your OpenClaw agent to n8n to create, trigger, manage, and monitor workflows, enabling natural language automation and execution control without the UI.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 54 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The skill claims to manage and trigger n8n workflows — that purpose aligns with the provided curl examples and workflow templates. However, the registry metadata lists no required environment variables or credentials even though the SKILL.md explicitly requires N8N_API_URL and N8N_API_KEY (and templates reference additional envs). This mismatch is an incoherence between claimed requirements and actual usage.
!
Instruction Scope
The runtime instructions instruct the agent to run curl commands against the n8n API and to create and trigger webhooks. The templates include nodes that POST to arbitrary webhook URLs (e.g., GOOGLE_SHEETS_WEBHOOK) and send messages via Telegram using TELEGRAM_CHAT_ID. The SKILL.md and templates reference environment variables beyond those declared (N8N_API_URL, N8N_API_KEY, TELEGRAM_CHAT_ID, GOOGLE_SHEETS_WEBHOOK, MONITOR_URL, LAST_BODY_LENGTH). Those instructions can cause the agent to transmit user data off-host to external endpoints if those endpoints are configured, which is within the stated purpose but broad and potentially risky if misused.
Install Mechanism
This is an instruction-only skill with no install spec or code files to run at install time, so it does not write or execute additional packages on disk. That lowers install-time risk.
!
Credentials
The skill requires at least N8N_API_URL and N8N_API_KEY to function, but the registry lists no required env vars or primary credential. Templates also reference other env variables (TELEGRAM_CHAT_ID, GOOGLE_SHEETS_WEBHOOK, MONITOR_URL, LAST_BODY_LENGTH). Requiring unspecified secrets or webhook URLs is disproportionate to the metadata and increases the chance of accidental over-privileging or leaking sensitive data to external services.
Persistence & Privilege
The skill does not request always:true and is user-invocable with normal autonomous invocation settings. It does not ask to modify other skills or system-wide agent settings. No elevated persistence or platform-wide privilege is requested.
What to consider before installing
What to consider before installing: - Metadata mismatch: SKILL.md requires N8N_API_URL and N8N_API_KEY but the registry lists no required environment variables — assume you must provide those secrets for the skill to work. Confirm how your agent/platform will store them (encrypted secrets, not plain TOOLS.md) before enabling the skill. - Review templates: The included workflow templates reference additional env vars (TELEGRAM_CHAT_ID, GOOGLE_SHEETS_WEBHOOK, MONITOR_URL, LAST_BODY_LENGTH). These can cause the agent/n8n to send data to third-party webhooks or messaging services. Only populate these with endpoints/accounts you control and intend to expose to the automation. - Principle of least privilege: Use an n8n API key with minimal permissions and, if possible, run n8n in a private network or behind authentication so webhooks and the API are not publicly exposed. - Data exposure risk: The agent will send whatever data you give it to n8n workflows and any downstream webhooks. Do not route sensitive secrets or PII through these workflows unless you trust the endpoints and have appropriate logging/retention controls. - Operational safety: If you plan to allow autonomous invocation, consider limiting the agent's access to N8N_API_KEY (for example, enable read-only or scoped tokens where supported) or require human approval before the agent creates/activates workflows that call external endpoints. - Source provenance: The skill has no listed homepage and source is unknown. If you need stronger assurance, request the author/source code or prefer a skill published by a known/verified author. If you still want to use it: only provide the minimum required credentials, inspect and adapt the templates to your environment, and avoid using public/untrusted webhook URLs.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk975m76cv71btr4wngz25dm5zh83pk1n

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

n8n OpenClaw Bridge — Automate Everything

Connect your OpenClaw agent to n8n for powerful workflow automation. This skill teaches your agent how to create, trigger, manage, and monitor n8n workflows — turning your AI assistant into a full automation operator.

When to Use

Use this skill when:

  • You want your OpenClaw agent to trigger n8n workflows (send data, kick off automations)
  • You need to create n8n workflows from natural language descriptions
  • You want your agent to monitor workflow execution and handle errors
  • You're building AI-in-the-loop automations (agent decides → n8n executes)
  • You want to manage your n8n instance without opening the UI

Triggers: "create a workflow", "trigger automation", "n8n workflow", "automate this process", "set up a webhook", "monitor my workflows", "workflow failed"

Prerequisites

  • n8n instance running (local Docker or cloud)
  • n8n API key (Settings → API → Create API Key)
  • Agent needs the API URL and key stored in environment or TOOLS.md

Quick Setup

Add to your agent's TOOLS.md:

## n8n
- **URL:** http://localhost:5678 (or your n8n cloud URL)
- **API Key:** [your-api-key]
- **Version:** 2.x+

Or set environment variables:

export N8N_API_URL="http://localhost:5678"
export N8N_API_KEY="your-api-key-here"

Capabilities

1. Workflow Management

List Workflows

curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/api/v1/workflows" | jq '.data[] | {id, name, active}'

Get Workflow Details

curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/api/v1/workflows/{id}" | jq '.'

Activate/Deactivate Workflow

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

# Deactivate
curl -s -X PATCH -H "X-N8N-API-KEY: $N8N_API_KEY" -H "Content-Type: application/json" \
  -d '{"active": false}' "$N8N_API_URL/api/v1/workflows/{id}"

Delete Workflow

curl -s -X DELETE -H "X-N8N-API-KEY: $N8N_API_KEY" "$N8N_API_URL/api/v1/workflows/{id}"

2. Trigger Workflows via Webhook

The most common pattern: your agent triggers an n8n workflow by sending data to a webhook.

Create a Webhook-Triggered Workflow

When the user says "automate X", build a workflow with a Webhook trigger node:

{
  "name": "Agent-Triggered: [Description]",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "agent-trigger-[unique-id]",
        "responseMode": "lastNode",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [250, 300],
      "id": "webhook-node",
      "name": "Agent Webhook"
    }
  ],
  "connections": {},
  "settings": {
    "executionOrder": "v1"
  }
}

Trigger the Webhook

curl -s -X POST "$N8N_API_URL/webhook/agent-trigger-[unique-id]" \
  -H "Content-Type: application/json" \
  -d '{"message": "Hello from OpenClaw", "data": {...}}'

3. Execution Monitoring

List Recent Executions

curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" \
  "$N8N_API_URL/api/v1/executions?limit=10&status=error" | jq '.data[] | {id, workflowId, status, startedAt}'

Get Execution Details (for debugging)

curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" \
  "$N8N_API_URL/api/v1/executions/{id}" | jq '.'

Retry Failed Execution

curl -s -X POST -H "X-N8N-API-KEY: $N8N_API_KEY" \
  "$N8N_API_URL/api/v1/executions/{id}/retry"

4. Create Workflows from Natural Language

When the user describes an automation, translate it to an n8n workflow. Follow these patterns:

Pattern: Webhook → Process → Notify

Use for: "When X happens, do Y, then tell me"

Webhook Trigger → [Processing Nodes] → Telegram/Slack/Email

Pattern: Schedule → Collect → Report

Use for: "Every morning, check X and send me a summary"

Schedule Trigger → HTTP Request(s) → Function (aggregate) → Message

Pattern: Webhook → AI → Action

Use for: "When I send data, have AI analyze it and take action"

Webhook → OpenAI/Anthropic Node → IF Node → [Action Branches]

Pattern: Monitor → Alert

Use for: "Watch for errors/changes and alert me"

Schedule (every 5min) → HTTP Request → IF (changed?) → Alert

5. Common Workflow Templates

Lead Notification Pipeline

Agent finds a lead → triggers n8n → n8n sends to CRM + sends notification

# Agent triggers this when it qualifies a lead
curl -s -X POST "$N8N_API_URL/webhook/new-lead" \
  -H "Content-Type: application/json" \
  -d '{
    "business_name": "Willis Plumbing",
    "contact": "John Willis",
    "email": "john@willisplumbing.com",
    "score": 85,
    "source": "google_maps",
    "notes": "4.2 stars, 180 reviews, no website optimization"
  }'

Content Publishing Pipeline

Agent writes content → triggers n8n → n8n posts to multiple platforms

# Agent triggers this when content is approved
curl -s -X POST "$N8N_API_URL/webhook/publish-content" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "5 Ways AI Helps Local Businesses",
    "body": "...",
    "platforms": ["linkedin", "twitter", "blog"],
    "schedule": "2026-03-23T09:00:00Z"
  }'

Website Monitor

n8n checks competitor sites on schedule, sends changes to agent via webhook

Email Digest

n8n collects emails/notifications → sends daily summary to agent's channel

6. Building Workflows Programmatically

Create a Complete Workflow via API

curl -s -X POST -H "X-N8N-API-KEY: $N8N_API_KEY" \
  -H "Content-Type: application/json" \
  "$N8N_API_URL/api/v1/workflows" \
  -d @workflow.json

Workflow JSON Structure

Every n8n workflow follows this structure:

{
  "name": "Workflow Name",
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.nodeName",
      "typeVersion": 1,
      "position": [x, y],
      "id": "unique-id",
      "name": "Display Name"
    }
  ],
  "connections": {
    "Source Node Name": {
      "main": [
        [
          {
            "node": "Target Node Name",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}

Critical rules for valid workflows:

  • Every workflow needs at least one trigger node
  • connections reference nodes by their name field (not id)
  • Node positions should be spaced ~200px apart horizontally
  • Use typeVersion 2 for Webhook nodes (v2 supports response modes)
  • Always set executionOrder: "v1" in settings

7. Credential Management

List Available Credentials

curl -s -H "X-N8N-API-KEY: $N8N_API_KEY" \
  "$N8N_API_URL/api/v1/credentials" | jq '.data[] | {id, name, type}'

Note: You can list and reference credentials by ID, but you cannot read credential secrets via the API (security). To use a credential in a workflow node, reference it by ID:

{
  "parameters": {...},
  "credentials": {
    "telegramApi": {
      "id": "1",
      "name": "Telegram Bot"
    }
  }
}

Agent Integration Patterns

The Dispatch Pattern (Recommended)

Your OpenClaw agent acts as the brain. n8n acts as the hands.

User Request → Agent (understands intent, plans) → Triggers n8n Webhook → n8n Executes
                                                                              ↓
User ← Agent (formats response) ← Webhook Callback ← n8n Returns Result

How to implement:

  1. Create n8n workflows with webhook triggers for each automation
  2. Store webhook URLs in TOOLS.md
  3. Agent decides WHEN to trigger based on context
  4. n8n handles the HOW (API calls, data transforms, multi-step processes)

The Monitor Pattern

n8n runs scheduled checks. When something interesting happens, it notifies the agent.

n8n (scheduled) → Checks data source → Changed? → Sends to Agent webhook/channel
                                          ↓
                                     Agent processes notification, decides next action

The Approval Pattern

Agent needs human approval before n8n executes an action.

Agent → Asks user for approval (Telegram/Discord) → User approves
  ↓
Agent triggers n8n webhook with approved payload → n8n executes

Error Handling

When a workflow execution fails:

  1. Check execution status — List recent failed executions
  2. Read error details — Get the specific execution to see which node failed and why
  3. Common fixes:
    • Authentication expired → Re-authenticate the credential in n8n UI
    • Rate limited → Add a Wait node before the failing node
    • Data format wrong → Add a Function node to transform data before the failing node
    • Webhook timeout → Increase timeout or use async response mode
  4. Retry — Use the retry API endpoint
  5. Alert user — If the workflow is critical and keeps failing

Best Practices

  1. Name workflows clearly — Prefix with "Agent:" so you know which ones the agent manages
  2. Use test webhooks first — n8n provides test webhook URLs; use those during development
  3. Store webhook URLs in TOOLS.md — The agent needs to know where to send data
  4. Add error handling nodes — Every workflow should have an Error Trigger node that notifies the agent
  5. Log executions — Keep execution history enabled for debugging
  6. One workflow per automation — Don't create mega-workflows; keep them focused
  7. Use environment variables — Store API keys in n8n's environment, not in workflow nodes
  8. Version your workflows — Export important workflows as JSON backups

Troubleshooting

IssueSolution
Webhook not respondingCheck workflow is activated (active: true)
401 on API callsVerify API key is correct and has required scopes
Workflow creates but won't activateCheck for validation errors in nodes
Execution succeeds but no outputCheck response mode on webhook (should be lastNode)
Can't find credential IDList credentials via API, match by name
Connection refusedVerify n8n URL is accessible (Docker networking, firewall)

Quick Reference

# Health check
curl -s "$N8N_API_URL/healthz"

# List all workflows
curl -s -H "X-N8N-API-KEY: $KEY" "$N8N_API_URL/api/v1/workflows" | jq '.data[] | .name'

# Trigger webhook
curl -s -X POST "$N8N_API_URL/webhook/[path]" -H "Content-Type: application/json" -d '{...}'

# Check failed executions
curl -s -H "X-N8N-API-KEY: $KEY" "$N8N_API_URL/api/v1/executions?status=error&limit=5"

# Create workflow from file
curl -s -X POST -H "X-N8N-API-KEY: $KEY" -H "Content-Type: application/json" "$N8N_API_URL/api/v1/workflows" -d @workflow.json

Built by Max | Part of the OpenClaw Setup Service ecosystem | https://marlowne12.github.io/openclaw-setup-service/

Files

5 total
Select a file
Select a file to preview.

Comments

Loading comments…