VIP Slack alerts for new WooCommerce orders

By General Input

Get an instant Slack ping with order details, lifetime value, and repeat buyer status every time a high-value WooCommerce order comes in.

Integrations

  • WooCommerce
  • Slack

Type

Agentic Task

Categories

  • Sales
  • Operations

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.

Related prompts

Explore more prompts
A brand asset library your marketing team actually searchesTurn Mailjet email clicks into ranked HubSpot follow-upsClean out the Looker dashboards and Looks nobody opensLiveKit live operations console for room moderationWake up dormant Keap leads with a researched reasonLiveChat coverage board for planning next week's shiftsPhone routing control panel for LiveKit voice agentsLinkedIn Ads budget pacing dashboard for every client accountGive your team Looker numbers without buying more seatsPause marketing emails to escalated customers, then restore them