Architecturemono
Webhook Receiver
An external provider calling a webhook endpoint, which verifies the request, queues it, and lets a worker update the database.
Start from this template
Opens in the editor. No signup. Export SVG, PNG, or an embed link.
Source text
title: Webhook Receiver
theme: mono
node provider "Provider" [external]
node hook "Webhook endpoint" [function]
node queue "Queue" [queue]
node worker "Worker" [function]
node db "Database" [database]
hook right-of provider
queue right-of hook
worker below queue
db right-of worker
provider -> hook : "POST event" flow
hook -> queue : "verified"
queue -> worker
worker -> db : "update"About this template
An external provider sends a webhook (POST event) to your endpoint. The endpoint verifies the request, puts it on a queue, and returns right away. A worker then processes the event and updates the database.
This layout reflects common webhook advice: verify first, acknowledge fast, and do the real work asynchronously so the provider doesn't time out and retry.
Rename "Provider" to the service you integrate with, such as a payment or Git hosting service. Add a dead-letter queue if you want to show how failed events are kept for later.