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.
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 to create an app for your workspace.
- Create an app and select your workspace.
- Open Incoming Webhooks in the app settings.
- Enable Activate Incoming Webhooks.
- Then, select Add New Webhook to Workspace.
- Choose the destination channel and approve the installation.
Copy the webhook URL that Slack provides.

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.

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.
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:
{"text": "🎉 New WooCommerce order received! Check your store admin for details."}

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.

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 |

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.

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.

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.

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.
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:
{
"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.
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.
- Add supported variables through Expert JSON Filter.
- Investigate request results through API Logs and Troubleshooting.
- Compare available features in Starter vs Lite.
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
okand 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_payloadcan indicate malformed JSON or incorrectly escaped content.no_textindicates that the message text attribute is missing. For this guide’s simple message, check that the actual request contains valid JSON with a non-emptytextstring. 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.