Slack
Posting to a Slack channel through Octopost: connect an Incoming Webhook, text and image limits, and how threads post.
Status: in testing. You can connect Slack channels and post to them, but this hasn't been verified end to end yet. A post may fail.
Octopost posts to a Slack channel through an Incoming Webhook: text and images, with videos posted as links. You connect the channel once from the dashboard, and Octopost handles the rest: you just send us your content.
Connecting a channel#
- Go to api.slack.com/apps and create an app (From scratch) in your workspace.
- Open Incoming Webhooks, turn it on, then choose Add New Webhook to Workspace.
- Pick the channel and choose Allow, then copy the webhook URL.
- In Octopost, open Accounts, pick Slack, paste the URL and give the channel a name (for example
#announcements).
Slack has no way to look a webhook up without posting to it, so Octopost only checks the URL's format. Tick Send a test message if you want to confirm it works right away. Each webhook is its own account, so you can connect several channels.
Content Limits#
| Type | Limit |
|---|---|
| Message text | Keep it under 3,000 characters |
| Images per post | Up to 48 |
| Video | Posted as a link |
Good to Know#
- Slack formatting applies.
*bold*,_italic_and<https://example.com|links>work as they do in Slack. - Threads post as follow-up messages in the channel. An Incoming Webhook can't reply inside a Slack thread.
- Anyone with the webhook URL can post to the channel. Octopost keeps it encrypted. Remove the webhook from your Slack app to cut Octopost off.
Example#
{
"content": "Deploy finished: the new billing page is live.",
"platforms": ["slack"]
}That's it. Octopost takes care of the rest.