# Slack

## What It Does

Sends a rich, formatted notification to a Slack channel when a workflow fires. The message includes the visitor's profile, company details, engagement stats, pages visited, attribution data, and contact information.

## Authentication

Slack Incoming Webhook. When adding Slack as a connection step in an automation, connect your Slack workspace and select the channel where notifications should be sent.

## What the Notification Includes

The Slack message is a rich, visual notification with the following sections:

### Visitor Profile

* Name (with LinkedIn link if available)
* Profile picture
* Company name and logo (with company LinkedIn link if available)

### Company Details

* Job title
* Industry
* Company size (e.g., "200–500 employees")
* Revenue range (e.g., "$50M–$100M")

### Engagement Stats

* Total sessions on your site
* Total pageviews
* Total time on site (e.g., "1h 30m")
* Last seen (e.g., "5m ago")

### Recent Pages

* Last 5 pages the visitor viewed
* Count of additional pages if more than 5

### Attribution

* UTM source, medium, and campaign
* Entry page path

### Audiences

* All active audience memberships displayed as tags

### Contact Info

* All work and personal email addresses
* All work and personal phone numbers (with type labels)

## Key Behaviors

* **Rich formatting** — Uses Slack's Block Kit for visual, easy-to-scan notifications.
* **Fallback text** — Includes a plain-text summary for email notifications and mobile push.
* **Human-readable numbers** — Revenue is formatted as "$500M", headcount as "200–500 employees", and durations as "1h 30m."
* **Relative timestamps** — "Last seen" shows "Just now," "5m ago," "2h ago," or "3d ago" instead of raw dates.

## Using with Workflows

1. Connect Slack and choose a channel
2. Create a workflow triggered by high-value visitor activity
3. Add **Send Slack Notification** as the action
4. Your team gets instant, actionable alerts

## Related

* [Integrations Overview](/docs/integrations/overview.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://midbound.ai/docs/integrations/slack.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
