Skip to main content

Public webhook relay

Workflow preview

Workflow preview
100%
Public webhook relay preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Disclaimer This template only works on n8n local instances! How it Works This workflow allows you to to receive webhooks from the public web and have your local workflow catch them, without any rem...

Best for

  • DevOps automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.merge, n8n-nodes-base.set, n8n-nodes-base.stickynote, @horka.tv/n8n-nodes-storage-kv.keyvaluestorage, n8n-nodes-base.if

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Public webhook relay
Workflow name
Public webhook relay

Disclaimer

This template only works on n8n local instances!

How it Works

This workflow allows you to to receive webhooks from the public web and have your local workflow catch them, without any remote proxy. It is very useful for running quick tests without exposing your dev server. All you have to do is activate the workflow and use the public address as defined below.

Set up steps

If you use the default key-value storage, there are only three steps:

  1. Install the @horka.tv/n8n-nodes-storage-kv community node
  2. Put your n8n workflow address in Local Webhook Address
  3. Activate the workflow and, from Executions, note down your public webhook token from the inputs to Get Latest Requests.

You can now use https://webhook.site/[YOUR TOKEN] as a webhook destination, to receive webhook requests from the public web.

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 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Get Auth Token

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

Block 3 - Unprocessed Requests

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Get Latest Requests

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

Block 5 - POST to n8n

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

Block 6 - Merge

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

Block 7 - Local Webhook Address

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

Block 8 - Latest Update Time

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Sticky Note

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

Block 10 - Sticky Note1

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

Block 11 - Sticky Note2

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

Block 12 - Sticky Note3

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

Block 13 - Sticky Note4

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

Block 14 - Store Auth Token

Type / Role
@horka.tv/n8n-nodes-storage-kv.keyValueStorage - keyValueStorage
Config choices
Version 1

Block 15 - Store Last Processed

Type / Role
@horka.tv/n8n-nodes-storage-kv.keyValueStorage - keyValueStorage
Config choices
Version 1

Block 16 - Retrieve Auth Token

Type / Role
@horka.tv/n8n-nodes-storage-kv.keyValueStorage - keyValueStorage
Config choices
Version 1

Block 17 - Retrieve Last Processed

Type / Role
@horka.tv/n8n-nodes-storage-kv.keyValueStorage - keyValueStorage
Config choices
Version 1

Block 18 - If Auth Token Exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.1

3. Summary Table

Workflow Public webhook relay
Complexity advanced
Nodes 18
Categories DevOps
Author Jay Hartley
Published 30 Sept 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2443/2443.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 Public webhook relay do?

Disclaimer This template only works on n8n local instances! How it Works This workflow allows you to to receive webhooks from the public web and have your local workflow catch them, without any rem...

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 DevOps use case.