by Slack
Post a message
Posts a message to a channel, DM or thread and returns the channel ID and the message timestamp.
Updated Oct 28, 2026
post-message.md
Post a message
Posts a message to a channel, DM or thread and returns the channel ID and the message timestamp.
Note: Needs the chat:write scope. Over MCP it posts as the signed-in user; the API and CLI post as the app's bot.
Set up
Use the first option your agent supports.
MCP (official, remote)
Add this server to your agent's MCP settings, then sign in when asked.
{ "mcpServers": { "slack": { "url": "https://mcp.slack.com/mcp" } } }
Call the MCP tool slack_send_message.
Server URL: https://mcp.slack.com/mcp
CLI (official)
Install the command, then confirm it runs.
curl -fsSL https://downloads.slack-edge.com/slack-cli/install.sh | bash
slack --version
Run slack api chat.postMessage.
Set $SLACK_BOT_TOKEN in your environment first (get a key: https://api.slack.com/apps).
API (official)
- Base URL: https://slack.com/api
- Endpoint:
POST /chat.postMessage - Auth: send the header
Authorization: Bearer $SLACK_BOT_TOKEN - Get a key: https://api.slack.com/apps
- Docs: https://docs.slack.dev/apis/web-api/
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
Ways in
Workflows using Post a message
TContributed by thedogwiththedataonitAlert sales when a company keeps viewing your pricing pageCounts pricing-page views by company in PostHog, sizes each company with Apollo, and posts it to Slack with its HubSpot owner.
P
A
H+1
SContributed by Shahzaib0217Pull needs, objections and buying signals from sales callsReads recent sales calls in Bridge, pulls out needs, objections, competitors and buying signals, and posts hot deals to Slack.
B
S
SContributed by shipgtmAnswer a GTM question from Notion, Slack and HubSpotSearches your docs, past conversations and CRM for the answer, drafts a cited response with Claude, and posts it back in Slack.
N
S
H+1
TContributed by thedogwiththedataonitHand buyers who ask in your website chat to salesReads recent Intercom conversations, spots buying questions with Jev, and logs each buyer in HubSpot with a note and a Slack alert.
I
T
A+2
TContributed by thedogwiththedataonitSort cold email replies by intent and answer the warm onesReads new Instantly replies, labels each one's intent with Jev, sets the lead's interest status, and drafts answers to the warm ones.
I
T
S
TContributed by thedogwiththedataonitFind Reddit and HN threads where buyers ask for a toolSearches Reddit and Hacker News with Exa, keeps the posts where someone is shopping for your category with Jev, and sends them to Slack.
E
T
S
TContributed by thedogwiththedataonitFlag churn risk and competitor talk in customer callsReads recent Gong call transcripts, scores churn risk and flags competitor and pricing talk with Jev, and posts the risky calls to Slack.
G
T
S
TContributed by thedogwiththedataonitCheck drafts against your style guide before they publishReads drafts marked ready in your Notion content calendar, checks each against your style rules with Jev, and flags the ones that fail.
N
T
S
TContributed by thedogwiththedataonitScore and route every new demo requestReads new Typeform demo requests, enriches them with Apollo, scores fit and picks a route with Jev, and logs them in HubSpot.
T
A
T+3
TContributed by thedogwiththedataonitSort LinkedIn replies and answer the interested ones firstReads new HeyReach conversations, labels each reply's intent with Jev, sends approved answers to the warm ones, and alerts sales in Slack.
H
T
S
TContributed by thedogwiththedataonitSort a shared inbox and hand sales leads to a repReads new Front conversations, labels each as sales, support, billing, partner or noise with Jev, then tags, assigns and alerts sales.
F
T
S
TContributed by thedogwiththedataonitTell sales which new sign-ups fit your ideal customerReads new Clerk sign-ups, looks up each work domain with Apollo, scores fit and flags fakes with Jev, and saves the result in Attio.
C
A
T+2
TContributed by thedogwiththedataonitFlag expansion asks in support tickets for account ownersFinds new Zendesk tickets that ask for seats, SSO, higher limits or another team with Jev, and notes each in HubSpot for its owner.
Z
T
H+1
TContributed by thedogwiththedataonitFlag churn risk in new support tickets for customer successReads new Zendesk tickets, scores churn risk and urgency with Jev, tags and prioritizes the risky ones, and alerts each owner in Slack.
Z
T
H+1
TContributed by thedogwiththedataonitAlert sales when an ideal-fit company browses your siteResolves anonymous PostHog visitors to companies with People Data Labs, judges fit and buying stage with Jev, and alerts sales in Slack.
P
P
T+2
TContributed by thedogwiththedataonitRecover failed payments before the subscription cancelsFinds past-due Stripe subscriptions, emails each customer a link to pay with Resend, and posts the largest amounts to Slack.
S
R
S
TContributed by thedogwiththedataonitBrief the rep the moment a meeting is bookedLooks up each new Calendly booking with Apollo, logs the person in HubSpot with a brief, and posts the brief to Slack for the rep.
C
A
H+1
TContributed by thedogwiththedataonitFollow up on low NPS scores while they are freshPulls low scores from your Typeform NPS survey, posts each with its comment and HubSpot owner to Slack, and drafts a reply.
T
H
S
TContributed by thedogwiththedataonitFlag customers whose usage dropped before they renewFinds accounts whose usage fell in Mixpanel and renew soon in Stripe, alerts customer success in Slack, and drafts a check-in email.
M
S
S
TContributed by thedogwiththedataonitTell sales when an account's usage passes your thresholdFinds accounts over your weekly-active-user threshold in Amplitude, marks and notes them in Attio, and posts each one to Slack for sales.
A
A
S