Skip to main content
slack.sendMessageToPublicChannel posts to a public channel even when the installed bot is not a member. Prefer slack.sendMessage when the bot already belongs to the destination because it needs only chat:write.

Example

automations/post-public-slack-update.automation.ts

Inputs

Output

Returns conversationId, the stable message timestamp, and Slack’s normalized message object. This action requires both chat:write and chat:write.public.