TopRank Skills

Home / Claw Skills / Others / N8N Dispatch
Official OpenClaw rules 15%

N8N Dispatch

n8n_dispatch Agent Skill

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 N8N Dispatch 技能。 若已安装,则直接安装 N8N Dispatch 技能。

Overview

Skill Key
enchantedmotorcycle/n8n-dispatch
Author
enchantedmotorcycle
Source Repo
openclaw/skills
Version
-
Source Path
skills/enchantedmotorcycle/n8n-dispatch
Latest Commit SHA
f32ed501a9eea992e8ba96038a477fc715ed9ccf

Extracted Content

SKILL.md excerpt

# n8n_dispatch Agent Skill

This skill bridges OpenClaw with your existing n8n‑dispatch service via mcporter.  It exposes a single command `dispatch` that forwards the user’s request type and prompt to the registered MCP service.

## How it works

1. The command `dispatch` takes two required arguments:
   * `requestType` – one of `state`, `action`, or `historical`.
   * `text` – the raw user prompt.
2. The skill builds a JSON payload containing those two values and calls the MCP service `n8n_dispatch`.
3. The n8n workflow receives the payload, processes the request, and returns a response that OpenClaw prints.

## Usage

```bash
# In your OpenClaw session or a shell
n8n_dispatch dispatch state "What is the living room light status?"
```

The command will output something like: `Requested type: state and text: What is the living room light status?`

## Examples

| Request type | Prompt | Example command | What the service returns |
|--------------|--------|------------------|--------------------------|
| `state` | *“Is the garage door open?”* | `n8n_dispatch dispatch state "Is the garage door open?"` | *“Garage door is closed”* |
| `action` | *“Turn on the hallway light.”* | `n8n_dispatch dispatch action "Turn on the hallway light."` | *“Hallway light turned on”* |
| `historical` | *“Show me the temperature for yesterday.”* | `n8n_dispatch dispatch historical "Show me the temperature for yesterday."` | *Yesterday’s temperature: 72°F* |

## Configuration

Place this skill in your workspace under `skills/n8n_dispatch` and ensure your MCP service is registered:

```bash
openclaw mcporter add \
  --name "n8n_dispatch" \
  --url "http://your-n8n-host:8080/api"
```

Once the skill is loaded (`openclaw skills load n8n_dispatch`), you can start calling `dispatch` from any OpenClaw session.

Related Claw Skills