Skip to main content
RapidDev - Software Development Agency

How to Install and Use n8n workflow automation in OpenClaw

To use pre-built n8n workflow templates in OpenClaw, run `clawhub install n8n-workflow-automation`, configure your N8N_BASE_URL and N8N_API_KEY, and ask OpenClaw to browse, deploy, and run workflow templates from the n8n template library. This skill goes beyond basic triggering — it lets you discover templates by use case, deploy them to your n8n instance, and customize them through natural language conversation.

What you'll learn

  • How to install the n8n-workflow-automation ClawHub skill and connect it to your n8n instance
  • How to browse and search the n8n template library from OpenClaw chat
  • How to deploy pre-built workflow templates to your n8n instance through OpenClaw
  • How to manage multiple workflows — enable, disable, rename, and delete — via OpenClaw prompts
  • The difference between this skill and the base n8n skill, and when to use each
Book a free consultation
4.9Clutch rating
600+Happy partners
17+Countries served
190+Team members
Beginner12 min read15 minutesDeveloper ToolsMarch 2026RapidDev Engineering Team
TL;DR

To use pre-built n8n workflow templates in OpenClaw, run `clawhub install n8n-workflow-automation`, configure your N8N_BASE_URL and N8N_API_KEY, and ask OpenClaw to browse, deploy, and run workflow templates from the n8n template library. This skill goes beyond basic triggering — it lets you discover templates by use case, deploy them to your n8n instance, and customize them through natural language conversation.

Get More From n8n With Workflow Templates in OpenClaw

n8n has a rich library of over 1,000 pre-built workflow templates covering common automation scenarios: syncing data between apps, sending notifications, processing webhooks, enriching CRM records, and more. Normally, using these templates requires navigating to n8n's template site, finding the right template, importing it into your instance, and then configuring credentials manually. The n8n-workflow-automation skill eliminates this process: describe what you want to automate, and OpenClaw finds the matching template, imports it, and walks you through credential configuration.

This skill is the natural evolution of the base n8n skill. Where n8n covers triggering and monitoring existing workflows, n8n-workflow-automation adds the ability to build your automation library from scratch using templates as starting points. For teams new to n8n, this dramatically reduces the learning curve — instead of building workflows from scratch in the visual editor, you start with a proven template and customize from there.

The skill also provides workflow management capabilities: you can list all workflows, enable or disable specific ones, rename them, check their activation status, and delete ones you no longer need — all from OpenClaw chat. For power users managing dozens of workflows, this conversational management interface is significantly faster than clicking through the n8n dashboard.

Integration method

ClawHub Skill

The n8n-workflow-automation skill is a ClawHub native skill that extends the base n8n skill with workflow template discovery, deployment, and management capabilities. It connects to both the n8n REST API and the n8n template library, letting OpenClaw find templates by use case, deploy them to your running n8n instance, and configure their credentials. The skill installs in one command and reuses the same N8N_BASE_URL and N8N_API_KEY as the base n8n skill.

Prerequisites

  • OpenClaw installed and running (see openclaw.ai for installation instructions)
  • ClawHub CLI available in your terminal (comes bundled with OpenClaw)
  • A running n8n instance (self-hosted or n8n Cloud) with the API enabled in Settings > API
  • An n8n API key generated in Settings > API > API Keys
  • Basic familiarity with n8n concepts (workflows, nodes, credentials) is helpful but not required

Step-by-step guide

1

Install the n8n-workflow-automation Skill via ClawHub

Open your terminal and run the ClawHub install command for the n8n-workflow-automation skill. This is the extended n8n skill that adds template management and workflow administration on top of the basic trigger/monitor capabilities. If you already have the base `n8n` skill installed, this skill installs alongside it — both can be active simultaneously and they share the same N8N_BASE_URL and N8N_API_KEY credentials. After installation, ClawHub confirms the skill version and lists the required configuration keys. The skill requires the same credentials as the base n8n skill: N8N_BASE_URL and N8N_API_KEY. If you have already configured these for the base n8n skill, this skill will use them automatically — no additional configuration is needed. If you have not yet set up the base n8n skill credentials, proceed to Step 2 to configure them.

terminal
1clawhub install n8n-workflow-automation
2
3# If you already have the base n8n skill, both can run simultaneously:
4clawhub list | grep n8n

Pro tip: Run `clawhub info n8n-workflow-automation` to see all available configuration options and capabilities. This skill extends but does not replace the base n8n skill — install both if you need trigger/monitor alongside template management.

Expected result: Terminal shows: 'n8n-workflow-automation@X.X.X installed successfully'. The skill appears in `clawhub list` output alongside the base n8n skill if installed.

2

Configure N8N_BASE_URL and N8N_API_KEY

If you have not already configured n8n credentials for the base n8n skill, do so now. Log in to your n8n instance and go to Settings > API. Enable the API if it is not already enabled, then generate a new API key under the API Keys section. Copy the generated key — it starts with `n8n_api_`. Your N8N_BASE_URL is the root URL of your n8n instance without any path or trailing slash. For self-hosted installations this is typically `http://localhost:5678` or `http://your-server-ip:5678`. For n8n Cloud accounts, it is in the format `https://your-org.app.n8n.cloud`. Add both values to your OpenClaw configuration using the method you prefer: editing `~/.openclaw/.env` directly, or using `clawhub config set` commands. If you already have these set from the base n8n skill, you can skip this step entirely — the n8n-workflow-automation skill reads the same config values.

terminal
1# Set credentials (skip if already configured for the base n8n skill)
2clawhub config set N8N_BASE_URL http://localhost:5678
3clawhub config set N8N_API_KEY n8n_api_your-api-key-here
4
5# Reload to apply
6clawhub reload
7
8# Verify credentials
9clawhub config get N8N_BASE_URL
10clawhub config get N8N_API_KEY

Pro tip: For n8n Cloud, your base URL includes your organization name and looks like `https://myorg.app.n8n.cloud`. Find it in your n8n Cloud dashboard under Settings > API.

Expected result: Both config values confirmed with `clawhub config get`. OpenClaw shows the n8n-workflow-automation skill as active after `clawhub reload`.

3

Browse and Search the n8n Template Library

With the skill configured, open OpenClaw chat and start browsing the n8n template library. The skill understands natural language descriptions of automation tasks and matches them against the n8n template catalog. You can search by what you want to automate, by the apps involved, or by category. The template search capability queries the n8n public template library at n8n.io/workflows and returns the most relevant matches for your description. Each result includes the template name, a summary of what it does, which n8n nodes it uses, and a difficulty indicator. You can ask OpenClaw to show you more details about a specific template before deciding to deploy it. Template availability depends on your n8n version and installed nodes. The skill notes when a template requires nodes not available in your n8n instance and suggests installing the relevant n8n community nodes if applicable.

OpenClaw Prompt

Search the n8n template library for workflows that connect Notion and Slack. Show me the top 5 results with a brief description of what each one does.

Paste this in OpenClaw chat

Pro tip: Be specific in your template searches — 'sync new Airtable records to a Notion database' finds far more relevant templates than 'connect Airtable and Notion'. The more detail you provide about the trigger and action, the better the match quality.

Expected result: OpenClaw returns a list of matching n8n templates from the template library with names, descriptions, and node requirements for each.

4

Deploy a Template to Your n8n Instance

Once you find a template you want to use, ask OpenClaw to deploy it to your n8n instance. The skill imports the workflow JSON directly into your n8n instance via the REST API, creating the workflow in inactive/draft state so you can review and configure credentials before activating it. After deployment, the skill lists the credentials required by the template — for example, a Slack workflow requires a Slack credential with appropriate scopes. It provides instructions for setting up each credential in the n8n dashboard. Credential setup must be done in the n8n UI since API keys for other services are managed by n8n's credential vault, not by OpenClaw. Once credentials are configured in n8n, you can ask OpenClaw to activate the workflow, which sets it to Active and enables it to run on its configured trigger.

OpenClaw Prompt

Deploy the Notion to Slack notification template to my n8n instance. Tell me what credentials I need to configure before I can activate it.

Paste this in OpenClaw chat

Pro tip: Always review a deployed template in the n8n editor before activating it — even pre-built templates may have node configurations that need adjustment for your specific use case. OpenClaw can deploy the template, but a quick visual review in n8n is worth the extra minute.

Expected result: The template appears in your n8n dashboard as a new inactive workflow. OpenClaw lists the credentials required and confirms the workflow ID for future reference.

5

Manage Your Workflow Library from OpenClaw Chat

The n8n-workflow-automation skill gives you a conversational interface for managing all your n8n workflows without opening the n8n dashboard. You can list workflows by status, activate or deactivate specific workflows, rename them, and check execution statistics. This is particularly valuable for teams managing large n8n environments with dozens of workflows. Instead of scrolling through the n8n dashboard, you can ask OpenClaw to give you a status report, identify workflows that need attention, or make bulk changes based on naming patterns. RapidDev recommends building a habit of running a weekly n8n health check from OpenClaw — asking for failed executions, inactive workflows that should be active, and workflows with no recent runs. This keeps your automation suite clean without requiring dedicated monitoring infrastructure.

OpenClaw Prompt

Give me a full status report of my n8n instance: how many workflows are active, how many are inactive, and were there any failures in the last 7 days?

Paste this in OpenClaw chat

~/.openclaw/skills/n8n-workflow-automation.yaml
1# Example skill configuration for workflow management
2# ~/.openclaw/skills/n8n-workflow-automation.yaml
3n8n-workflow-automation:
4 base_url: "" # Leave blank if using N8N_BASE_URL env var
5 api_key: "" # Leave blank if using N8N_API_KEY env var
6 template_cache_ttl: 3600 # Seconds to cache template search results (default: 1 hour)
7 deploy_as_inactive: true # Deploy templates as inactive for review before activation
8 max_templates_returned: 10 # Max template results per search query

Pro tip: Use the `deploy_as_inactive: true` setting (the default) so all deployed templates start in draft state — this prevents accidental activation of templates before you have configured their credentials.

Expected result: OpenClaw returns a comprehensive status report of your n8n instance including workflow counts, active/inactive breakdown, and recent execution health metrics.

Common use cases

Template Discovery and Deployment

Describe an automation scenario in plain English and let OpenClaw search the n8n template library for matching workflows. When it finds a good match, ask OpenClaw to deploy it directly to your n8n instance — no manual importing or copy-pasting JSON.

OpenClaw Prompt

Find me an n8n template that automatically sends a Slack message when a new row is added to a Google Sheet. Deploy the best match to my n8n instance.

Copy this prompt to try it in OpenClaw

Bulk Workflow Management

When setting up a new n8n environment or migrating between instances, use OpenClaw to list all workflows, check their status, and bulk-activate the ones you need. This replaces clicking through the n8n dashboard workflow by workflow.

OpenClaw Prompt

List all my n8n workflows and tell me which ones are currently inactive. Then activate all the ones with 'production' in their names.

Copy this prompt to try it in OpenClaw

Workflow Health Auditing

Ask OpenClaw to audit your n8n workflow library — find workflows that have not run in over 30 days, workflows with recent failures, or duplicate workflows doing similar things. Use the results to clean up and optimize your automation suite.

OpenClaw Prompt

Audit my n8n instance: which workflows haven't had a successful execution in the past 30 days? List them by name and last execution date.

Copy this prompt to try it in OpenClaw

Troubleshooting

OpenClaw returns 'n8n-workflow-automation: authentication failed' or '401 Unauthorized'

Cause: N8N_API_KEY is missing, expired, or set incorrectly. This skill shares credentials with the base n8n skill — if you recently regenerated your n8n API key, you need to update it in OpenClaw's config.

Solution: Run `clawhub config get N8N_API_KEY` to check the current value. If it is blank or outdated, go to your n8n instance Settings > API > API Keys, generate a new key, and update OpenClaw with `clawhub config set N8N_API_KEY n8n_api_new-key`. Run `clawhub reload`.

typescript
1clawhub config set N8N_API_KEY n8n_api_XXXXXXXXXXXX
2clawhub reload

clawhub install n8n-workflow-automation fails with a version conflict error

Cause: If you have an older version of the base n8n skill installed, the n8n-workflow-automation skill may require a newer compatible version.

Solution: Update the base n8n skill first with `clawhub update n8n`, then retry installing n8n-workflow-automation. If the conflict persists, try force-installing: `clawhub install n8n-workflow-automation --force`.

typescript
1clawhub update n8n
2clawhub install n8n-workflow-automation --force

Template search returns no results or irrelevant results

Cause: Template searches with very broad or vague terms return poor results because the skill matches against template titles and descriptions. Overly generic queries like 'automate my work' do not map to specific templates.

Solution: Rephrase your search with specific app names and action types. Instead of 'automate notifications', try 'send a Slack message when a new Typeform submission arrives'. The more specific the trigger and action, the better the match.

Deployed template workflow is missing in the n8n dashboard

Cause: The deployment API call succeeded but the workflow was created in a different n8n environment, or the n8n dashboard needs a refresh to show the newly created workflow.

Solution: Hard-refresh your n8n dashboard (Cmd+Shift+R or Ctrl+Shift+R). If the workflow still does not appear, verify that N8N_BASE_URL points to the correct n8n instance — it is possible OpenClaw deployed the template to a different environment.

typescript
1# Verify the correct n8n instance URL
2clawhub config get N8N_BASE_URL
3
4# List workflows via API to confirm deployment
5curl -H "X-N8N-API-KEY: your-key" http://localhost:5678/api/v1/workflows | grep 'name'

Best practices

  • Always deploy templates as inactive (the default) and review them in the n8n editor before activating — even pre-built templates need credential configuration and sometimes node-level adjustments.
  • Use the weekly health check prompt pattern to keep your n8n workflow library clean — ask OpenClaw for workflows with no recent executions and deactivate ones you no longer use.
  • Give deployed workflows descriptive names immediately after deployment — rename generic template names to something meaningful like 'CRM-to-Slack-new-lead-alert' rather than the template default.
  • Store N8N_API_KEY in `~/.openclaw/.env` rather than the skill's YAML config to keep sensitive credentials out of files that might be committed to version control.
  • Use template search as inspiration even if you do not deploy directly — searching for 'webhook to email' shows you what nodes and patterns experienced n8n builders use for common problems.
  • Combine this skill with OpenClaw's scheduling features to run automated workflow health checks on a regular cadence, surfacing failures before they become problems.
  • If managing n8n for a team, create separate API keys per environment (dev/staging/prod) and configure separate OpenClaw profiles for each — this prevents accidentally deploying a template to production when you meant to deploy to staging.

Alternatives

Frequently asked questions

How do I install n8n-workflow-automation in OpenClaw?

Run `clawhub install n8n-workflow-automation` in your terminal. The skill shares credentials with the base n8n skill — if you have already configured N8N_BASE_URL and N8N_API_KEY, the skill is ready to use immediately after `clawhub reload`. If not, generate an API key in your n8n instance under Settings > API and configure both values with `clawhub config set`.

What is the difference between n8n and n8n-workflow-automation in OpenClaw?

The n8n skill handles the core trigger-and-monitor use case: trigger active workflows and check execution status. The n8n-workflow-automation skill adds template discovery from the n8n template library, template deployment to your instance, and workflow management (enable, disable, rename, audit). Both use the same API credentials and can run simultaneously.

Can I deploy n8n templates from OpenClaw without opening the n8n dashboard?

Yes — the n8n-workflow-automation skill can search the template library and deploy templates to your n8n instance entirely from OpenClaw chat. The deployed workflow appears in your n8n dashboard as an inactive workflow. You will still need to open the n8n dashboard to configure credentials, since credential setup involves sensitive API keys managed by n8n's own credential vault.

OpenClaw n8n-workflow-automation API key configuration — where do I set it?

Use `clawhub config set N8N_API_KEY n8n_api_your-key` in the terminal, or add `N8N_API_KEY=n8n_api_your-key` to `~/.openclaw/.env`. The skill uses the same N8N_API_KEY and N8N_BASE_URL as the base n8n skill — you only need to set these once.

Does RapidDev offer help with OpenClaw n8n workflow automation setup?

Yes — RapidDev can help teams configure OpenClaw with n8n for complex automation scenarios, particularly when combining n8n workflows with other OpenClaw skills or setting up multi-environment configurations. The self-serve guide on this page covers individual and small-team setups; teams with more complex requirements can reach out to RapidDev.

Does the n8n-workflow-automation skill work with n8n Cloud and self-hosted n8n?

Yes — it works with both. For n8n Cloud, use your cloud instance URL (e.g., `https://myorg.app.n8n.cloud`) as N8N_BASE_URL. For self-hosted instances, use your server URL and port (e.g., `http://192.168.1.100:5678`). Ensure the n8n API is enabled in Settings > API for either deployment type.

Why are my deployed n8n templates not showing up in the dashboard?

Try hard-refreshing your n8n dashboard (Cmd+Shift+R). If the workflow still does not appear, verify that your N8N_BASE_URL points to the correct n8n instance — it is possible the template was deployed to a different environment. Run `clawhub config get N8N_BASE_URL` to confirm the target instance.

RapidDev

Talk to an Expert

Our team has built 600+ apps. Get personalized help with your project.

Book a free consultation

Need help with your project?

Our experts have built 600+ apps and can accelerate your development. Book a free consultation — no strings attached.

Book a free consultation

We put the rapid in RapidDev

Need a dedicated strategic tech and growth partner? Discover what RapidDev can do for your business! Book a call with our team to schedule a free, no-obligation consultation. We'll discuss your project and provide a custom quote at no cost.