How to Send Slack Messages with Copilot
Send Slack notifications from your IDE with Copilot and ToolRouter. Post updates without leaving your development environment.
ToolSlackCopilot sends Slack messages as part of your development workflow — post a deployment notification to your ops channel, send a build status update, or notify a team member about a code review without context-switching to Slack.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Slack tool:
- In Copilot Chat: "Send a message to #deployments: [describe the update]"
- Copilot sends the message to the specified channel
- Ask: "Write Node.js code to call the send_message skill programmatically"
- Integrate Slack notification into your deployment or CI pipeline
Example Prompt
Try this with Copilot using the Slack tool
Send a deployment notification to #deployments saying the v2.3.1 release is live in production. Then write a TypeScript function that calls the send_message skill for future automated deploys.
Tips
- Add Slack notifications as the final step in your deployment pipeline
- Ask Copilot to write the Slack integration code alongside the notification you just sent manually
- Include the deployment URL and commit hash in the notification for traceability