{
  "schemaVersion": "1.0",
  "item": {
    "slug": "n8n-automation",
    "name": "n8n Automation",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/DILOmcfly/n8n-automation",
    "canonicalUrl": "https://clawhub.ai/DILOmcfly/n8n-automation",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/n8n-automation",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=n8n-automation",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/api-endpoints.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/n8n-automation"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/n8n-automation",
    "agentPageUrl": "https://openagent3.xyz/skills/n8n-automation/agent",
    "manifestUrl": "https://openagent3.xyz/skills/n8n-automation/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/n8n-automation/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "n8n Automation",
        "body": "Control n8n workflow automation platform via REST API."
      },
      {
        "title": "Setup",
        "body": "Set these environment variables (or store in .n8n-api-config):\n\nexport N8N_API_URL=\"https://your-instance.app.n8n.cloud/api/v1\"  # or http://localhost:5678/api/v1\nexport N8N_API_KEY=\"your-api-key-here\"\n\nGenerate API key: n8n Settings → n8n API → Create an API key."
      },
      {
        "title": "Quick Reference",
        "body": "All calls use header X-N8N-API-KEY for auth."
      },
      {
        "title": "List Workflows",
        "body": "curl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/workflows\" | jq '.data[] | {id, name, active}'"
      },
      {
        "title": "Get Workflow Details",
        "body": "curl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/workflows/{id}\""
      },
      {
        "title": "Activate/Deactivate Workflow",
        "body": "# Activate\ncurl -s -X PATCH -H \"X-N8N-API-KEY: $N8N_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"active\": true}' \"$N8N_API_URL/workflows/{id}\"\n\n# Deactivate\ncurl -s -X PATCH -H \"X-N8N-API-KEY: $N8N_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"active\": false}' \"$N8N_API_URL/workflows/{id}\""
      },
      {
        "title": "Trigger Workflow (via webhook)",
        "body": "# Production webhook\ncurl -s -X POST \"$N8N_API_URL/../webhook/{webhook-path}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"key\": \"value\"}'\n\n# Test webhook\ncurl -s -X POST \"$N8N_API_URL/../webhook-test/{webhook-path}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"key\": \"value\"}'"
      },
      {
        "title": "List Executions",
        "body": "# All recent executions\ncurl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/executions?limit=10\" | jq '.data[] | {id, workflowId, status, startedAt}'\n\n# Failed executions only\ncurl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/executions?status=error&limit=5\"\n\n# Executions for specific workflow\ncurl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/executions?workflowId={id}&limit=10\""
      },
      {
        "title": "Get Execution Details",
        "body": "curl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/executions/{id}\""
      },
      {
        "title": "Create Workflow (from JSON)",
        "body": "curl -s -X POST -H \"X-N8N-API-KEY: $N8N_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d @workflow.json \"$N8N_API_URL/workflows\""
      },
      {
        "title": "Delete Workflow",
        "body": "curl -s -X DELETE -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/workflows/{id}\""
      },
      {
        "title": "Health Check (run periodically)",
        "body": "List active workflows, check recent executions for errors, report status:\n\n# Count active workflows\nACTIVE=$(curl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/workflows?active=true\" | jq '.data | length')\n\n# Count failed executions (last 24h)\nFAILED=$(curl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/executions?status=error&limit=100\" | jq '[.data[] | select(.startedAt > (now - 86400 | todate))] | length')\n\necho \"Active workflows: $ACTIVE | Failed (24h): $FAILED\""
      },
      {
        "title": "Debug Failed Execution",
        "body": "List failed executions → get execution ID\nFetch execution details → find the failing node\nCheck node parameters and input data\nSuggest fix based on error message"
      },
      {
        "title": "Workflow Summary",
        "body": "Parse workflow JSON to summarize: trigger type, node count, apps connected, schedule."
      },
      {
        "title": "API Endpoints Reference",
        "body": "See references/api-endpoints.md for complete endpoint documentation."
      },
      {
        "title": "Tips",
        "body": "API key has full access on non-enterprise plans\nRate limits vary by plan (cloud) or are unlimited (self-hosted)\nWebhook URLs are separate from API URLs (no auth header needed)\nUse ?active=true or ?active=false to filter workflow listings\nExecution data may be pruned based on n8n retention settings"
      }
    ],
    "body": "n8n Automation\n\nControl n8n workflow automation platform via REST API.\n\nSetup\n\nSet these environment variables (or store in .n8n-api-config):\n\nexport N8N_API_URL=\"https://your-instance.app.n8n.cloud/api/v1\"  # or http://localhost:5678/api/v1\nexport N8N_API_KEY=\"your-api-key-here\"\n\n\nGenerate API key: n8n Settings → n8n API → Create an API key.\n\nQuick Reference\n\nAll calls use header X-N8N-API-KEY for auth.\n\nList Workflows\ncurl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/workflows\" | jq '.data[] | {id, name, active}'\n\nGet Workflow Details\ncurl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/workflows/{id}\"\n\nActivate/Deactivate Workflow\n# Activate\ncurl -s -X PATCH -H \"X-N8N-API-KEY: $N8N_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"active\": true}' \"$N8N_API_URL/workflows/{id}\"\n\n# Deactivate\ncurl -s -X PATCH -H \"X-N8N-API-KEY: $N8N_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"active\": false}' \"$N8N_API_URL/workflows/{id}\"\n\nTrigger Workflow (via webhook)\n# Production webhook\ncurl -s -X POST \"$N8N_API_URL/../webhook/{webhook-path}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"key\": \"value\"}'\n\n# Test webhook\ncurl -s -X POST \"$N8N_API_URL/../webhook-test/{webhook-path}\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"key\": \"value\"}'\n\nList Executions\n# All recent executions\ncurl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/executions?limit=10\" | jq '.data[] | {id, workflowId, status, startedAt}'\n\n# Failed executions only\ncurl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/executions?status=error&limit=5\"\n\n# Executions for specific workflow\ncurl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/executions?workflowId={id}&limit=10\"\n\nGet Execution Details\ncurl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/executions/{id}\"\n\nCreate Workflow (from JSON)\ncurl -s -X POST -H \"X-N8N-API-KEY: $N8N_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d @workflow.json \"$N8N_API_URL/workflows\"\n\nDelete Workflow\ncurl -s -X DELETE -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/workflows/{id}\"\n\nCommon Patterns\nHealth Check (run periodically)\n\nList active workflows, check recent executions for errors, report status:\n\n# Count active workflows\nACTIVE=$(curl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/workflows?active=true\" | jq '.data | length')\n\n# Count failed executions (last 24h)\nFAILED=$(curl -s -H \"X-N8N-API-KEY: $N8N_API_KEY\" \"$N8N_API_URL/executions?status=error&limit=100\" | jq '[.data[] | select(.startedAt > (now - 86400 | todate))] | length')\n\necho \"Active workflows: $ACTIVE | Failed (24h): $FAILED\"\n\nDebug Failed Execution\nList failed executions → get execution ID\nFetch execution details → find the failing node\nCheck node parameters and input data\nSuggest fix based on error message\nWorkflow Summary\n\nParse workflow JSON to summarize: trigger type, node count, apps connected, schedule.\n\nAPI Endpoints Reference\n\nSee references/api-endpoints.md for complete endpoint documentation.\n\nTips\nAPI key has full access on non-enterprise plans\nRate limits vary by plan (cloud) or are unlimited (self-hosted)\nWebhook URLs are separate from API URLs (no auth header needed)\nUse ?active=true or ?active=false to filter workflow listings\nExecution data may be pruned based on n8n retention settings"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/DILOmcfly/n8n-automation",
    "publisherUrl": "https://clawhub.ai/DILOmcfly/n8n-automation",
    "owner": "DILOmcfly",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/n8n-automation",
    "downloadUrl": "https://openagent3.xyz/downloads/n8n-automation",
    "agentUrl": "https://openagent3.xyz/skills/n8n-automation/agent",
    "manifestUrl": "https://openagent3.xyz/skills/n8n-automation/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/n8n-automation/agent.md"
  }
}