← 返回
内容创作 Key 中文

n8n Builder

Expert n8n workflow builder that creates, deploys, and manages n8n workflows programmatically via the n8n REST API. Use when asked to create n8n workflows, automate n8n tasks, build automations, design workflow pipelines, connect services via n8n, or manage existing n8n workflows. Handles webhook flows, scheduled tasks, AI agents, database syncs, conditional logic, error handling, and any n8n node configuration.
专家级 n8n 工作流构建器,可通过 n8n REST API 以编程方式创建、部署和管理 n8n 工作流。用于创建工作流、自动化任务、构建自动化流程、设计工作流管道、连接服务或管理现有工作流。支持处理 Webhook 流、定时任务、AI 代理、数据库同步、条件逻辑、错误处理及各类 n8n 节点配置。
kassimisai
内容创作 clawhub v1.0.0 1 版本 99935.8 Key: 需要
★ 0
Stars
📥 1,556
下载
💾 117
安装
1
版本
#latest

概述

n8n Workflow Builder

Setup

Requires two environment variables:

  • N8N_URL — n8n instance URL (e.g. https://your-n8n.example.com)
  • N8N_API_KEY — n8n API key (Settings → API → Create API Key)

Workflow

  1. Understand the automation — Clarify trigger (webhook/schedule/manual), data sources, processing logic, outputs, and error handling needs.
  1. Design the workflow JSON — Build valid n8n workflow JSON following the schema in references/workflow-schema.md. Use patterns from references/workflow-patterns.md as templates.
  1. Deploy via API — Use scripts/n8n-api.sh create or pipe JSON to scripts/n8n-api.sh create-stdin.
  1. Activate — Use scripts/n8n-api.sh activate for trigger-based workflows.
  1. Verify — List workflows to confirm deployment: scripts/n8n-api.sh list.

API Script Reference

# List all workflows
scripts/n8n-api.sh list

# Create workflow from JSON file
scripts/n8n-api.sh create /tmp/workflow.json

# Create from stdin
echo '{"name":"Test",...}' | scripts/n8n-api.sh create-stdin

# Get, activate, deactivate, delete, execute
scripts/n8n-api.sh get <id>
scripts/n8n-api.sh activate <id>
scripts/n8n-api.sh deactivate <id>
scripts/n8n-api.sh delete <id>
scripts/n8n-api.sh execute <id>

# List credentials and tags
scripts/n8n-api.sh credentials
scripts/n8n-api.sh tags

Building Workflow JSON

Every workflow needs: name, nodes[], connections{}, settings{}.

Every node needs: id, name, type, typeVersion, position, parameters.

Connections use source node display name as key, mapping outputs to target nodes.

For full schema, node types, and expression syntax → read references/workflow-schema.md

For complete workflow examples (webhook, schedule, AI agent, DB sync, error handling) → read references/workflow-patterns.md

Key Rules

  • Always set "executionOrder": "v1" in settings
  • Node names must be unique within a workflow
  • Node IDs must be unique — use descriptive slugs like webhook1, code1
  • Position nodes starting at [250, 300], spacing ~200px horizontally
  • IF nodes have two outputs: index 0 = true, index 1 = false
  • Webhook workflows need respondToWebhook node if responseMode is responseNode
  • Credentials must exist in n8n before activation — check with scripts/n8n-api.sh credentials
  • Test before activating — use scripts/n8n-api.sh execute for manual trigger workflows
  • Use continueOnFail: true on risky HTTP/API nodes, then check for errors downstream

Common Real Estate Workflows

  • Lead intake: Webhook → validate → dedupe → insert DB → notify Slack/SMS
  • Call follow-up: Schedule → query DB for completed calls → send SMS/email based on outcome
  • Drip campaign: Schedule → query leads by stage → send stage-appropriate email/SMS
  • CRM sync: Webhook → transform → update HubSpot/Salesforce + internal DB
  • Property alerts: Schedule → scrape/API listings → filter new → notify leads
  • AI qualification: Webhook → AI Agent (classify lead intent) → route to appropriate pipeline

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 00:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Web Searcher

kassimisai
自主网络研究代理,能够执行多步搜索、跟踪链接、提取数据,并将研究结果综合成结构化报告。适用于研究特定主题、跨来源查找信息、比较选项、收集市场数据、汇总清单,或回答需要深入网络调查(超出单一搜索范围)的问题。
★ 1 📥 1,825
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,203
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,492