Overview
Tool Name
Purpose
The slack_tools suite connects Genesis workflows to your Slack workspace so you can notify teams, share links to generated artifacts, and target messages to the right people or channels.Key Features & Functions
Direct Messages
Send private, targeted updates to specific users with rich context links.
Channel Posts
Broadcast milestone updates, alerts, and summaries to team channels.
User Lookup
Resolve display names to Slack user IDs for accurate delivery.
Share Links
Include URLs to files, artifacts, dashboards, and docs produced by workflows.
Prefer short, actionable messages with a clear link or next step. Add the most important info in the first sentence.
Input Parameters for Each Function
_send_slack_direct_message
Parameters
Name | Definition | Format |
---|---|---|
slack_user_id | Recipient’s Slack user ID (e.g., U0123ABCD ). | String |
message | Message text. URLs will auto-link in Slack clients. | String |
_send_slack_channel_message
Parameters
Name | Definition | Format |
---|---|---|
channel | Channel name or ID (e.g., #data-ops or C07FBCHFZ26 ). | String |
message | Message text to post to the channel. | String |
_lookup_slack_user_id
Parameters
Name | Definition | Format |
---|---|---|
user_name | Display name to resolve to a Slack user ID. | String |
Names are not unique in Slack. Use
_lookup_slack_user_id
and store the returned slack_user_id
for future sends.Use Cases
- Milestone Notifications Announce mission or task completion with links to assets or dashboards.
- Analysis Hand-offs DM stakeholders a summary plus links to reports, notebooks, or Sheets.
- Alerting Post pipeline failures or data quality alerts to an on-call channel.
- Project Coordination Share daily status updates or review requests in team channels.
- Artifact Sharing Send links to generated PDFs, CSVs, or artifacts for quick access.
- Automated Workflow Updates Notify owners when approvals are needed or when jobs finish.
Workflow/How It Works
- Identify recipients by channel or resolve a display name to
slack_user_id
. - Compose a concise message with links to relevant assets.
- Send via direct message or channel post.
- Record message ids or timestamps in your workflow logs if needed.
Integration Relevance
- project_manager_tools to trigger task or mission updates.
- file_manager_tools to include links to stored files.
- artifact_manager_tools to reference generated report artifacts.
- data_connector_tools to share query outcomes and KPIs.
- make_baby_bot to announce data agents deployment or configuration changes.
Respect rate limits and workspace policies. Data agents need permission to post to a channel or DM a user, and some workspaces restrict unsolicited DMs.
Configuration Details
- Use exact channel IDs when possible to avoid name collisions.
- Store and reuse
slack_user_id
values once resolved. - Keep messages within Slack length limits and avoid giant payloads.
- Ensure links point to resources recipients can access.
Limitations or Notes
- Delivery depends on Slack availability and recipient permissions.
- User lookup may be ambiguous if multiple users share similar names.
- Channel posting requires the data agent to be a member of that channel.
- Message formatting can vary by Slack client.
- Cross-workspace messaging is not supported.
Output
- Message Delivery Confirmation with timestamp and message id.
- Channel Info Posting confirmation and channel metadata.
- User Lookup
Resolved
slack_user_id
and basic profile fields. - Errors Clear messages for invalid users, channels, permissions, or delivery failures.