Slack Incoming Webhooks
Create a Slack webhook in Slack, register it as a relay target, and validate delivery.
6 min read
Use this guide to route endpoint traffic into Slack.
Purpose
This workflow helps you:
- Create Slack incoming webhook credentials.
- Register Slack as a relay target.
- Attach target to an endpoint output.
- Validate with test delivery.
Prerequisites and permissions
- Slack workspace permissions to create incoming webhooks.
- Target Slack channel.
- Access to
Relay targetsandEndpoints.
Step-by-step workflow
1. Create webhook URL in Slack
- In Slack app settings, enable
Incoming Webhooks. - Create webhook for desired channel.
- Copy URL (
https://hooks.slack.com/services/...).
2. Add Slack relay target
- Open
Relay targets. - Select
Add target. - Choose
Slack webhook. - Paste Slack URL into
Target valueand save.
Validation requires Slack webhook URL format.
3. Attach Slack target to endpoint
- Open endpoint create/edit page.
- In
Target destinations, select Slack target. - Optionally set
Slack Markdownfor that output. - Save endpoint.
4. Send test delivery
- On
Relay targets, selectSend testfor Slack target. - Confirm message appears in Slack channel.
- Verify
TEST_ACCEPTEDin Activity if needed.
Expected result and verification checks
- Slack target is listed and selectable in endpoint outputs.
- Test and live endpoint traffic post to the configured channel.
Common issues and fixes
- URL rejected: confirm full
hooks.slack.com/services/...format. - No message in Slack: verify target attached to endpoint and webhook is still active.
- Formatting issues: adjust Slack Markdown toggle on the endpoint output.