Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built an n8n workflow that builds, tests, and deploys other n8n workflows from chat

说明与用途

创建了一个自动化的 n8n 流程,从聊天描述生成、验证、测试并部署工作流,确保正确性和安全性。

问题

LLMs often generate invalid n8n workflow JSON, mixing node versions and wiring errors, making deployment unreliable.

结果

The workflow reliably generates valid n8n workflows from chat, validates them, runs tests, and deploys them while preventing credential leakage and unsafe nodes.

工作流

  • 1. User sends a one‑sentence automation request to the Chat Trigger.
  • 2. Claude (Spec model) converts the sentence into a spec (monitor or blueprint).
  • 3. Claude (Build model) generates workflow JSON using pinned node types, versions, and fields.
  • 4. Validation node checks node types, fields, wiring, expressions, and references; auto‑repairs safe mistakes and loops up to 3 attempts.
  • 5. Testing/Review node runs hidden test cases for monitors or a second Claude review for blueprints.
  • 6. Deployment node creates the workflow via n8n API, activates monitors, and saves blueprints inactive with a Setup note.
  • 7. User receives chat reply with test results, workflow link, and next steps.

证据

Getting an LLM to write n8n workflow JSON is easy. Getting JSON that imports cleanly, uses node versions that exist, and does what you asked is harder.

来源

You describe an automation in one sentence in chat, and the workflow builds it, checks it, tests or reviews it, and saves it to your n8n instance.

来源

Built workflows never contain credentials.

来源

  • 记录日期: 2026-10-09T18:55:57.548Z