Draft Slack message
draft_slack_messageWrite a Slack message for the user, to a person (to: their name, email or Slack id) or a channel (channel_id). Nothing posts: the draft is saved in the user's own Slack, in that DM or channel, for them to send from Slack. If their Slack install predates drafts, chat shows the message with Copy, Open in Slack and a Reconnect link, and for a channel the bot is in, a Send button posts it as YouSpot. Use this whenever the user asks you to write, draft or prepare a Slack message, and call it again with the revised text when they want changes. Write in the user's voice: short paragraphs, '- ' bullets, bold for the one thing that matters, label links, and <@U…> to mention someone by Slack id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The person it is for: name, email or Slack user id (U…). | |
| text | Yes | The message. | |
| team_id | No | The workspace, when the user has more than one. | |
| thread_ts | No | Reply in this thread of the channel. | |
| channel_id | No | The channel it is for (C… id), from list_slack_channels. |