Slack Integration
Send Hardal analytics events to Slack channels using Incoming Webhooks for real-time notifications.
Make sure to check the partner’s website and API documentation for the most up-to-date information and configurations.
Setup
Add Destination
Go to Hardal dashboard → Marketing Destinations → “Add Custom Destination” → Select “Slack Webhook” template
Configure Webhook
{
"endpoint_url": "https://hooks.slack.com/services/YOUR/WEBHOOK/URL",
"request_method": "POST",
"content_type": "application/json"
}
Set Message Format
Simple text message:{
"text": "New Event: ##event_name##\nProperties: ##properties##\nTime: ##created_at##"
}
Rich block format:{
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "New Event: ##event_name##"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Properties:*\n##properties##"
},
{
"type": "mrkdwn",
"text": "*Time:*\n##created_at##"
}
]
}
]
}