# WooCommerce Refunded Order to Slack

Source: https://openflow.run/en/templates/woocommerce-refund-slack-alert/
Content language: en
Template revision: f2bf5895d91486412f320151dafd9c6b95b42091

Commerce

Notify Slack when an updated WooCommerce order is refunded and its order total is at least 100.

[Use in Open Flow](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2Ff2bf5895d91486412f320151dafd9c6b95b42091%2Fworkflows%2Fwoocommerce-refund-slack-alert%2Ftemplates%2Fwoocommerce-refund-slack-alert.openflow.json)

*   [Open Flow JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/woocommerce-refund-slack-alert/templates/woocommerce-refund-slack-alert.openflow.json)
*   [n8n JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/woocommerce-refund-slack-alert/templates/woocommerce-refund-slack-alert.n8n.json)

![WooCommerce Refunded Order to Slack workflow in Open Flow](https://openflow.run/_astro/preview-light.BIN19kFf_QmMm8.webp)

Notify Slack when an updated WooCommerce order is refunded and its order total is at least 100.

## Setup

Connect WooCommerce in **Order Updated**. The store account must be able to create and manage webhooks. Connect Slack in **Post notification to Slack**, set the destination channel ID, and give that account access to the channel.

For n8n, select WooCommerce credentials in **Order Updated** and a Slack account and channel in **Send to Slack**. Activate one format after setup; each activated workflow creates its own store subscription.

Each `order.updated` event checks two conditions: status is exactly `refunded`, and the **original order total is at least 100**, including exactly 100. The threshold uses the order’s currency units without conversion. It does not measure an individual refund amount or check whether the status changed during this update. A later update to an already refunded order can post another alert. Change the threshold in **Order total at least 100** in Open Flow or **If Refund and Over 100** in n8n. Alerts show the order ID, status, original total, and store update timestamp.

The message keeps the source’s colored Slack attachment. Dynamic values are escaped for Slack, and timestamps retain the store’s supplied text. If the payload has no currency symbol, the total uses its ISO currency code. The workflow posts once per matching event and keeps no notification history. Duplicate event deliveries or running both formats can produce duplicate messages. A Slack error fails the run; the workflow does not automatically retry or confirm that a person has read the alert.

## Changes to the source

*   Replace the original channel with a setup placeholder.
*   Validate the fields used in each alert and escape dynamic Slack values.
*   Add an attachment fallback and make the source event and filters explicit.
*   Use the order currency code when the source’s currency symbol field is absent.

Adapted from [WooCommerce Refunded Order to Slack](https://github.com/Zie619/n8n-workflows/blob/ae8cf6dc5b873cbb4f74587aa9180ed3a9f70682/workflows/Woocommerce/1155_Woocommerce_Slack_Create_Triggered.json) in [Zie619/n8n-workflows](https://github.com/Zie619/n8n-workflows). The source export does not identify a separate template author or license.

The collection’s [MIT notice](https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/LICENSE) is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/f2bf5895d91486412f320151dafd9c6b95b42091/README.md#licensing).

> MIT License
> 
> Copyright (c) 2025 Zie619
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## Apps used

*   [**Slack**`slack`](https://console.openflow.run/connections/slack)
*   [**WooCommerce**`woocommerce`](https://console.openflow.run/connections/woocommerce)

## What you’ll need

*   WooCommerce store connection with permission to manage webhooks
*   Slack connection with chat:write access to the destination channel
*   Destination Slack channel ID

*   woocommerce
*   slack
*   orders
*   notifications

[View on GitHub](https://github.com/oomol-lab/awesome-workflow-templates/blob/f2bf5895d91486412f320151dafd9c6b95b42091/workflows/woocommerce-refund-slack-alert/README.md)
