---
title: Slack Notification Setup for WooCommerce with AnyAPI
description: This Slack notification setup connects WooCommerce order events to a Slack channel through AnyAPI. You will create an incoming webhook, configure a manual integration, and check the notification and API response. The Starter walkthrough uses a fixed message. Afterwards, Lite…
url: "https://anyapiplugin.com/docs/quick-start-slack-notification/"
updated: "2026-11-02"
category: Getting Started
---

# Slack Notification Setup for WooCommerce with AnyAPI

This Slack notification setup connects WooCommerce order events to a Slack channel through AnyAPI. You will create an incoming webhook, configure a manual integration, and check the notification and API response.

The Starter walkthrough uses a fixed message. Afterwards, Lite users can add order-specific details through Expert mode.

**Plan required:** Starter for the fixed-message workflow; Lite for Expert-mode variables
**Destination:** A Slack app’s incoming webhook

## Before You Start

Prepare the following:

- A WordPress site with WooCommerce and AnyAPI active.
- A Slack workspace where you can install an app or obtain administrator approval.
- A channel for test notifications.
- Access to create a WooCommerce test order.

For context and use cases, see the [WooCommerce Slack notification overview](https://anyapiplugin.com/woocommerce-slack-notification/).

Because this guide uses a manually configured integration, you do not need to start from an integration template.

## Step 1: Create a Slack Incoming Webhook

First, follow Slack’s [incoming webhook guide](https://docs.slack.dev/messaging/sending-messages-using-incoming-webhooks/) to create an app for your workspace.

1. Create an app and select your workspace.
2. Open **Incoming Webhooks** in the app settings.
3. Enable **Activate Incoming Webhooks**.
4. Then, select **Add New Webhook to Workspace**.
5. Choose the destination channel and approve the installation.

Copy the webhook URL that Slack provides.

[![Slack incoming webhook settings showing the destination channel](https://anyapiplugin.com/wp-content/uploads/2026/06/quick-start-slack-notification-2.png)](https://anyapiplugin.com/wp-content/uploads/2026/06/quick-start-slack-notification-2.png)

Because this URL contains a secret, keep it private. Mask the complete URL in screenshots shared publicly or with support.

## Step 2: Add a Key for Your Slack Notification Setup

Slack incoming webhooks authenticate through their URL, so this workflow does not need a separate Slack Bearer Token. However, AnyAPI requires a saved API Key entry for the outgoing integration.

Open **AnyAPI → API Keys**, click **Add API Key**, and create this dummy entry:

| Field | Value |
| --- | --- |
| Key Name | `Slack Placeholder` |
| Authentication Type | Bearer Token |
| Bearer Token | `unused` |
| Status | Active |

Then, click **Save Key**.

[![AnyAPI dummy Bearer Token key for a Slack notification integration](https://anyapiplugin.com/wp-content/uploads/2026/11/anyapi-slack-key-clean-20261103.jpg)](https://anyapiplugin.com/wp-content/uploads/2026/11/anyapi-slack-key-clean-20261103.jpg)
Example of an existing dummy key in the Edit API Key form. The screenshots use Documentation Test Dummy as the label; it serves the same role as Slack Placeholder in this guide.

The dummy value is not a Slack API token. Instead, use your actual Slack webhook URL as the destination in the next step.

For more information, read [API Key Management](https://anyapiplugin.com/docs/api-key-management/).

## Step 3: Configure the Slack Notification Setup

Next, open **AnyAPI → Order API** and click **New Integration**.

Choose **URL / API** as the destination type, then configure:

| Setting | Value |
| --- | --- |
| Integration Name | `Slack New Order Alert` |
| API URL | Your Slack incoming webhook URL |
| API Key | `Slack Placeholder` |

In **API Payload (JSON)**, enter:

```json

                {"text": "🎉 New WooCommerce order received! Check your store admin for details."}
```

[![Slack notification setup in AnyAPI Starter with a static JSON message](https://anyapiplugin.com/wp-content/uploads/2026/11/anyapi-slack-automation-clean-20261103.jpg)](https://anyapiplugin.com/wp-content/uploads/2026/11/anyapi-slack-automation-clean-20261103.jpg)
Example settings in Starter. Replace the example endpoint with your own Slack webhook URL.

The payload contains fixed text, so matching orders produce the same message. As a result, it signals that an order event occurred without including customer details.

Do not add `{{variable}}` placeholders to this Basic-mode example. If you need order-specific text, use the Lite example later in this guide.

After checking the fields, click **Next**.

## Step 4: Select the New Order Trigger

Choose **New Order** in the Trigger step.

[![AnyAPI Starter trigger selection with New Order selected](https://anyapiplugin.com/wp-content/uploads/2026/11/anyapi-slack-trigger-clean-20261103.jpg)](https://anyapiplugin.com/wp-content/uploads/2026/11/anyapi-slack-trigger-clean-20261103.jpg)

Starter includes **Watch Orders, New Order, and Processing**. However, the additional triggers shown in the interface require Lite.

For this walkthrough, keep New Order selected so the integration follows that event. Then, click **Next**.

## Step 5: Confirm Basic Mode for the Slack Notification Setup

In JSON Filter, leave **Basic** selected.

The interface distinguishes between two payload configurations:

| Automation payload | Basic-mode configuration |
| --- | --- |
| Empty | Forward the full WooCommerce order object |
| Custom static JSON entered | Use the custom JSON described by the static-payload option |
| JSON containing `{{variables}}` | Variables are not interpolated in Basic mode |

[![AnyAPI Starter Basic mode explaining full order data and custom static JSON](https://anyapiplugin.com/wp-content/uploads/2026/11/anyapi-slack-basic-clean-20261103.jpg)](https://anyapiplugin.com/wp-content/uploads/2026/11/anyapi-slack-basic-clean-20261103.jpg)

For this Slack notification setup, retain the custom JSON from Step 3. Slack needs a message body rather than the complete WooCommerce order object.

Because Basic mode does not replace variables, use the fixed-message example for your first test. Afterwards, click **Review**.

## Step 6: Review and Test the Slack Notification Setup

Check the integration summary:

- The endpoint matches your intended Slack webhook.
- The API Key is **Slack Placeholder**.
- The trigger is **New Order**.
- The filter mode is **Basic**.

[![AnyAPI Slack integration review showing New Order and Basic mode](https://anyapiplugin.com/wp-content/uploads/2026/11/anyapi-slack-review-clean-20261103.jpg)](https://anyapiplugin.com/wp-content/uploads/2026/11/anyapi-slack-review-clean-20261103.jpg)

Then, click **Save & Finish** and confirm that the integration is active.

Place a test order through your WooCommerce storefront. Afterwards, open the channel associated with the webhook and look for the notification.

[![Slack displaying a fixed WooCommerce order notification sent by AnyAPI](https://anyapiplugin.com/wp-content/uploads/2026/06/anyapi-slack-notification-result.png)](https://anyapiplugin.com/wp-content/uploads/2026/06/anyapi-slack-notification-result.png)
Example of a fixed notification in Slack.

Also, open the AnyAPI **API Log** and find the matching request. A successful Slack incoming-webhook response normally returns HTTP 200 with the response text `ok`.

[![AnyAPI Starter API Log showing a successful Slack webhook response](https://anyapiplugin.com/wp-content/uploads/2026/06/anyapi-slack-starter-api-log-1024x172.png)](https://anyapiplugin.com/wp-content/uploads/2026/06/anyapi-slack-starter-api-log.png)
Earlier Lite interface shown. Starter has a read-only log without Lite’s search and statistics.

Check both the response and the destination channel before relying on the integration. If no matching log appears, investigate the integration status and trigger before changing the JSON.

For further help, see [API Logs and Troubleshooting](https://anyapiplugin.com/docs/api-logs-troubleshooting/).

## Add Dynamic Order Details with Lite

Once the fixed notification works, Lite users can select **Expert** in JSON Filter and configure an order-specific message:

```json

                {
  "text": "New WooCommerce order #{{order_id}} — Order total: {{order_total}}"
}
```

Expert mode supports these order variables. Therefore, the notification can identify the order that triggered it instead of displaying identical text every time.

Save the updated integration and test another order. For additional payload options, read the [JSON Filter guide](https://anyapiplugin.com/docs/json-filter-mode/).

## Troubleshooting Your Slack Notification Setup

Start with the response body, because it often explains more than the HTTP status alone.

| Result | What to check |
| --- | --- |
| `invalid_payload` | Check JSON syntax, quotation marks, and escaping. Return to the simple message example before adding more content. |
| `no_text` | Check that the simple message payload contains a non-empty `text` string. |
| `no_service` or `no_active_hooks` | Check whether the webhook is valid and enabled. |
| `action_prohibited` | Ask the workspace administrator whether posting is restricted. |
| `channel_is_archived` | Use an active destination channel. |
| HTTP 200 but no visible message | Check the response body, request timestamp, workspace, and channel associated with the webhook. |
| No matching API Log entry | Confirm that the integration is active and the order event matches the selected trigger. |
| Full order data reaches Slack | Reopen Automation and check that your custom message JSON was saved. Inspect the actual request before assuming the configuration worked. |

For example, a correct webhook URL can still point to a different channel from the one you are viewing. Therefore, verify the channel in the Slack app settings as well as the URL in AnyAPI.

If variables appear literally in the message, check the filter mode. Basic mode does not interpolate them; dynamic messages require Lite’s Expert mode.

## Next Steps

After your Slack notification setup is verified, you can:

- Review other triggers in [Order API Integration](https://anyapiplugin.com/docs/order-api-integration/).
- Add supported variables through [Expert JSON Filter](https://anyapiplugin.com/docs/json-filter-mode/).
- Investigate request results through [API Logs and Troubleshooting](https://anyapiplugin.com/docs/api-logs-troubleshooting/).
- Compare available features in [Starter vs Lite](https://anyapiplugin.com/docs/feature-comparison-free-vs-lite-vs-plus/).

Although Starter supports unlimited API calls, it applies throttling after 500 calls per month. Lite removes that Starter throttle.

Retest after changing the webhook, trigger, or payload so you can confirm the updated result.

## Frequently Asked Questions

### Slack Notification FAQ

- Slack returns HTTP 200 but no message appears — what’s wrong?

  Check that the response body is `ok` and that the log entry matches your latest test. Then, verify the workspace and channel associated with that exact webhook. A successful response does not confirm that you are viewing the intended destination. If necessary, update the webhook and test again.
- My Slack webhook returns HTTP 400 (invalid_payload or no_text) — how do I fix it?

  `invalid_payload` can indicate malformed JSON or incorrectly escaped content. `no_text` indicates that the message text attribute is missing. For this guide’s simple message, check that the actual request contains valid JSON with a non-empty `text` string. Use the fixed-message example before adding more content, then inspect Slack’s response.
- Do I need a Slack app or a paid Slack plan to receive WooCommerce order alerts?

  You need a Slack app with Incoming Webhooks enabled and permission to install it in your workspace. A free Slack workspace can support app integrations, subject to its app limit and administrator policies. The webhook URL provides Slack authentication, while AnyAPI requires the saved dummy key described in this guide.
- Why does my Slack notification show the same message for every order?

  The Basic-mode example contains fixed text, so each matching order produces the same message. Basic mode does not replace `{{variables}}`. To include order details, use Lite’s Expert mode with supported variables such as `{{order_id}}` and `{{order_total}}`, then test the updated integration.
- Can I send WooCommerce order notifications to Slack for free?

  Starter supports the manual fixed-message setup described in this guide. Create a Slack incoming webhook, save a dummy API Key in AnyAPI, enter the message JSON in Automation, and select Basic mode. Dynamic order variables require Lite’s Expert mode. Slack workspace permissions and app limits apply separately.
