VIP Slack alerts for new WooCommerce orders
Get an instant Slack ping with order details, lifetime value, and repeat buyer status every time a high-value WooCommerce order comes in.
Build an agent workflow that posts an enriched Slack alert to my sales channel every time a new order is created in WooCommerce, so my team can react to high-value or repeat-buyer orders in real time.
Trigger: a WooCommerce webhook on the order.created event. The webhook payload includes the new order's id and customer_id.
When the workflow fires, the agent should:
1. Use WooCommerce Get Order to pull the full order by id, including line items, totals, customer name, billing email, and order status.
2. Use WooCommerce List Orders filtered by the same customer_id (and status in processing, completed, or on-hold) to fetch this customer's prior orders. From that list, compute lifetime spend (sum of order totals across all orders including the new one), total prior orders, and whether this is a first-time or returning buyer.
3. Decide whether to alert. Flag the order as VIP if any of these are true: the order total is at or above a configurable threshold (default $250), or the customer's lifetime spend is at or above a configurable top-tier threshold (default $1,000), or the customer has 3 or more prior orders. If the order is a first-time buyer AND below the VIP threshold, skip it silently and do not post to Slack. Otherwise continue.
4. Use the Slack Bot Send a Message operation to post a short, scannable summary to a configurable channel (default #sales). The message should include: a header line indicating VIP, Returning, or New Customer status; the customer's name and email; the order total formatted as currency; the line items (product name x quantity, one per line, truncate to the top 5 with a +N more line if longer); the customer's lifetime value and prior order count; and a link to the order in WooCommerce admin if possible. Format the message with Slack mrkdwn so it is easy to skim on mobile.
Configurable inputs the workflow should expose: the Slack channel to post to, the VIP order-total threshold, the lifetime-value threshold, and whether to alert on every order (override the skip-low-value-first-time rule).
Use the slackbot (Slack Bot) integration for posting messages, not the user Slack integration, since these are automated workspace alerts and should come from a bot identity. Use the woocommerce integration for the order lookups.
Additional information
What does this prompt do?
- Watches your WooCommerce store and fires the moment a new order is placed, so your sales channel sees the sale before the customer email even lands.
- Pulls the customer's full order history to compute lifetime spend, prior order count, and first-time vs returning status, then attaches that context to the alert.
- Tags orders as VIP when they cross a threshold you set, like a $250 cart or a top spender, so the team knows when to personally follow up.
- Skips low-value first-time orders silently, keeping your Slack channel focused on the orders that actually need a human response.
What do I need to use this?
- A WooCommerce store you can log in to as an admin to generate a read key.
- A Slack workspace where you can install the General Input bot and invite it to your sales or revenue channel.
- A rough idea of what counts as a high-value order for your store, for example a dollar threshold or a lifetime spend tier.
How can I customize it?
- Change the VIP threshold to match your store. A boutique might flag every order over $100; a high-ticket store might only care above $1,000.
- Swap the destination channel, send VIP alerts to one channel and everything else to another, or send a DM to the account owner instead.
- Adjust what shows up in the message, like adding the shipping country, coupon codes used, or a deep link back to the order in WooCommerce admin.
Frequently asked questions
Will this spam my Slack channel with every tiny order?
How does it know if someone is a repeat customer?
Can I change what counts as a VIP order?
Do I need a paid Slack plan for this?
What if my store gets a sudden spike of orders?
Stop missing your most valuable orders.
Connect WooCommerce and Slack once, and every VIP order shows up in your sales channel with the context your team needs to act on it.