OpenClaw Plugin
The @n8n-as-code/openclaw-plugin package gives OpenClaw native access to the same n8nac workflow model used across the rest of the project.
It is the right entry point when you want OpenClaw to:
- bootstrap an n8n workspace for you
- carry the generated
AGENTS.mdcontext into prompts automatically - run workflow operations through the shared
n8nacCLI and tool surface
What It Adds
Once installed, the plugin gives OpenClaw:
- an
n8nactool for setup, workflow sync, validation, and skills access - an
openclaw n8nac:setupwizard for host, API key, and project selection - automatic prompt grounding from the generated
AGENTS.md - an OpenClaw-native workspace rooted at
~/.openclaw/n8nac/
Install
Install the published plugin package:
openclaw plugins install @n8n-as-code/openclaw-plugin
Then run the setup wizard:
openclaw n8nac:setup
When setup completes, restart the gateway so the plugin and generated AI context are active:
openclaw gateway restart
Setup Flow
The setup wizard walks through the same core steps as the CLI:
- Save the n8n host and API key through
n8nac init-auth. - Select the active n8n project.
- Generate
AGENTS.mdwithn8nac update-ai. - Point OpenClaw at the initialized workspace in
~/.openclaw/n8nac/.
After that, you can ask for workflow work in plain language, for example:
Create an n8n workflow that sends a Slack message when a GitHub issue is openedPull workflow 42 and add retry handling before the HTTP Request nodeWhat operations does the Google Sheets node support?
Workspace Layout
The plugin keeps its working files under:
~/.openclaw/n8nac/
n8nac-config.json
AGENTS.md
workflows/
n8nac-config.jsonstores the selected project bindingAGENTS.mdcontains the generated workflow instructions and schema-first guardrailsworkflows/holds the local.workflow.tsfiles you pull and edit
Commands
OpenClaw Commands
| Command | Description |
|---|---|
openclaw n8nac:setup | Interactive setup wizard |
openclaw n8nac:status | Check workspace and connection state |
openclaw gateway restart | Reload the plugin after setup or local changes |
Underlying n8nac Flow
The plugin still uses the shared CLI model underneath:
npx --yes n8nac list
npx --yes n8nac pull <workflow-id>
npx --yes n8nac push <file>
npx --yes n8nac update-ai
That keeps OpenClaw aligned with the CLI, VS Code extension, and Claude plugin instead of inventing a separate sync path.
Troubleshooting
See the OpenClaw section in the Troubleshooting guide.
To reset the workspace and start over:
rm -rf ~/.openclaw/n8nac
openclaw n8nac:setup
openclaw gateway restart