WooCommerce to Mattermost, new order alerts for teams
New orders shouldn’t feel like a scavenger hunt. But if your store notifications are scattered across emails, admin screens, and “did anyone see that?” chat messages, something always gets missed.
This WooCommerce Mattermost alerts automation hits store owners first. Ops leads feel it when fulfillment slips. And support teams get dragged in when customers ask, “Did my order go through?”
This workflow posts a clean new-order alert into Mattermost the moment WooCommerce creates an order, so your team sees it instantly and acts faster. You’ll see what it does, what you need, and how to make it fit your process.
How This Automation Works
The full n8n workflow, from trigger to final output:
n8n Workflow Template: WooCommerce to Mattermost, new order alerts for teams
flowchart LR
subgraph sg0["WooCommerce Flow"]
direction LR
n0["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/wooCommerce.svg' width='40' height='40' /></div><br/>WooCommerce Trigger"]
n1["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/mattermost.svg' width='40' height='40' /></div><br/>Mattermost"]
n0 --> n1
end
%% Styling
classDef trigger fill:#e8f5e9,stroke:#388e3c,stroke-width:2px
classDef ai fill:#e3f2fd,stroke:#1976d2,stroke-width:2px
classDef aiModel fill:#e8eaf6,stroke:#3f51b5,stroke-width:2px
classDef decision fill:#fff8e1,stroke:#f9a825,stroke-width:2px
classDef database fill:#fce4ec,stroke:#c2185b,stroke-width:2px
classDef api fill:#fff3e0,stroke:#e65100,stroke-width:2px
classDef code fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px
classDef disabled stroke-dasharray: 5 5,opacity: 0.5
class n0 trigger
classDef customIcon fill:none,stroke:none
class n0,n1 customIcon
The Problem: New Orders Get Seen Too Late
When a new order comes in, the clock starts. Pick-pack slips if nobody notices, customers start emailing if confirmations look slow, and you end up checking WooCommerce more often than you want to admit. Email notifications help until they don’t (filters, spam, shared inbox chaos). Relying on someone to “keep an eye on the dashboard” works right up until lunch breaks, busy hours, or weekends. The result is small delays that stack into late shipments, duplicate replies, and a constant low-grade stress.
It adds up fast. Here’s where the cracks usually show.
- Someone notices the order in WooCommerce, then manually pings the team in chat, and the message is never quite consistent.
- Email alerts get buried in threads, which means urgent orders look the same as routine ones.
- Support can’t confidently answer “What’s happening with my order?” because they didn’t see it arrive in the first place.
- During busy promos, checking the admin screen every few minutes becomes the job, not a quick glance.
The Solution: Instant WooCommerce Order Alerts in Mattermost
This n8n workflow listens for the moment WooCommerce creates a new order, then posts an alert straight into your chosen Mattermost channel. No inbox. No manual copy-paste. The message arrives while the order is still “fresh,” which is when your team can actually do something useful with it (start fulfillment, flag a VIP customer, or get ahead of a likely support question). Because the alert is in a shared channel, everyone sees the same source of truth at the same time. And it keeps your internal comms clean: one alert per order, right where work already happens.
The workflow starts with a WooCommerce “order created” trigger. n8n pulls the order details from that event. Then Mattermost receives a formatted message in your channel, ready for the team to act on.
What You Get: Automation vs. Results
| What This Workflow Automates | Results You’ll Get |
|---|---|
|
|
Example: What This Looks Like
Say you handle about 20 orders a day. If it takes “only” 5 minutes to notice the order, copy the details, and message the team, that’s roughly 100 minutes daily spent just relaying info. With this workflow, the only manual time is setup, then the “after” looks like zero minutes per order because the post happens automatically as soon as WooCommerce creates it. Even if your team still reviews orders in batches, you’ve removed the constant checking and the back-and-forth pings.
What You’ll Need
- n8n instance (try n8n Cloud free)
- Self-hosting option if you prefer (Hostinger works well)
- WooCommerce to trigger on new order creation
- Mattermost to post alerts into a team channel
- Mattermost personal access token (create it in Mattermost user settings)
Skill level: Beginner. You’ll connect WooCommerce and Mattermost, then choose the channel and message fields.
Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).
How It Works
A new order is created in WooCommerce. That event is the trigger. n8n wakes up instantly when WooCommerce reports a fresh order.
The order details are captured. The workflow grabs the useful bits from the order event (think customer info, totals, order number, and status), so the alert isn’t just “an order happened.”
A Mattermost message is posted. n8n sends a formatted update to your chosen Mattermost channel so sales, ops, and support all see the same alert in the same place.
Your team reacts inside Mattermost. That might be adding an emoji reaction, assigning fulfillment, or simply using the thread to keep order-related chatter out of other channels.
You can easily modify the message fields to match what your team actually needs (like shipping method or a VIP tag) based on your needs. See the full implementation guide below for customization options.
Step-by-Step Implementation Guide
Step 1: Configure the WooCommerce Trigger
This workflow starts when a new WooCommerce order is created.
- Add the Order Creation Trigger node as the workflow trigger.
- Set Event to
order.created. - Credential Required: Connect your wooCommerceApi credentials.
Step 2: Configure the Mattermost Alert
Send a formatted order alert to a Mattermost channel when the trigger fires.
- Add the Post Mattermost Update node and connect it to Order Creation Trigger.
- Set Message to
={{$node["Order Creation Trigger"].json["billing"]["first_name"]}} bought {{$node["Order Creation Trigger"].json["line_items"][0]["name"]}}!. - Set Channel ID to
[YOUR_ID]. - Credential Required: Connect your mattermostApi credentials.
Step 3: Review Optional Notes
The workflow includes a visual note for documentation purposes.
- Keep the Flowpast Branding sticky note for reference, or remove it if you prefer a clean canvas.
Step 4: Test and Activate Your Workflow
Verify the alert message and activate the workflow for live order monitoring.
- Click Execute Workflow and place a test order in WooCommerce.
- Confirm a message posts in Mattermost with the buyer’s first name and the first line item name.
- Turn on the workflow by toggling Active to enable production use.
Common Gotchas
- Mattermost credentials can expire or need specific permissions. If things break, check your personal access token status in Mattermost user settings first.
- If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
- Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.
Frequently Asked Questions
About 20 minutes if your WooCommerce and Mattermost access is ready.
No. You will connect accounts and choose what order fields appear in the message.
Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Mattermost and WooCommerce costs (usually $0 for the APIs themselves).
Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.
Yes, but you’ll add a small filter. In n8n, place an If node between the WooCommerce trigger and the Mattermost message to check conditions like order total, coupon used, shipping method, or customer email. You can also tweak the “Post Mattermost Update” message template to highlight VIP orders with a specific prefix or emoji. Common customizations include sending to a different channel for high-value orders, posting only for “processing” status, and adding a link back to the WooCommerce order screen.
Usually it’s an expired or revoked personal access token. Generate a new token in Mattermost user settings, then update the credential in n8n and retry the execution. Also double-check the channel ID (or channel name mapping) and make sure your Mattermost user has permission to post there. If it fails only during busy bursts, you may be hitting rate limits or temporary network issues, so retrying once often confirms it.
A lot—practically, it depends on your n8n plan and hosting.
Often, yes. n8n is easier to extend when you want “real” logic later, like routing VIP orders to a different channel, enriching the message, or adding a second notification to another tool. It also gives you a self-host option, which is handy if you don’t want every order counted as a paid task. Zapier or Make can be quicker for a basic two-step alert, frankly, especially if your team already pays for them. If you’re unsure, Talk to an automation expert and describe your order volume and routing needs.
Once this is live, new orders stop being a guessing game. The workflow handles the repetitive alerting so your team can focus on shipping, replies, and growth.
Need Help Setting This Up?
Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.