Slack Integration: AI-Processed Alerts and Digests to Any Channel
Slack is where your team lives. AIWU can push AI-processed alerts, summaries, and updates into any Slack channel the moment something happens on your WordPress site — new orders, published posts, form submissions, support requests, or any scheduled digest. This guide covers both simple webhook notifications and more advanced Slack bot interactions.
Before You Start
You’ll need:
- Familiar with the workflow builder (First Custom Workflow guide)
- AIWU Pro with API key configured
- A Slack workspace where you can add apps
- Time needed: ~10 minutes
- Plan required: Pro (basic webhook sending works on Free)
Step 1: Create a Slack Webhook
A webhook URL lets AIWU post messages directly to a Slack channel without complex authentication.
- Go to api.slack.com/apps → Create New App → From scratch
- Name: “AIWU Notifications”, workspace: your workspace
- In the app settings: Incoming Webhooks → toggle On → Add New Webhook to Workspace
- Select the channel to post to (e.g. #aiwu-alerts or a specific team channel)
- Copy the webhook URL — it looks like:
https://hooks.slack.com/services/T.../B.../...
Create a separate webhook for each channel you want to post to — or create multiple channels and multiple webhooks.
- #orders — new orders, status changes
- #content — published posts, content ideas
- #reviews — customer reviews with sentiment
- #alerts — error notifications, urgent items
Step 2: Save Webhook in AIWU
Go to AI Copilot → Integrations → Slack → Add Webhook. Paste the webhook URL and give it a name (e.g. “Orders channel”). Repeat for each channel/webhook.
Step 3: Add Slack Action to Workflows
In any workflow: Output Action → Send Slack Message → select your saved webhook.
In the message body, mix variables and {ai_output}:
🛒 *New Order #_{order_id}_*
👤 {billing_first_name} {billing_last_name} | {billing_email}
💰 {order_total} via {payment_method}
📦 {order_items}_{ai_output}_
Slack supports basic markdown: *bold*, _italic_, `code`, and emoji. Use these to make messages scannable at a glance.
Ready-to-Use Message Templates
New post published → content team:
📝 *New post published on {site_name}*
*{post_title}*
{post_url}
Category: {post_category} | Author: {post_author}{ai_output}
AI prompt: “Write a 1-sentence internal note about why this post matters for our content strategy. Based on title: {post_title}, category: {post_category}.”
Weekly summary → management:
📊 *Weekly Site Summary — {current_date}*{ai_output}
AI prompt: “Write a brief weekly summary. This week: [X posts published], [Y orders]. Key highlights to mention: […]”
High-value order alert:
🔥 *High-value order alert!*
Order #{order_id}: *{order_total}*
Customer: {billing_first_name} {billing_last_name}
Items: {order_items}
👉 View: https://aiwuplugin.com/wp-admin/post.php?post={order_id}&action=edit
Add a condition to only trigger this for orders over a set amount (e.g. order_total > $500).
Advanced: Slack Bot (Two-Way Communication)
For two-way interaction — team members sending commands to Slack that trigger AIWU actions — set up a Slack bot with slash commands. This requires creating a Slack App with Slash Commands enabled, pointing the command to your AIWU webhook endpoint. See the REST API guide for the endpoint format.
Example slash command: /generate-ideas → AIWU runs the content ideas workflow and posts results back to Slack within seconds.
Verify It’s Working
In your AIWU Integrations → Slack → click Test Webhook next to any saved webhook. A test message should appear in the Slack channel within 5 seconds.
Common Issues
Problem: “Test webhook works but live workflow messages don’t appear.”
Fix: Verify the workflow is active and the trigger condition has been met. Check the workflow log for errors.
Problem: “Messages appear but formatting looks broken (asterisks not bold, etc.).”
Fix: Slack markdown uses *bold*, not **bold**. Also ensure you’re not wrapping the message in HTML — Slack uses plain text with its own markdown, not HTML.
What’s Next
- 🔔 WooCommerce orders to Slack already configured: Order Notifications guide
- ⭐ Product reviews to Slack: Review → Slack Workflow Recipe
- 📧 Also notify by email: Gmail & Outlook Integration
Last verified: AIWU v.4.9.2 · Updated: 2026-02-25
