Skip to main content

What is Slack?

Slack is a team communication platform. You can integrate it with your app to send notifications, alerts, and messages directly to your Slack channels. Perfect for:
  • Team notifications (new orders, signups, errors)
  • Alert messages (payment received, system down)
  • Daily reports and summaries
  • Customer support alerts
  • Monitoring and logging

What You’ll Need

1

Slack Workspace

You need access to a Slack workspace
2

Create Slack App

Set up a simple Slack app
3

Get Webhook URL

Get your incoming webhook URL
4

A good initial prompt

Read on for clarity
Here’s a helpful video to get you started.

Step 1: Create a Slack App

Create the App

  1. Go to api.slack.com/apps
  2. Click Create New App
  3. Choose From scratch
  4. Fill in:
    • App Name: Your app name (like “My App Notifications”)
    • Workspace: Choose your Slack workspace
  5. Click Create App

Enable Incoming Webhooks

  1. In your app settings, click Incoming Webhooks
  2. Toggle Activate Incoming Webhooks to On
  3. Scroll down and click Add New Webhook to Workspace
  4. Choose which channel to post to (like #general or #notifications)
  5. Click Allow

Get Your Webhook URL

You’ll see a Webhook URL that looks like:
Copy this URL! This is what you’ll give to the agent.
Keep this URL secret! Anyone with it can post to your Slack channel.

Step 2: Tell the Agent What You Want

Describe what notifications you need:

Example 1: New User Signup Notifications

Example 2: Order Notifications

Example 3: Error Monitoring

Example 4: Daily Summary Reports

That’s it! The agent will handle sending messages to Slack when events happen.

Step 3: Test Your Integration

After setup:
1

Click Preview

In Emergent, click Preview
2

Trigger the Event

Do whatever should trigger the notification:
  • Sign up a test user
  • Place a test order
  • Trigger an error
3

Check Slack

Go to your Slack workspaceCheck the channel you selectedYou should see the notification!
4

Verify Message

Make sure the message has:
  • Correct information
  • Good formatting
  • Emojis (if you wanted them)

Message Formatting Tips

Use Emojis for Visual Impact

Color-Coded Messages

Rich Formatting

Common Questions

Yes! Slack’s incoming webhooks are completely free.No API limits for basic notifications.Perfect for all apps!
Yes! Create multiple webhooks. Tell the agent:
Yes! Tell the agent:
For interactive features (buttons, menus), you need the Slack API.Tell the agent:
(Requires more setup than basic webhooks)

Something Not Working?

Messages Not Appearing

Tell the agent:

Wrong Channel

Tell the agent:

Message Format Broken

Tell the agent:

Real Examples

Example 1: E-commerce Monitoring

Example 2: SaaS App Monitoring

Example 3: Customer Support System

Advanced Features

Slack API (Beyond Webhooks)

For more advanced features, tell the agent:
Getting Slack API Access:
  1. In your Slack app settings
  2. Go to OAuth & Permissions
  3. Add required scopes
  4. Install app to workspace
  5. Copy Bot User OAuth Token

Slash Commands

Two-Way Communication

Multiple Workspaces

If you have multiple Slack workspaces:

Scheduling Slack Messages

Daily Reports

Weekly Summaries

Message Templates

Simple Text

Formatted with Sections

With Attachments (Rich Format)

Best Practices

  1. Use descriptive messages - Include all important info
  2. Add emojis - Makes messages easier to scan
  3. Include links - Link to relevant pages in your app
  4. Color-code by importance - Red for urgent, green for good news
  5. Don’t spam - Batch notifications if needed

Avoid This

  1. Too many notifications - Will annoy your team
  2. Unclear messages - “Something happened” isn’t helpful
  3. Missing context - Always include relevant details
  4. No links - Make it easy to take action
  5. Plain text only - Use formatting and emojis

Rate Limiting

Slack has generous limits, but if sending many messages:

Troubleshooting Guide

Common Errors

“Invalid webhook URL”
  • Check you copied the full URL
  • Make sure it starts with https://hooks.slack.com/services/
“Messages delayed”
  • Might be network issues
  • Check your server logs
“Messages not formatted”
  • Need to use proper Slack formatting
  • Ask agent to use Slack’s block kit

Quick Checklist

Before going live, check that you have:
  • Created Slack app
  • Got webhook URL
  • Tested sending messages
  • Messages appear in correct channel
  • Formatting looks good
  • Emojis working
  • Links clickable
  • Not too many notifications

Remember

Completely free - No API costs Easy to set up - Just need webhook URL Great for teams - Keep everyone informed Rich formatting - Make messages beautiful No rate limits (reasonable use) - Send lots of messages Multiple channels - Create multiple webhooks
Quick start: Get your webhook URL from Slack and tell the agent what notifications you want. Works in 5 minutes!

Need Help?

Can’t Find Webhook URL

Want to Change Channel

Messages Too Frequent

Pro tip: Start with simple notifications, then add more as needed. It’s better to add features gradually than to spam your Slack with too many alerts!