Celebrate Every WooCommerce Sale Instantly in Your Discord Community
Automatically post a fun celebration message to your Discord channel every time a new WooCommerce order comes in. Keep your team or community hyped about every sale without lifting a finger.
- 1
Catch a new WooCommerce order
Add a
WooCommerce Triggernode. Set theEventfield toorder.created. In the node credentials, enter your WooCommerce store URL, consumer key, and consumer secret. n8n will register a webhook on your store automatically. - 2
Extract the key order details
Add a
Setnode connected to the trigger. Create three fields:orderTotalmapped to{{$json.total}},customerNamemapped to{{$json.billing.first_name}}, andorderIdmapped to{{$json.id}}. These clean values will be used in the Discord message. - 3
Check the order status before celebrating
Add an
IFnode connected to the Set node. Set the condition to check that{{$json.orderTotal}}is greater than0. This prevents test or zero-value orders from triggering a celebration message in Discord. - 4
Post the celebration to Discord
Add an
HTTP Requestnode connected to thetruebranch of the IF node. SetMethodtoPOSTand paste your Discord channel webhook URL into theURLfield. SetBody Content TypetoJSONand use this body:{"content": "๐ New sale alert! Order #{{$json.orderId}} just came in from {{$json.customerName}} for ${{$json.orderTotal}}! Zendrop is on it โ let's gooo! ๐"}. Create a Discord webhook in your channel settings under Integrations. - 5
Verify the message was sent
Run a test order on your WooCommerce store and watch your Discord channel. You should see the celebration message appear within seconds. Check the n8n execution log if nothing shows up โ common issues are an incorrect webhook URL or mismatched field names.
Frequently asked questions
Do I need to do anything special in Zendrop to make this work?
No. Zendrop handles fulfillment automatically in the background. This workflow celebrates the sale the moment WooCommerce records the order โ you do not need to connect Zendrop directly to n8n for this use case.
Can I customize the Discord message with emojis or more order details?
Yes. In the `HTTP Request` node body, you can add any fields from the WooCommerce order payload using n8n expressions like `{{$json.line_items[0].name}}` for the product name. Discord also supports bold text using **double asterisks** inside the message string.
What happens if a customer cancels the order after the celebration fires?
The current workflow only listens for `order.created` events, so cancellations will not trigger anything. If you want to handle cancellations, you can duplicate this workflow, set the trigger to `order.updated`, add an IF check for status equal to `cancelled`, and post a separate Discord message.