Integrate Slack with Acme Platform
Overview
This guide walks you through creating a Slack app, configuring an incoming webhook, and sending notifications from Acme Platform.
Prerequisites
- A Slack workspace where you have permission to install apps.
- Access to the Acme Platform admin panel.
- Node.jsâ¯â¥â¯14 (for sample code).
1. Create a Slack App
- Visit Slack API Apps and click Create New App.
- Choose From scratch, give it a name (e.g.,
Acme Notifier
), and select your workspace. - In the left sidebar, select Incoming Webhooks and toggle Activate Incoming Webhooks.
- Click Add New Webhook to Workspace, choose a channel, and click Allow. Copy the generated URL.
2. Configure Acme Platform
In the Acme admin panel, navigate to Settings â Integrations â Slack and paste the webhook URL.

3. Sample Code (Node.js)
You can also send messages programmatically using the webhook URL.
const https = require('https');
function sendSlackMessage(webhookUrl, text) {
const data = JSON.stringify({ text });
const url = new URL(webhookUrl);
const options = {
hostname: url.hostname,
path: url.pathname + url.search,
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Content-Length': data.length,
},
};
const req = https.request(options, (res) => {
if (res.statusCode !== 200) {
console.error('Slack responded with status', res.statusCode);
}
});
req.on('error', console.error);
req.write(data);
req.end();
}
// Usage
sendSlackMessage('https://hooks.slack.com/services/XXXXX/XXXXX/XXXXXXXX', 'Hello from Acme!');
4. Test Your Integration
Enter a test message below and click Send to verify the webhook.
FAQs
Can I send rich formatting?
Yes. Use Slack's Block Kit JSON payloads for richer messages.
Where can I view logs?
Acme Platform logs webhook attempts under Admin â Logs â Integrations.