n8n Workflow
Beginner

WooCommerce New Order to Slack Notification

Automate your sales notifications by sending a custom Slack message for every new WooCommerce order over a certain value. Filter orders and keep your team updated instantly.

Overview

Automatically sends a Slack notification for new WooCommerce orders that exceed a specific total amount, keeping your sales team informed in real-time.

🛒 Description & Use Case

This workflow automatically sends a notification to a Slack channel whenever a new order is created in WooCommerce, but only if the order's total value is $100 or more. This allows your team to stay informed about significant sales in real-time.

🔄 How It Works:

  1. Trigger: The workflow starts when a new order is created in your WooCommerce store.
  2. Filter: An IF node checks if the total of the order is greater than or equal to 100.
  3. Notify: If the condition is met, a custom message is sent to your designated Slack channel. The message is formatted to include key details:
    • Order ID
    • Status
    • Total Amount
    • A direct link to the order in WooCommerce
    • Order date and transaction ID in the footer.

✅ Real-World Use Cases:

  • Sales Team Alerts: Instantly notify your sales team in a dedicated channel about high-value orders so they can celebrate wins or begin a personalized follow-up process.
  • Fulfillment Prioritization: Alert your warehouse or fulfillment team to prioritize packing and shipping for large orders.
  • Management Oversight: Keep leadership informed of key sales milestones as they happen without needing them to log into WooCommerce.
  • Company-Wide Morale: Create a live feed of big sales in a general channel to boost morale and keep everyone in the loop on the company's success.

Instructions

Basic steps

  1. Download workflow JSON
  2. Import into n8n
  3. Configure node parameters as needed
  4. Test and enable the workflow

💡 Tips

After importing, verify all connectors and credentials match your environment.

Preview

Workflow Visualization

3 nodes
100%
Order CreatedwooCommerceTriggerSend to SlackslackPrice over 100if

Nodes

1

Order Created

wooCommerceTrigger

v1
2

Send to Slack

slack

v1
3

Price over 100

if

v1

Statistics

Total nodes:3
Disabled nodes:0
Node types:3
Connections:2
View full JSON structure
{
  "nodes": [
    {
      "name": "Order Created",
      "type": "n8n-nodes-base.wooCommerceTrigger",
      "position": [
        340,
        500
      ],
      "webhookId": "287b4bf4-67ec-4c97-85d9-c0d3e6f59e6b",
      "parameters": {
        "event": "order.created"
      },
      "credentials": {
        "wooCommerceApi": {
          "id": "48",
          "name": "WooCommerce account"
        }
      },
      "typeVersion": 1
    },
    {
      "name": "Send to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        780,
        480
      ],
      "parameters": {
        "text": ":sparkles: There is a new order :sparkles:",
        "channel": "woo-commerce",
        "blocksUi": {
          "blocksValues": []
        },
        "attachments": [
          {
            "color": "#66FF00",
            "fields": {
              "item": [
                {
                  "short": true,
                  "title": "Order ID",
                  "value": "={{$json[\"id\"]}}"
                },
                {
                  "short": true,
                  "title": "Status",
                  "value": "={{$json[\"status\"]}}"
                },
                {
                  "short": true,
                  "title": "Total",
                  "value": "={{$json[\"currency_symbol\"]}}{{$json[\"total\"]}}"
                },
                {
                  "short": false,
                  "title": "Link",
                  "value": "={{$node[\"Order Created\"].json[\"_links\"][\"self\"][0][\"href\"]}}"
                }
              ]
            },
            "footer": "=*Ordered:* {{$json[\"date_created\"]}} | *Transaction ID:* {{$json[\"transaction_id\"]}}"
          }
        ],
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "id": "53",
          "name": "Slack Access Token"
        }
      },
      "typeVersion": 1
    },
    {
      "name": "Price over 100",
      "type": "n8n-nodes-base.if",
      "position": [
        540,
        500
      ],
      "parameters": {
        "conditions": {
          "number": [
            {
              "value1": "={{$json[\"total\"]}}",
              "value2": 100,
              "operation": "largerEqual"
            }
          ]
        }
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Order Created": {
      "main": [
        [
          {
            "node": "Price over 100",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Price over 100": {
      "main": [
        [
          {
            "node": "Send to Slack",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    }
  }
}

Actions

Share
Categories:
Tags:
ifslackwoocommercetrigger

Technical Specs

Complexity:
Beginner
Node Count:
3 nodes
Published:11 months ago
Updated:about 2 months ago

Compatibility

Platform:
N8N Cloud & Self-hosted
Min Version:
N8N v1.0.0+
Supports cloud and self-hosted deployment

License

This workflow template follows MIT license, you can freely use, modify and distribute.

Please comply with relevant third-party service terms when using.

Related Workflows