n8nChat

n8n AI Workflow Builder: n8n Assistant, Prompting, and How to Validate the Graph

Search for "n8n AI workflow builder" and you want a chat that turns a plain-language description into a normal n8n workflow: nodes on the canvas, credentials you control, and a result you can edit and publish by hand.

n8n's current built-in product for that job is n8n Assistant. n8n's own terminology guide now labels AI Workflow Builder as legacy. The older builder generated and refined a single workflow from a prompt, then handed it back. n8n Assistant still builds from a prompt, and it can also edit, test, and troubleshoot the workflow it created.

You need n8n Cloud or self-hosted n8n to use any of this. That n8n link is a sponsored affiliate link.

What "n8n AI workflow builder" refers to

The phrase is a search term, not a single product name. Several n8n features sit near it.

n8n Assistant is the current chat-based agent inside n8n. It creates, edits, tests, and troubleshoots workflows from natural language, and it can also help with instance tasks such as renaming or publishing a workflow.

AI Workflow Builder is the older builder. It handled node selection, placement, and configuration from a prompt, then left you to run and debug the result. The AI Workflow Builder docs are still up, but they are no longer the current path.

Ask n8n AI is n8n's built-in help assistant. The Ask n8n AI docs say it is no longer actively developed, and they point readers to n8n Assistant for building, editing, and running workflows from a chat.

AI Agent and other AI nodes are runtime steps inside a workflow. They call a model when the automation itself needs one. That is a different job from building the canvas. You can use n8n Assistant to place those nodes, then configure them as you would any other node.

[n8nChat](/n8n-ai) is a Chrome and Firefox extension that chats with the official n8n canvas. It is one option for prompt-to-canvas work, not a hosted n8n or a replacement for n8n Assistant.

If you already have n8n open and you want to describe a workflow instead of placing every node by hand, start with n8n Assistant. The sections below cover prompting, review, and where a canvas chat like n8nChat can still help.

What n8n Assistant can do, and who can use it

According to the n8n Assistant docs (checked November 19, 2026), you can ask it to create a workflow from a description, edit an existing one, and test or troubleshoot by inspecting errors and suggesting fixes. It can prompt you to select or create a credential without pasting secrets into chat. It can also help build agents, connect MCP servers, and, when you enable those features, use web access or Browser Use.

The result is a normal n8n workflow you can inspect, edit, test, and publish.

Availability, from those same docs:

  • n8n Cloud: Starter, Pro, and Enterprise
  • Self-hosted: Community, Registered Community, Business, and Enterprise

n8n also marks n8n Assistant as having Limited enterprise readiness. It only partially supports RBAC and project scoping, data residency, queue mode and multi-main, and Environments and source control. Other Enterprise capabilities either do not apply or are not supported yet. The docs also say n8n Assistant can make mistakes, and you should always review a generated workflow before production use.

On n8n Cloud, conversations use Assistant credits. Your plan includes a monthly allowance that resets on the first day of each month, everyone on the instance shares one balance, and the instance owner can buy extra credits if you run out. Assistant credits are separate from Gateway credits, which pay for models your workflows or agents call at runtime. Self-hosted n8n does not use Assistant credits. The self-hosted setup docs require a model provider key for Anthropic, OpenAI, or OpenRouter, plus a sandbox. For self-hosted production, n8n recommends the n8n sandbox service with Sysbox runners.

n8n's help center article on accessing n8n Assistant, updated October 20, 2026, says Cloud users should keep the instance on the latest stable version, then open n8n Assistant from the option that appears when you create a new workflow, or from the AI button in the right-side toolbar.

Write a prompt that constrains the build

The official prompting advice is specific. The n8n Assistant docs tell you to include what should trigger the workflow, which apps or services it should use, what data it should read, send, or update, what should happen on success and on failure, and whether n8n Assistant should ask before publishing.

A prompt from those docs, worth copying as a pattern:

Create a workflow that checks Gmail every morning for invoices,
saves PDF attachments to Google Drive, and adds a row to a Data Table.
Ask me before publishing the workflow.

For an existing workflow, stay equally concrete:

Update this workflow so failed orders are sent to Slack,
then retry the API request after 10 minutes.

If you only want an explanation, say so. A bounded request such as "Explain what this node does and why it fails. Do not change, run, or publish anything" keeps n8n Assistant from starting a build-and-retry loop you did not ask for.

A few habits cut wasted credits and weak first drafts. Review the plan n8n Assistant proposes before you tell it to build. Start a new conversation for an unrelated task, because longer threads, larger workflows, and repeated regenerations use more credits. And do not paste API keys, passwords, or tokens into the chat. Credential secrets belong in n8n's credential screens. The docs also warn against putting secrets in credential descriptions, because n8n Assistant can read those descriptions.

Validate the workflow before you publish it

A green execution is not a finished review. n8n says to review the logic, check node configuration and credentials, test with expected input data, inspect execution results and error handling, and confirm the workflow does not perform unintended actions. n8n Assistant asks for confirmation before high-impact actions such as publishing or deleting. That confirmation is not a substitute for reading the canvas.

In a June 2026 community thread, a user reported that AI Workflow Builder kept saying it had fixed a workflow that still was not working. The run could succeed while a filter still output no items. Tony_jx's advice was direct: "I would not trust the AI builder's “fixed” message until you verify one full data path manually."

Open each node in the last execution and confirm it produced actual output items, not only a green check. Follow one test item from the trigger through the last node. At merges, compare item counts before and after. At filters, check types: a score stored as a string will not compare the way you expect.

Two problems show up often in generated workflows, and both can look like success until you inspect the data. A Code node that should return many items sometimes returns one, with a green run; the Code node guide covers mode, return format, and pairedItem. An AI Agent node can stay green when a tool fails, so an Error Workflow never starts; that case is in the Error Workflow guide for AI Agent tool failures.

Pin a realistic payload, run the workflow, and read the output of every node you care about. Assign an Error Workflow in Settings for production executions, and only publish after that pass.

Where n8nChat fits

n8n Assistant is the built-in path, and for many people it should be the first one to try. n8nChat is a different shape: a Chrome and Firefox extension that chats with the n8n canvas you already have open, on n8n Cloud or a self-hosted editor. It generates or edits the workflow in place. It does not give you a workspace, a queue, or an execution log, and it does not replace n8n.io.

n8nChat is bring-your-own-key (BYOK). You provide an OpenAI or Google API key. The Chrome version also supports OpenRouter and has a model picker; the Firefox version gets both in its next update. Usage bills to that key. Without a key, the extension cannot generate a workflow.

Use it when you want to describe a change on an open canvas and choose the model yourself. Treat the first pass as a draft, the same way you would with n8n Assistant. Open the nodes that matter, fix the mappings, and test in n8n. You can also ignore the chat and edit by hand. The file n8n saves is still a normal workflow.

n8nChat does not take the place of n8n Assistant's credential cards, Assistant credits, or confirmation gates, and it does not set up a self-hosted sandbox for you. Use n8n Assistant when you want the official in-product agent. n8nChat is one option when you want a canvas chat with your own key and a model picker. Plenty of workflows are still faster to build by hand.

Install it from the Chrome Web Store or Firefox Add-ons, or read the n8n AI and workflow builder pages first.

Keep the review, whatever built the draft

Start with a specific prompt. Let n8n Assistant, or a canvas chat like n8nChat, place a first draft. Then check credentials, item counts, and error handling, and test with real input. The workflow you publish should be one you can explain, test, and maintain.

Disclosure: the n8n link in this post is an affiliate link. If you sign up through it, n8nChat may earn a commission at no extra cost to you.

Frequently asked questions

What is the n8n AI workflow builder now?

n8n's current built-in tool is n8n Assistant, a chat-based agent that creates, edits, tests, and troubleshoots workflows from natural language. The older AI Workflow Builder is legacy. The result is a normal n8n workflow you can inspect, edit, and publish.

Is AI Workflow Builder still the product I should use?

No. n8n's terminology guide labels AI Workflow Builder as legacy. It generated and refined a single workflow from a prompt, then handed it back. For building, editing, and running workflows from a chat, n8n points you to n8n Assistant.

Does n8n Assistant work on self-hosted n8n?

Yes. Official docs list it on Community, Registered Community, Business, and Enterprise, as well as n8n Cloud Starter, Pro, and Enterprise. Self-hosted setup requires a model provider key for Anthropic, OpenAI, or OpenRouter, plus a sandbox. n8n marks Enterprise support as Limited enterprise readiness.

How should I prompt n8n Assistant?

Include the trigger, the apps, the data to read or write, what success and failure should do, and whether it should ask before publishing. Review the plan before you tell it to build. Do not paste API keys or passwords into the chat.

How do I validate a workflow that AI generated?

Review the logic, credentials, and node configuration, then test with expected input. In the execution, open each node and confirm it produced actual output items, not only a green status. Follow one item through the whole path, and check error handling before you publish.

Is n8nChat the same as n8n Assistant?

No. n8n Assistant is n8n's built-in agent. n8nChat is a Chrome and Firefox extension that chats with the official n8n canvas you already have open. It is not a hosted n8n and it does not replace n8n.io.

What do I need to use n8nChat?

n8n Cloud or a self-hosted editor, plus your own OpenAI or Google API key (OpenRouter and the model picker are in the Chrome version; the Firefox version gets them in its next update). n8nChat is bring-your-own-key. It cannot generate a workflow without a key.

All n8n fixes and guides

Build workflows with the n8nChat Chrome extension. Also on Firefox. Also see Chrome extension, n8n AI and the n8n workflow builder.