Multiple Destinations
A single Forward in Huk Relay can send webhooks to multiple destinations simultaneously. This is known as "fan-out".
Use Cases
- Redundancy: Send the same webhook to a primary and a backup server.
- Integration: Process a payment webhook in your main application AND send a notification to Slack.
- Logging: Forward to your app and an external logging service.
Configuration
To add multiple destinations:
- Open your Forward details page.
- Add your first destination (e.g.,
http://localhost:3000/hooks). - Click "Add Destination" again.
- Add your second destination (e.g.,
https://hooks.slack.com/services/...).
When a webhook arrives, Huk Relay will split the request and send it to both destinations. The destinations function independently; a failure in one does not affect the other.
Huk Relay Docs