DField SolutionsMérnöki stúdió · Budapest
Loading · Töltődik
Skip to content

n8n AI Workflow Generator

Describe the workflow in plain language, get a ready-to-import n8n JSON · all nodes wired, credentials slotted, test data included.

A Chainlit-based chat UI where you describe your workflow ('when a new lead lands in Typeform, send a Slack message and log to Notion'), the AI produces real n8n JSON with the right nodes, credential slots, and test data. Import-ready. Trained on many templates with fastembed vector search to find the closest-matching pattern.

Listen
CASE STUDY · 2026

Describe in plain language what you want automated. Built an AI flow generator for n8n. Two minutes later a working automation drops out, ready to run, no engineer needed.

n8n AI Workflow Generator is a chat-first tool: type the automation in plain language, get back an import-ready n8n JSON with the right nodes, credential slots, and test data. The studio shipped the FastEmbed template index, the Chainlit chat UI, the iterative-refinement loop, and the export pipeline.

DELIVERY·BUILD SPRINTSTACK·Python · TypeScript · FastEmbed · Chainlit · aiosqliteOUTPUT·Import-ready n8n JSON
Anonymous client

Our project managers used to wait days for an engineer to build them an automation. The studio built a tool where the manager just describes what they want in plain language, and two minutes later a working flow drops out, ready to run. Engineers only check the changes. About two engineering hours saved per workflow, and the team is happier.

Anonymous·Engineering manager · automation team (under NDA)UNDER NDA
<2 minIdea → import
EN/HUBilingual prompt
Localaiosqlite history
VectorFastEmbed template search

What's on screen

Frame breakdown
n8n AI Workflow Generator · describe a workflow in plain language, ship n8n nodes
  • 01User surface

    The whole experience the user sees

    This frame shows the live product: describe the workflow in plain language, get a ready-to-import n8n json · all nodes wired, credentials slotted, test data included. Every component is ours · scope, design, code, deploy.

  • 02Stack behind the screen

    What's powering it: Python, TypeScript, Greenlet

    6 stack components run behind this frame · Python, TypeScript, Greenlet drive the visible UI; the rest sit in the data layer. All studio-owned.

  • 03What we shipped

    Natural-language input · Hungarian and English both supported

    Workflow idea → running n8n flow in 2 minutes

  • 04Status

    Private deploy · under NDA.

    Per the client's request the URL stays private · the build, architecture, and lessons can be shared in a scoping call.

How it shipped

Timeline
  • 01 · BRIEF

    Why does ChatGPT-generated n8n JSON never import?

    Diagnosed the failure mode: ChatGPT lacks node-schema awareness and credential semantics. We built a vector-search-first generator that always starts from a known-good template, then refines.

  • 02 · ARCHITECTURE

    Stack decisions before any code.

    Decision doc captured the data flow, Python, TypeScript, Greenlet, FastEmbed role split, and the failure modes we'd handle in v1 vs defer. Cross-service boundaries (where AI ends and the web app begins) were drawn here so neither side leaked into the other later.

  • 02 · BUILD

    Chainlit + FastEmbed + iterative refinement.

    Chainlit hosts the chat, the user describes the flow, FastEmbed retrieves the closest matching template, the LLM patches it to the user's spec. Iteration is conversational · 'add a Notion node after the Slack message' just works.

  • 04 · POLISH

    Performance, accessibility, and observability.

    PSI / a11y / coverage budgets enforced as launch gates. Logging + metrics wired before cut-over · the team can answer 'is it working?' from a dashboard, not a Slack thread. Threat-model checklist signed off before traffic hits the box.

  • 03 · SHIP

    Local-first deploy · history stays on the user's box.

    aiosqlite holds the conversation + template history locally · no external persistence, no leakage of the user's automation logic. Export button drops a JSON file ready for n8n's import.

What shipped

04
  • 01Chat

    Chainlit chat UI · iterate in conversation

    Same UI for first draft and refinement · users don't switch contexts to tweak.

  • 02Search

    FastEmbed template index

    Vector search over a curated template gallery · the generator always starts from a known-good base.

  • 03Export

    Import-ready n8n JSON

    Output is validated against the n8n schema before download · 'JSON copies cleanly into n8n' is a launch gate.

  • 04Local

    aiosqlite-only persistence

    Conversation + template history stays on the user's machine · no SaaS lock-in for sensitive automation logic.

From the video

Frame by frame
  • Init screen · Used Start n8n / Load node catalog / Build embeddings index, with quick-start prompts and a Calendar→Notion starter
    01Frame

    Init · 438 nodes indexed, quick-starts visible

    First message logs the boot tools (`Start n8n` / `Load node catalog` / `Build embeddings index` · 438 nodes). Quick-start chips (URL→Discord, RSS+AI digest, GitHub PR review, support triage) lower the barrier to first prompt.

  • Agent build sequence · generate UUIDs / build workflow JSON / validate / refine with Split Out node / save / import
    02Frame

    Agentic build · UUIDs → JSON → validate → refine → import

    Agent loops through real tools: `generate 8 UUIDs` for node ids, builds the JSON, calls `validate workflow`, realises a Split Out node is missing, refines, validates again, saves, imports. Each step is a tool call you can drill into, not opaque LLM prose.

  • Confirmation modal 'Create New Chat' with workflow file location and import notes
    03Frame

    Handover · file location + import note

    After import, the agent shows the saved file path (`workflows/calendar_to_notion_via_openai.json`), notes about scheduling, format requirements, and the n8n sign-in caveat · the user has the artefact + the runbook in one place.

  • Second workflow · order processing webhook with VIP / non-VIP branches converging through Postgres → Email → Asana
    04Frame

    Second flow · 8-node order pipeline with branch logic

    More involved order-processing webhook · 8 nodes, VIP / non-VIP branches that have to converge into Postgres → SendGrid email → Asana task. Agent rebuilds when validation flags the connection logic, no human cleanup.

2026YEAR
03SERVICES
06TECHNOLOGIES
PRIVATESTATUS

THE PROBLEM

  • n8n is huge · browsing the node catalogue takes hours
  • The template gallery is limited · rarely fits your exact case
  • Building a custom workflow is just node-parameter wrangling
  • ChatGPT-generated JSON rarely imports cleanly

WHAT THE CLIENT GOT

  • Workflow idea → running n8n flow in 2 minutes
  • Non-technical PM can mock valid n8n JSON
  • Example-driven · modernise legacy workflows fast
  • Chat-based iteration · refine as you go

WHAT WE DELIVERED

  • +Natural-language input · Hungarian and English both supported
  • +Export · ready-to-import n8n JSON
  • +FastEmbed vector template search · starts from the closest match
  • +Chainlit chat UI · iterate in a conversation
  • +Local aiosqlite · conversation and template history stay on your machine

STACK

  • Python
  • TypeScript
  • Greenlet
  • FastEmbed
  • aiosqlite
  • Chainlit
Previous projectMCP Security Layer Next projectThe Truth AI News
talk to us

Like what you see? Let's build yours.

Short email or a 30-min call · 24h reply.

Start a project