YetiLabs Post Alerts for Slack
YetiLabs Post Alerts for Slack lets you send a Slack message automatically when a post is published in selected categories. Define simple rules:
- Category (one or more) → Channel → Message template
- Supports Slack Web API via Bot Token (
chat.postMessage). - Legacy Incoming Webhook is supported as a fallback if you haven’t migrated to a bot token yet.
Features:
– Per-site settings in multisite (no network settings)
– Multiple rules; a post can trigger multiple messages
– Customizable message template with placeholders: {title}, {url}, {author}, {categories}, {site_url}, {site_title}
Trademark notice: “Slack” is a trademark of Slack Technologies, LLC. This plugin is not affiliated with, endorsed, or sponsored by Slack Technologies, LLC.
How It Works
The plugin works by matching the categories of a published post against your defined rules.
- Defining Rules: You can create multiple rules. Each rule consists of:
- Trigger Categories: One or more categories that will trigger the alert.
- Target Channel: The Slack channel where the message will be sent (e.g.,
#generalor a channel ID). - Message Template: The content of the message, supporting placeholders like
{title}and{url}.
- Post Publication: When a post is published (or transitions to the ‘publish’ status), the plugin checks its categories.
- Matching: If a post’s category matches any category in a rule, that rule is triggered.
- Multiple Matches: If a post matches multiple rules, a separate message will be sent for each matching rule. For example, if you have a rule for “News” going to
#newsand another for “Tech” going to#tech, a post in both categories will trigger alerts in both channels.
External Services
This plugin connects to the Slack API (an external service) to send notification messages when posts are published. Slack is a third-party service provided by Slack Technologies, LLC.
What data is sent: When a post matching your configured rules is published, the plugin sends the following data to Slack: post title, URL, author name, categories, and your custom message template.
Why data is sent: Data is sent to Slack to provide the core functionality of the plugin: notifying your Slack workspace when new content is published on your WordPress site.
When data is sent: Data is transmitted to Slack only when a post is published that matches your configured category rules.
Service provider: Slack Technologies, LLC – Slack API endpoint: https://slack.com/api/chat.postMessage – Terms of Service: https://slack.com/terms-of-service – Privacy Policy: https://slack.com/privacy-policy
Privacy
This plugin sends content you configure (title, URL, author, categories, and your template) to Slack. No personal data is stored by the plugin beyond the settings you save in your WordPress database. See Slack’s privacy policy for how Slack handles data.
Uninstall
On uninstall, the plugin deletes the following option from each site: ylps_settings.
