Skip to content

[BENCHMARK] Single Webhook

A minimal n8n workflow containing only a webhook trigger, designed for performance testing and benchmarking purposes. This workflow provides the simplest possible HTTP endpoint to measure baseline response times and throughput.

Purpose

No business context provided yet — add a context.md to enrich this documentation.

How It Works

This workflow operates as a single-step process:

  1. Webhook receives request - An HTTP request is made to the webhook endpoint
  2. Response returned - The webhook immediately returns a response with the received data

This is the most basic workflow possible in n8n, making it ideal for performance benchmarking and testing the fundamental webhook functionality.

Workflow Diagram

graph TD
    A[HTTP Request] --> B[Webhook]
    B --> C[HTTP Response]

Trigger

Webhook Trigger - Path: /single-webhook - Method: All HTTP methods accepted - Authentication: None required

The webhook is accessible at: https://your-n8n-instance.com/webhook/single-webhook

Nodes Used

Node Type Node Name Purpose
Webhook Webhook Receives HTTP requests and returns responses

External Services & Credentials Required

None - this workflow operates entirely within n8n without external dependencies.

Environment Variables

No environment variables are required for this workflow.

Data Flow

Input: - Any HTTP request body (JSON, form data, etc.) - Query parameters - Headers

Output: - Returns the received request data as JSON - Includes headers, body, query parameters, and other request metadata

Example Response:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "headers": {
    "content-type": "application/json",
    "user-agent": "curl/7.68.0"
  },
  "params": {},
  "query": {},
  "body": {
    "test": "data"
  }
}

Error Handling

This workflow has no explicit error handling nodes. Any errors would be handled by n8n's default error handling: - Invalid requests return standard HTTP error codes - Server errors return 500 status codes - The webhook will always attempt to return a response

Known Limitations

  • No data validation or processing
  • No authentication or security measures
  • Designed for testing purposes only
  • Not suitable for production use cases requiring data processing

No related workflows specified in the context.

Setup Instructions

  1. Import the workflow

    • Copy the workflow JSON
    • In n8n, go to Workflows → Import from JSON
    • Paste the JSON and save
  2. Activate the workflow

    • Click the "Active" toggle in the workflow editor
    • The webhook will become immediately available
  3. Test the webhook

    1
    2
    3
    curl -X POST https://your-n8n-instance.com/webhook/single-webhook \
      -H "Content-Type: application/json" \
      -d '{"test": "data"}'
    

  4. Verify response

    • You should receive a JSON response containing your request data
    • Check the execution history in n8n to see the workflow runs

Note: Replace your-n8n-instance.com with your actual n8n instance URL. For local development, this would typically be localhost:5678.