Post a Slack announcement
post_to_slackPublishes text, images, or video to Slack channels, threads, or scheduled posts, and returns a message ID for later editing, deletion, or lookup.
Instructions
Post to the user's Slack. Free. With the Hermoso app installed it posts as the app to channel (or the brand's default channel), uploads images and video, replies in a thread (threadTs) or schedules in Slack (postAt, text only, ≤120 days); the messageId it returns ("/") is what edit_slack_message, delete_slack_message and get_slack_message take. Without the app it posts through the brand's announcement webhook (never the alert one): text ≤40,000 characters (refused, never cut), a title line, png/jpg/gif images by link, video as a link; a webhook post has no id, so it cannot be edited, deleted or measured. Not connected: connect_connector with provider slack and no fields returns the install link.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "post_to_slack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hook | No | the post's angle — a list_hooks id or your own wording, reused exactly | |
| text | No | ||
| brand | No | WHICH PROFILE this post belongs to — id or exact name from list_brands (a shared workspace: its profile id). Beats the connection's pin for THIS CALL ONLY; a name that matches no profile, or two, is REFUSED and nothing is posted. | |
| title | No | a header line above the text | |
| ideaId | No | short id of the content-plan idea this post came from | |
| postAt | No | HERMOSO APP: schedule in Slack itself for this ISO time (≤120 days, text only; use schedule_post for files) | |
| recipe | No | the post's FORMAT id, e.g. "slideshow" or "imessage_chat" — post_performance groups by it, so reuse one id per format | |
| altText | No | alt text for the images | |
| channel | No | HERMOSO APP: channel id or #name (list_slack_channels); unset = the default channel | |
| iconUrl | No | HERMOSO APP: https picture for that name | |
| subject | No | what the post is about | |
| imageUrl | No | ||
| threadTs | No | HERMOSO APP: reply in this thread (the parent message ts) | |
| username | No | HERMOSO APP: post this text message under this name | |
| videoUrl | No | ||
| iconEmoji | No | HERMOSO APP: emoji picture, like :rocket: | |
| imageUrls | No | ||
| unfurlLinks | No | false = no link previews | |
| allowDuplicate | No | post it even though an identical post was just made | |
| idempotencyKey | No | any stable string: a repeat within 24h returns the original post instead of posting again | |
| replyBroadcast | No | HERMOSO APP: also show the thread reply in the channel | |
| slackWorkspace | No | HERMOSO APP: which Slack workspace (id or name) when the app is in several |