{"id":316644,"date":"2026-06-12T17:10:18","date_gmt":"2026-06-12T17:10:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/slack-notifications\/"},"modified":"2026-06-12T17:09:53","modified_gmt":"2026-06-12T17:09:53","slug":"zafs-alert-for-slack","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/zafs-alert-for-slack\/","author":20220642,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.8","stable_tag":"1.0.8","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"ZAFS Alert For Slack","header_author":"Zohaib Murtaza","header_description":"Send alerts to Slack for WordPress events (posts, users, comments). WooCommerce order and stock notifications when WooCommerce is active. Not affiliated with Slack.","assets_banners_color":"888bb9","last_updated":"2026-06-12 17:09:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/zafs-alert-for-slack\/","header_author_uri":"https:\/\/profiles.wordpress.org\/zohaibwb\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":26,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.8":{"tag":"1.0.8","author":"zohaibwb","date":"2026-06-12 17:09:53"}},"upgrade_notice":{"1.0.8":"<p>No action required.<\/p>","1.0.7":"<p>Settings and Slack apps are preserved automatically on upgrade (including sites that used wpafs_* storage).<\/p>","1.0.6":"<p>Settings and Slack apps are preserved automatically on upgrade.<\/p>","1.0.5":"<p>Renamed to WP Alert For Slack. Settings are preserved.<\/p>","1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3570370,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3570370,"resolution":"256x256","location":"assets","locale":"","width":256,"height":265}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3570370,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":488},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3570370,"resolution":"772x250","location":"assets","locale":"","width":772,"height":244}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.8"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3570370,"resolution":"1","location":"assets","locale":"","width":2552,"height":1636},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3570370,"resolution":"2","location":"assets","locale":"","width":2552,"height":1644},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3570370,"resolution":"3","location":"assets","locale":"","width":2696,"height":2010},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3570370,"resolution":"4","location":"assets","locale":"","width":2550,"height":1790},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3570370,"resolution":"5","location":"assets","locale":"","width":2694,"height":2004}},"screenshots":{"1":"Plugin home (apps and notification list)","2":"Creating or editing a Slack app","3":"Add\/edit notification modal with channel picker and message template","4":"Importing and exporting apps and notifications as JSON","5":"Setup guide modal"}},"plugin_section":[],"plugin_tags":[1110,282,4906,3565,286],"plugin_category":[45],"plugin_contributors":[266853],"plugin_business_model":[],"class_list":["post-316644","plugin","type-plugin","status-publish","hentry","plugin_tags-alerts","plugin_tags-ecommerce","plugin_tags-notifications","plugin_tags-slack","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-zohaibwb","plugin_committers-zohaibwb"],"banners":{"banner":"https:\/\/ps.w.org\/zafs-alert-for-slack\/assets\/banner-772x250.jpg?rev=3570370","banner_2x":"https:\/\/ps.w.org\/zafs-alert-for-slack\/assets\/banner-1544x500.jpg?rev=3570370","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/zafs-alert-for-slack\/assets\/icon-128x128.png?rev=3570370","icon_2x":"https:\/\/ps.w.org\/zafs-alert-for-slack\/assets\/icon-256x256.png?rev=3570370","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/zafs-alert-for-slack\/assets\/screenshot-1.png?rev=3570370","caption":"Plugin home (apps and notification list)"},{"src":"https:\/\/ps.w.org\/zafs-alert-for-slack\/assets\/screenshot-2.png?rev=3570370","caption":"Creating or editing a Slack app"},{"src":"https:\/\/ps.w.org\/zafs-alert-for-slack\/assets\/screenshot-3.png?rev=3570370","caption":"Add\/edit notification modal with channel picker and message template"},{"src":"https:\/\/ps.w.org\/zafs-alert-for-slack\/assets\/screenshot-4.png?rev=3570370","caption":"Importing and exporting apps and notifications as JSON"},{"src":"https:\/\/ps.w.org\/zafs-alert-for-slack\/assets\/screenshot-5.png?rev=3570370","caption":"Setup guide modal"}],"raw_content":"<!--section=description-->\n<p><strong>ZAFS Alert For Slack<\/strong> sends messages to your Slack workspace when important events happen on your WordPress site. This plugin is developed by Zohaib Murtaza and is <strong>not affiliated with, endorsed by, or sponsored by Slack<\/strong>.<\/p>\n\n<p>Create multiple notification rules \u2014 each with its own Slack app, channel, event, and custom message template. Use dynamic variables like <code>{post_title}<\/code>, <code>{user_login}<\/code>, or <code>{order_total}<\/code> in your messages.<\/p>\n\n<p><strong>WordPress events<\/strong> include published posts, new user registrations, and new comments.<\/p>\n\n<p><strong>WooCommerce support<\/strong> \u2014 when WooCommerce is active, you can also notify Slack about new orders, order status changes, low stock, and new products.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Save multiple Slack apps (name + bot token) and reuse them across notifications<\/li>\n<li>Multiple notification rules (different apps, channels, and events per rule)<\/li>\n<li>Connect with a Slack Bot User OAuth Token (<code>xoxb-...<\/code>)<\/li>\n<li>Load and select channels from your workspace<\/li>\n<li>Custom message templates with merge tags<\/li>\n<li>Send test messages before going live<\/li>\n<li>Encrypted token storage at rest<\/li>\n<li>Export and import apps and notifications as JSON (backup, migration)<\/li>\n<li>WordPress events: post published, user registered, comment posted<\/li>\n<li>WooCommerce events (when WooCommerce is active): product created, new order, order status changed, low stock<\/li>\n<\/ul>\n\n<h4>Slack setup<\/h4>\n\n<ol>\n<li>Create a Slack app at <a href=\"https:\/\/api.slack.com\/apps\">api.slack.com\/apps<\/a><\/li>\n<li>Add <strong>Bot Token Scopes<\/strong>: <code>channels:read<\/code>, <code>groups:read<\/code> (required for private channels), <code>chat:write<\/code><\/li>\n<li>Install the app to your workspace and copy the <strong>Bot User OAuth Token<\/strong><\/li>\n<li>Invite the bot to the channel: <code>\/invite @YourBot<\/code><\/li>\n<li>Paste the token in the plugin and click <strong>Load channels<\/strong><\/li>\n<\/ol>\n\n<h4>Privacy<\/h4>\n\n<p>Slack bot tokens and notification settings are stored in your WordPress database (tokens are encrypted at rest). No data is sent to the plugin author.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to <strong>Slack<\/strong> (Slack Technologies, LLC) through the <a href=\"https:\/\/api.slack.com\/\">Slack Web API<\/a> at <code>https:\/\/slack.com\/api\/<\/code>. Slack is required to verify bot tokens, list channels, and deliver alert messages you configure.<\/p>\n\n<p><strong>What is sent and when<\/strong><\/p>\n\n<ul>\n<li><strong>When you save a Slack app<\/strong> \u2014 the plugin sends your Bot User OAuth Token to Slack (<code>auth.test<\/code>) to verify the token and read the workspace name.<\/li>\n<li><strong>When you click Load channels<\/strong> \u2014 the plugin sends the token to Slack to list channels your bot can access (<code>conversations.list<\/code> and related methods).<\/li>\n<li><strong>When you send a test message or a notification fires<\/strong> \u2014 the plugin sends the token, target channel ID, and the message text (built from your template and event data such as post title, user login, order total, or product name) to Slack (<code>chat.postMessage<\/code>).<\/li>\n<\/ul>\n\n<p>You choose which events trigger notifications. If WooCommerce is active, order-related templates may include billing email, order totals, and product details you include in the message template.<\/p>\n\n<p><strong>Service provider<\/strong><\/p>\n\n<p>Slack Technologies, LLC \u2014 <a href=\"https:\/\/slack.com\/terms-of-service\">Terms of Service<\/a>, <a href=\"https:\/\/slack.com\/trust\/privacy-policy\">Privacy Policy<\/a>.<\/p>\n\n<p>This plugin is not affiliated with Slack. Use of Slack is subject to your workspace agreement with Slack.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> or install via Plugins \u2192 Add New<\/li>\n<li>Activate <strong>ZAFS Alert For Slack<\/strong> through the Plugins menu<\/li>\n<li>Go to <strong>ZAFS Alerts<\/strong> in the admin menu<\/li>\n<li>Under <strong>Slack apps<\/strong>, click <strong>Add Slack app<\/strong> and save your bot token<\/li>\n<li>Under <strong>Notifications<\/strong>, click <strong>Add notification<\/strong>, select an app, load channels, and configure the event<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20this%20an%20official%20slack%20plugin%3F\"><h3>Is this an official Slack plugin?<\/h3><\/dt>\n<dd><p>No. ZAFS Alert For Slack is an independent plugin by Zohaib Murtaza. It uses Slack's API but is not affiliated with Slack.<\/p><\/dd>\n<dt id=\"do%20i%20need%20a%20paid%20slack%20plan%3F\"><h3>Do I need a paid Slack plan?<\/h3><\/dt>\n<dd><p>A free Slack workspace works. You need permission to create a Slack app and install it.<\/p><\/dd>\n<dt id=\"why%20can%27t%20i%20see%20my%20channel%3F\"><h3>Why can't I see my channel?<\/h3><\/dt>\n<dd><p>Private channels only appear if the bot has been invited. Run <code>\/invite @YourBot<\/code> in the channel, then click <strong>Load channels<\/strong>. Your app must include the <code>groups:read<\/code> scope \u2014 if you added it after installing, reinstall the app to the workspace and re-save the token in the plugin.<\/p><\/dd>\n<dt id=\"can%20i%20use%20one%20token%20for%20all%20notifications%3F\"><h3>Can I use one token for all notifications?<\/h3><\/dt>\n<dd><p>Yes. You can reuse the same token on multiple rules and choose different channels or events.<\/p><\/dd>\n<dt id=\"does%20this%20work%20without%20woocommerce%3F\"><h3>Does this work without WooCommerce?<\/h3><\/dt>\n<dd><p>Yes. WordPress events are always available. WooCommerce events appear when WooCommerce is active.<\/p><\/dd>\n<dt id=\"does%20it%20support%20woocommerce%3F\"><h3>Does it support WooCommerce?<\/h3><\/dt>\n<dd><p>Yes. When WooCommerce is active, additional events are available for new orders, order status changes, low stock, and new products \u2014 each with its own channel and message template.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Removed WordPress.org directory asset files from the plugin package (upload via SVN after approval)<\/li>\n<li>Documented Slack external service usage in readme (data sent, terms, privacy policy)<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Rebranded user-facing name to ZAFS Alert For Slack (ZAFS Alerts menu)<\/li>\n<li>Renamed internal includes from wpafs_* to zafs_* filenames<\/li>\n<li>Migration from wpafs_* options and WooCommerce dedupe meta; wpafs: token decrypt fallback<\/li>\n<li>Import accepts exports from wp-alert-for-slack slug<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Internal identifiers aligned with plugin name (ZAFS prefix, zafs_* options and REST namespace)<\/li>\n<li>Automatic migration from legacy wsn_* option keys<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Renamed to WP Alert For Slack (slug: wp-alert-for-slack)<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Renamed plugin per WordPress.org trademark guidelines<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Send alerts to Slack for WordPress posts, users, and comments. WooCommerce order and stock notifications when WooCommerce is active.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/316644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=316644"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zohaibwb"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=316644"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=316644"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=316644"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=316644"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=316644"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=316644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}