Skip to main content

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

Workflow preview

Workflow preview
100%
Test webhooks in n8n without changing WEBHOOK_URL (PostBin & BambooHR example) preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 . This wo...

Best for

  • Engineering automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.merge, n8n-nodes-base.httprequest, n8n-nodes-base.postbin, n8n-nodes-base.set, n8n-nodes-base.splitout, n8n-nodes-base.aggregate

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ludwig.

Original n8n.io source

1.1 Workflow description

Title
Test webhooks in n8n without changing WEBHOOK_URL (PostBin & BambooHR example)
Workflow name
Test webhooks in n8n without changing WEBHOOK_URL (PostBin & BambooHR example)

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.

  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 WEBHOOK_URL 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.

Set Up Steps

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 6 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Create Bin

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - GET Bin

Type / Role
n8n-nodes-base.postBin - postBin
Config choices
Version 1

Block 13 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note12

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Format url for webhook

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - GET most recent request

Type / Role
n8n-nodes-base.postBin - postBin
Config choices
Version 1

Block 18 - MOCK request

Type / Role
n8n-nodes-base.postBin - postBin
Config choices
Version 1

Block 19 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Create Bin1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 21 - GET Bin1

Type / Role
n8n-nodes-base.postBin - postBin
Config choices
Version 1

Block 22 - Format url for webhook1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 23 - SET BambooHR subdomain

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 24 - Split out fields

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Showing the first 24 of 58 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Test webhooks in n8n without changing WEBHOOK_URL (PostBin & BambooHR example)
Complexity advanced
Nodes 58
Categories Engineering, Multimodal AI
Author Ludwig
Published 08 Feb 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2869/2869.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Test webhooks in n8n without changing WEBHOOK_URL (PostBin & BambooHR example) do?

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 . This wo...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, Multimodal AI use case.