> ## Documentation Index
> Fetch the complete documentation index at: https://flywheel.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Send Slack Message

> Send messages to Slack channels for team coordination and notifications

<iframe src="https://app.flywheel.cx/doc-comp-previews/workflow-node-preview?type=send_slack_message" title="Workflow Node Preview" width="100%" height="250px" className="border dark:border-[#1C1C20]  rounded-xl" />

## How Send Slack Message Works

Send messages to Slack channels for team coordination and notifications. Messages can be sent from a specific team member or from your Flywheel bot, allowing for flexible communication workflows.

## Configuration

<Columns cols={2}>
  <Card title="Inputs">
    <ParamField path="Slack Channel" type="string" required>
      The Slack channel where the message will be sent.
    </ParamField>

    <ParamField path="Send From" type="enum" required>
      Choose who the message appears from: `user` (specific team member) or `bot` (Flywheel bot).
    </ParamField>

    <ParamField path="Send As" type="string">
      The team member to send from (required when Send From is `user`).
    </ParamField>

    <ParamField path="Slack Message" type="object" required>
      The content of the Slack message including rich formatting and dynamic variables.
    </ParamField>
  </Card>

  <Card>
    <iframe src="https://app.flywheel.cx/doc-comp-previews/workflow-config-preview?type=send_slack_message" title="Workflow Config Preview" width="100%" height="500px" className="" />
  </Card>
</Columns>

<Card title="Outputs">
  <ParamField path="context" type="object" required>
    Currently returns an empty context object. Future versions may include message delivery status and Slack message details.
  </ParamField>
</Card>

## Use Cases

**New Lead Notifications**

```
Channel: #sales
From: Bot
Message: "🎯 New high-value lead: {{user.name}} - {{user.company}}"
```

**Customer Success Alerts**

```
Channel: #customer-success
From: CSM Bot
Message: "⚠️ {{user.name}} hasn't logged in for 7 days"
```

**Support Team Escalations**

```
Channel: #support-escalations
From: User
Message: "🚨 High-priority support ticket from {{user.name}} requires immediate attention"
```

## Best Practices

**Choose Appropriate Channels**

* Match message type to channel purpose
* Use specific channels for different notification types
* Consider channel permissions and audience

**Message Content**

* Use rich Slack formatting for clarity
* Include relevant context and user information
* Keep messages concise but informative

**Avoid Notification Fatigue**

* Don't overwhelm channels with too many automated messages
* Use filters to ensure only relevant notifications are sent
* Consider message frequency and timing
