🧪 Skills
N8n Dispatch
Forwards user requests labeled state, action, or historical with text prompts to a configured n8n_dispatch MCP service and returns its response.
v1.0.0
Description
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
- The command
dispatchtakes two required arguments:requestType– one ofstate,action, orhistorical.text– the raw user prompt.
- The skill builds a JSON payload containing those two values and calls the MCP service
n8n_dispatch. - The n8n workflow receives the payload, processes the request, and returns a response that OpenClaw prints.
Usage
# 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:
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.
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!