N8n cli webhook test

From 8Dvibes/n8n-cli · View interactive version

N8n cli webhook test is an AI agent skill from the GitHub repository 8Dvibes/n8n-cli. Fire test requests at n8n webhook endpoints from the terminal. Sends custom or empty payloads and shows the response. Use when testing webhooks, debugging integrations, or verifying triggers.

How to use this skill

Skill file

/n8n-webhook-test — Test Webhook Workflows

Fire test requests at webhook-triggered workflows.

Arguments

Procedure

List Available Webhooks

n8n-cli webhooks list

Shows all webhook endpoints from active workflows with their methods and paths.

Test a Specific Webhook

# Auto-discovers the webhook path from the workflow, sends a test request
n8n-cli webhooks test <workflow-id> --data '{"test": true, "message": "Hello from CLI"}'

The command:

  1. Fetches the workflow to find the webhook node
  2. Extracts the webhook path and HTTP method
  3. Sends the request to the test webhook URL
  4. Shows the response

Important Notes

The workflow must have "Listen for test event" active in the n8n UI, OR be active

(production webhooks at /webhook/... work when the workflow is active).

```bash

n8n-cli workflows activate <id>

```

node's configuration for expected fields.

Output

Workflow:  My Webhook Flow (abc123)
Webhook:   Webhook Trigger
Path:      my-custom-path
Method:    POST
URL:       https://aibuildlab.app.n8n.cloud/webhook-test/my-custom-path
Sending test request...

Status: 200
Response:
{
  "success": true,
  "message": "Processed"
}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.