Build with AI

Build workflows with the AI chat or an MCP client.

Zerodot has two ways to build workflows with AI. You can use the chat in the app. You can also connect an outside AI agent through MCP.

Open Build with AI in the workflow list or in the editor. The window has two tabs: Chat and MCP.

Use the chat in the app

The chat needs an AI provider key. Without a key, the chat shows No AI model configured.

Add a provider key

Zerodot has Anthropic, OpenAI, and Google built in. You can also add a custom provider with a Base URL and your own model IDs.

  • For one project: open Project settings, find AI providers, and click Configure.
  • For all projects: an instance admin opens System > Instance, finds AI providers, and sets the default key there.

A project key overrides the instance key for the same provider. Zerodot stores all keys encrypted.

For a custom provider, enter the Base URL. In Models, enter model IDs separated by commas. The built-in models stay available for Anthropic, OpenAI, and Google.

Chat

  1. Open Build with AI.
  2. Select a model.
  3. Describe the workflow, or ask for a change.
  4. Click Send.

In the editor, the chat works on the workflow that is open. Click Stop to stop the AI. Click New chat to start again. Click Previous chats to open an old chat. Click Delete chat to remove one.

While the AI edits the workflow, the editor shows AI is editing. When the AI needs you, it shows AI waits for you.

Connect an agent through MCP

You can connect Claude Code, Cursor, or any MCP client. The agent can build, test, and fix workflows.

Get a key

  1. Open Build with AI and click the MCP tab.
  2. Click Create key.
  3. Copy the key.

The key has the member role and expires in 90 days. It shows only one time. Only an owner or an admin can create a key.

You can also use a key that exists. Any project API key works. See API keys.

Connect the client

The MCP address is your Zerodot address with /mcp, for example https://zerodot.example.com/mcp.

For Claude Code, run:

claude mcp add --transport http zerodot <url>/mcp --header "Authorization: Bearer <key>"

For Cursor, add this to .cursor/mcp.json:

{
  "mcpServers": {
    "zerodot": {
      "url": "<url>/mcp",
      "headers": { "Authorization": "Bearer <key>" }
    }
  }
}

A client that does not support remote servers needs mcp-remote.

Starter prompts

The window gives a starter prompt. To make a new workflow, it says:

Use the zerodot MCP server. Build a workflow that [describe your task]. Call list_node_types and get_node_type to get valid config. Create it with create_workflow. Run test_workflow, read get_run, and fix errors until the test passes.

To change a workflow, it says:

Use the zerodot MCP server. Change the workflow with id {id} so that [describe your change]. Call list_node_types and get_node_type to get valid config. Update it with update_workflow_draft. Run test_workflow, read get_run, and fix errors until the test passes.

Both prompts then tell the agent to call arrange_workflow when the test passes, and not to publish.

Safety

  • The key can also publish. Read each change before you publish it.
  • A test run uses real credentials and writes real data.
  • If a node package or a credential is missing, the agent gives you a link. You open the link and finish the setup. Then the agent calls wait_for_setup and continues by itself.
  • Do not paste secrets in the chat. Add them with the links.

MCP tools

Workflows

Tool What it does
list_workflows List the workflows of the project.
get_workflow Get a workflow with its draft and trigger URLs.
create_workflow Make a workflow.
update_workflow_draft Change the draft of a workflow.
arrange_workflow Arrange the nodes of a workflow.
publish_workflow Publish the draft as a new version.
set_workflow_active Turn the triggers on or off. A published version is needed.
list_workflow_versions List the published versions.
restore_workflow_version Restore the draft from a version.
export_workflow Export a workflow.
preview_import Check an import before you make it.
import_workflow Import a workflow.
list_workflow_shares List the share links of a workflow.
create_workflow_share Make a share link.
update_workflow_share Change a share link.

Runs

Tool What it does
test_workflow Run the draft in test mode.
run_workflow Run the published version.
get_run Get a run with the result of each node.
list_runs List runs. Filter by workflow.
retry_run Try a run again.
get_insights Get run statistics.

Nodes and setup

Tool What it does
list_node_types List node types with label, category, and ports.
get_node_type Get the config schema and default config of a node type.
search_node_catalog Search the node catalog.
list_credentials List credentials.
wait_for_setup Wait until you finish an install or credential link.

Variables and data tables

Tool What it does
list_variables List project variables.
set_variable Set a variable.
list_tables List data tables with columns and row counts.
query_rows Read rows from a table.
insert_rows Add rows to a table.
update_rows Change rows in a table.

For the REST API, see API overview.

Change this page on GitHub