workflows.fit
Back to n8n workflows
n8n templateFreeBy Ludwig

Test webhooks in n8n without changing WEBHOOKURL (PostBin & BambooHR example)

Using PostBin to Test Webhooks Without Changing WEBHOOKURL How it Works Many new n8n users struggle with testing webhooks when running n8n on localhost, as external services cannot reach localhost. This workflow intro...

DevelopmentCore NodesCommunicationHITLMiscellaneousData & StorageAILangchain
Loading interactive preview...

Template notes

Using PostBin to Test Webhooks Without Changing WEBHOOKURL

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.

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

Set Up Steps - Estimated time: ~5–10 minutes 1. Create a PostBin instance to generate a publicly accessible webhook URL. 2. Copy the PostBin URL and use it as the webhook destination in n8n. 3. Trigger the webhook from an external service or manually. 4. 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:

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