How to Send a WooCommerce Slack Notification

A WooCommerce Slack notification sends an order alert to a channel your team already checks. With AnyAPI, you can configure a fixed message on Starter or use Lite’s Expert mode to include order details.

For example, a fulfillment team can use a new-order alert as a prompt to check WooCommerce. If the team needs the order ID and total in the message itself, use an Expert payload.

WooCommerce Slack notification showing a fixed new-order alert in Slack

How a WooCommerce Slack Notification Works

First, create a Slack Incoming Webhook for the channel where your team wants to receive alerts. Slack generates a URL for that channel. Because the URL contains a secret, keep it private. Slack Incoming Webhooks documentation

Then configure an Order API integration in AnyAPI with that URL and the order trigger you want to use. The wizard requires a saved API Key entry, so follow the Quick Start to create and select the placeholder credential. Slack notification setup Quick Start

Send a Fixed Message on Starter

Starter can send a fixed Slack alert using a static JSON payload in Basic mode. For example, enter the following in the API Payload field and choose New Order as the trigger.

{"text":"New WooCommerce order received. Check your store for details."}

Because this example uses fixed text, each alert carries the same message. Keep the static payload in the field for this workflow. An empty payload in Basic mode sends the full WooCommerce order, while this alert uses a Slack message payload.

AnyAPI Starter integration with a static JSON payload for a Slack order alert

Add Order Details with Lite Expert Mode

If your team needs order details in the message, use Expert mode on Lite. For example, this payload includes the order ID and total.

{"text":"New WooCommerce order #{{order_id}}. Total: {{order_total}}."}

When the selected event occurs, AnyAPI replaces the supported placeholders with values from that order. JSON Filter guide

Choose an Order Trigger

Starter includes Watch Orders, New Order, and Processing. For example, choose Processing if your team wants the notification when an order enters that status.

Lite adds Pending, On Hold, Completed, Cancelled, Refunded, and Failed. Choose the event that matches when your team needs to act. Order API Integration guide

Test Your WooCommerce Slack Notification

After saving the integration, trigger a test order event that matches your configuration. Then check the target Slack channel for the expected message.

If the message is missing, open AnyAPI → API Log and look for the corresponding request. Check the HTTP status and response body, then use the response to investigate the webhook URL or message payload. After correcting the configuration, run another test and confirm the message in Slack.

Frequently Asked Questions

Is a WooCommerce Slack notification free?

Yes. AnyAPI Starter supports fixed Slack alerts using static JSON in Basic mode. Choose Lite if you need dynamic order details through Expert mode or additional order triggers.

Do I need to write PHP or JavaScript?

You configure the connection in WordPress. The setup requires a Slack webhook URL and a JSON message payload. You can copy the example above and edit the message text.

Can I send an alert when an order is refunded?

Yes. Choose the Refunded trigger on Lite, then test it with an order that enters that status.

Set Up Your First Order Alert

Start with a fixed message and test it in your Slack channel. Then decide whether your team needs order details in each alert or additional triggers. Follow the Slack Quick Start · Compare Starter and Lite

For a spreadsheet workflow, see the WooCommerce Google Sheets guide.

Share This Article

Create API Integration With AnyAPI

Embrace no coding with a single click & create API Integration

© Copyright 2025・AnyAPI・All rights reserved