Get an Instant Gmail Alert When Zendrop Product Stock Falls Below 10 Units
Automatically monitors your Zendrop inventory and sends a Gmail alert the moment any product drops below 10 units in stock. Keep your ops team informed before stockouts happen.
- 1
Schedule a Regular Inventory Check
Add a
Schedule Triggernode. SetTrigger Intervalto every 1 hour (or your preferred frequency). This node kicks off the workflow automatically so your team never has to check manually. - 2
Fetch Your Zendrop Product Inventory
Add an
HTTP Requestnode. SetMethodto GET andURLto your Zendrop API endpoint for products (e.g.https://api.zendrop.com/v1/products). Add your Zendrop API key as a Header namedAuthorizationwith valueBearer YOUR_API_KEY. Store your key safely in n8n credentials. The node returns a list of products with their stock quantities. - 3
Filter Products Below 10 Units
Add an
IFnode connected to the HTTP Request. In theConditionsection, set the left value to{{ $json.stock_quantity }}, operator toSmaller, and right value to10. Items passing the TRUE branch are the low-stock products you need to act on. - 4
Build the Alert Message
Add a
Setnode on the TRUE branch. Create a field calledalertBodyand set its value to a plain text message such asLow Stock Alert: {{ $json.product_name }} has only {{ $json.stock_quantity }} units remaining. Please reorder immediately.This formats each low-stock product into a readable line for the email. - 5
Send the Gmail Alert
Add a
Gmailnode (Send Email action). Connect your Google account inCredentials. SetToto your ops team email address,SubjecttoZendrop Low Stock Warning, andMessageto{{ $json.alertBody }}. EnableHTMLoff for plain text. The team receives one email per low-stock product found in each scheduled run.
Frequently asked questions
Where do I find my Zendrop API key?
Log into your Zendrop account, navigate to Settings or Developer Settings, and look for the API section. Copy your API key and paste it into the Authorization header of the HTTP Request node. Keep it private and never share it publicly.
Can I change the stock threshold from 10 to a different number?
Yes. Open the IF node and change the right-hand value from 10 to any number that suits your reorder point. For example, enter 25 if you want alerts when stock falls below 25 units.
Will I get a flood of emails if many products are low on stock?
Currently the workflow sends one email per low-stock product per run. To consolidate them into a single digest email, you can add an Aggregate or Code node between the IF and Gmail nodes to combine all product names into one message body before sending.