Test Webhooks in n8n Without Changing WEBHOOK_URL (PostBin & BambooHR Example)

Go to Workflow
1,308 views
Built by Ludwig Ludwig
Created on June 07, 2026

Description

Using PostBin to Test Webhooks Without Changing WEBHOOK_URL

How it Works
Many new n8n users struggle with testing webhooks when running n8n on localhost, as external services cannot reach localhost. This workflow introduces a technique using PostBin, which provides a temporary, publicly accessible URL to receive webhook requests.

Generates a temporary webhook endpoint via PostBin.
Uses this endpoint in place of localhost to test webhooks.
Captures and displays the incoming webhook request data.
Enables debugging and iterating without modifying the WEBHOOK_URL environment variable.

Set Up Steps
Estimated time:** ~5–10 minutes
Create a PostBin instance to generate a publicly accessible webhook URL.
Copy the PostBin URL and use it as the webhook destination in n8n.
Trigger the webhook from an external service or manually.
Inspect the request payload in PostBin to verify data reception.

(EXAMPLE) Using PostBin for Webhook Testing in a BambooHR Integration

How it Works
In this example, we apply the PostBin technique to a BambooHR integration. Instead of manually configuring a webhook in BambooHR, this workflow automates webhook registration using the BambooHR API. The workflow:

Uses the BambooHR API to programmatically register the PostBin URL as a webhook.
Retrieves the most recent webhook calls made by BambooHR to the PostBin URL.
(Optional) Sends a personalized Slack message for new employees using OpenAI.

Set Up Steps
Estimated time:** ~15–20 minutes
Set up PostBin using the steps from the first section.
Log into BambooHR to generate an API key for authentication.
Run the workflow to register the PostBin URL as a webhook in BambooHR via the API.
Retrieve recent webhook calls from PostBin to validate data reception.
(Optional) Send a Slack notification using the processed data.

Nodes Used (9)

Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing
BambooHR
n8n-nodes-base.bambooHr
Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
DebugHelper
n8n-nodes-base.debugHelper
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
PostBin
n8n-nodes-base.postBin
Slack
n8n-nodes-base.slack
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured