post_to_slack
Post a Slack announcement destructive
Description
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 ("<channel>/<ts>") 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.
Parameters
| Parameter | Type | Description |
|---|---|---|
brand | string | WHICH PROFILE this post belongs to, for THIS CALL ONLY (beats the connection’s pin): an id or exact name from list_brands. A name that matches no profile, or two, is REFUSED and nothing is posted. |
hook | string | the post's angle — a list_hooks id or your own wording, reused exactly |
subject | string | what the post is about |
recipe | string | the post's FORMAT id, e.g. "slideshow" or "imessage_chat" — post_performance groups by it, so reuse one id per format |
ideaId | string | short id of the content-plan idea this post came from |
idempotencyKey | string | any stable string: a repeat within 24h returns the original post instead of posting again |
allowDuplicate | boolean | post it even though an identical post was just made |
text | string | |
title | string | a header line above the text |
imageUrl | string | |
imageUrls | string[] | |
videoUrl | string | |
altText | string | alt text for the images |
slackWorkspace | string | HERMOSO APP: which Slack workspace (id or name) when the app is in several |
channel | string | HERMOSO APP: channel id or #name (list_slack_channels); unset = the default channel |
threadTs | string | HERMOSO APP: reply in this thread (the parent message ts) |
replyBroadcast | boolean | HERMOSO APP: also show the thread reply in the channel |
postAt | string | HERMOSO APP: schedule in Slack itself for this ISO time (≤120 days, text only; use schedule_post for files) |
unfurlLinks | boolean | false = no link previews |
username | string | HERMOSO APP: post this text message under this name |
iconUrl | string | HERMOSO APP: https picture for that name |
iconEmoji | string | HERMOSO APP: emoji picture, like :rocket: |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/post_to_slack.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_to_slack","arguments":{}}}
CLI
hermoso call post_to_slack --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
edit_slack_messageEdit a Slack messagedelete_slack_messageDelete a Slack messageget_slack_messageRead a Slack messageconnect_connectorConnect a paste-a-key accountget_discord_messageRead a Discord announcementdelete_discord_messageDelete a Discord announcementedit_discord_messageEdit a Discord announcementpost_to_discordPost a Discord announcement