Templates / Build an event-driven pub/sub bus with webhooks, HTTP services, and Slack

Build an event-driven pub/sub bus with webhooks, HTTP services, and Slack

Ready for 3.0

by Oneclick AI Squad ✓ · 2 views · created 2026-09-19 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 23 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Merge: merges the data from its input branches
  2. Set - Event Bus Config (Edit Fields (Set)): sets 9 fields: eventStoreUrl, eventStoreAckUrl, dlqUrl…
  3. Code: runs custom JavaScript code
  4. If: checks a condition and branches into true / false
  5. HTTP Request: calls an HTTP API (POST)
  6. Respond - Invalid Envelope (Respond to Webhook): sends the response back to the webhook caller
  7. Respond - Event Accepted (Respond to Webhook): sends the response back to the webhook caller
  8. Switch: routes items into 2 branches
  9. Subscriber - Order Service (HTTP Request): calls an HTTP API (POST)
  10. Subscriber - Notification Service (HTTP Request): calls an HTTP API (POST)

…plus 11 more steps. See the full node list below.

Services it uses

Slack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Quick overview This workflow implements an event bus in n8n that accepts event envelopes via webhook or Execute Workflow, validates and logs them to an external event store, routes events to multiple HTTP subscriber endpoints, and handles failures with…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.