This article contains affiliate links. If you buy through them, we may earn a commission at no extra cost to you.
Black Friday Stock Alert Bot: Notify Customers Automatically with n8n
Black Friday is the single highest-traffic sales window of the year. Products sell out within minutes, and every customer who can't buy an item immediately is a potential lost sale — unless you have a system that brings them back the moment stock returns. Building a Black Friday stock alert bot with n8n lets you do exactly that: monitor inventory automatically, capture customer interest, and fire personalised back-in-stock emails without any manual intervention.
If you're not already running automated email sequences for your store, now is the time to start. You can pair n8n's workflow engine with ActiveCampaign — which combines email marketing and CRM in one platform — to manage your subscriber lists and deliver polished, segmented notifications at scale.
Why a Stock Alert Bot Pays Off on Black Friday
- Recover lost revenue – shoppers who sign up for alerts are already purchase-ready; a timely email converts them.
- Zero manual effort – the bot checks stock and sends messages while your team focuses on fulfilment.
- First-mover advantage – customers get notified seconds after stock is updated, before competitors can react.
- List building – every sign-up is a new subscriber you can market to beyond Black Friday.
What You Need Before You Start
- An n8n instance — self-hosted (free) or n8n Cloud
- Your e-commerce platform's API (WooCommerce, Shopify, or any REST API)
- An email marketing tool or SMTP connection
- A simple database or Google Sheet to store waiting customers
Step-by-Step: Building the Workflow in n8n
Step 1 – Create the Sign-Up Webhook
Add a Webhook node in n8n as your trigger. This endpoint receives POST requests whenever a customer clicks "Notify me when available" on your product page. Configure your front-end form to send the customer's email address, name, and product SKU to this URL.
Inside the Webhook node, set the HTTP method to POST and copy the production URL into your front-end form action. n8n will immediately begin listening for incoming sign-ups.
Step 2 – Store Customer Data
Connect a Google Sheets node (or an Airtable / database node) to the Webhook. Map the incoming fields — email, name, SKU, timestamp — to columns in your sheet. This becomes your waiting-list database. Add a column called notified and set it to false by default so you can filter later.
Step 3 – Schedule the Inventory Check
Add a second workflow (or a separate branch triggered by a Schedule Trigger node) that runs every 5–15 minutes during the Black Friday window. This node kicks off the stock-checking loop automatically.
Step 4 – Query Your Store's Inventory API
Connect an HTTP Request node and point it at your store's product API endpoint. For WooCommerce the endpoint looks like:
GET /wp-json/wc/v3/products/{id}
Parse the response and extract the stock_status and stock_quantity fields. Use an IF node to branch: if stock_quantity > 0, continue to notification; otherwise, stop the workflow.
Step 5 – Filter Waiting Customers for That SKU
Connect another Google Sheets node set to Read Rows. Use a filter to return only rows where the SKU matches the back-in-stock product and the notified column is false. This prevents duplicate alerts.
Step 6 – Send the Notification Email
Use the Send Email node (SMTP) or connect to your email marketing platform. Personalise the subject line with the customer's name and the product name pulled from the API response. A proven subject line template:
- "{{name}}, your item is back — but not for long 🔥"
Include a direct link to the product page with a UTM parameter so you can track conversions in Google Analytics.
Step 7 – Mark Customers as Notified
After the email node, add a Google Sheets node set to Update Row. Set the notified column to true. This closes the loop and ensures no customer receives the same alert twice.
Advanced Enhancements
Add an SMS Channel
Insert a Twilio node after Step 6 to send an SMS alongside the email. SMS open rates during flash sales routinely exceed 90 %, making it a powerful addition to your Black Friday arsenal.
Rate-Limit High-Demand Products
If a product is extremely popular, you may want to notify only the first N customers to avoid a second sell-out before the page even loads. Use a Limit node or a counter variable stored in n8n's static data to cap the batch.
Personalise with Purchase History
If your CRM holds previous purchase data, add an HTTP Request to fetch that data and inject personalised recommendations into the email body — for example, "You bought X last year; here's what's back in stock."
Connecting n8n to Your Email Platform
For stores with larger lists or complex segmentation needs, native SMTP may not be enough. Connecting n8n to ActiveCampaign gives you full CRM-backed email automation — including contact tagging, automated sequences, and deliverability optimisation — all triggered directly from your n8n workflow via API.
n8n Deployment Options
You can run n8n entirely for free by self-hosting it on any Linux server, or use n8n Cloud for a managed, always-on environment with automatic updates. Either way, the workflow JSON you build here is portable and can be imported with a single click.
Sample Workflow Summary
- Trigger: Webhook (sign-up) + Schedule (every 10 min)
- Check: HTTP Request → Inventory API
- Filter: IF node (stock > 0) + Google Sheets filter (notified = false)
- Notify: Send Email node (+ optional Twilio SMS)
- Update: Google Sheets → set notified = true
Results You Can Expect
Shops that implement back-in-stock alerts typically see 15–30 % of alert subscribers convert within 24 hours of receiving the notification. During Black Friday, where urgency is already baked in, that number can be even higher. The entire n8n workflow described here takes roughly two to three hours to set up and then runs without supervision for every sale event you run in the future.
If you want to send smarter, segmented back-in-stock emails this Black Friday, you can manage your subscriber lists and automated sequences via ActiveCampaign — including email marketing and CRM in one platform — to maximise every restocked product's revenue potential.