Ops · n8n

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.

difficulty Intermediatesetup 40 minresult Your ops team receives a clear Gmail notification listing every Zendrop product with fewer than 10 units remaining, triggered on a scheduled check.
  1. 1

    Schedule a Regular Inventory Check

    Add a Schedule Trigger node. Set Trigger Interval to every 1 hour (or your preferred frequency). This node kicks off the workflow automatically so your team never has to check manually.

  2. 2

    Fetch Your Zendrop Product Inventory

    Add an HTTP Request node. Set Method to GET and URL to your Zendrop API endpoint for products (e.g. https://api.zendrop.com/v1/products). Add your Zendrop API key as a Header named Authorization with value Bearer YOUR_API_KEY. Store your key safely in n8n credentials. The node returns a list of products with their stock quantities.

  3. 3

    Filter Products Below 10 Units

    Add an IF node connected to the HTTP Request. In the Condition section, set the left value to {{ $json.stock_quantity }}, operator to Smaller, and right value to 10. Items passing the TRUE branch are the low-stock products you need to act on.

  4. 4

    Build the Alert Message

    Add a Set node on the TRUE branch. Create a field called alertBody and set its value to a plain text message such as Low 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. 5

    Send the Gmail Alert

    Add a Gmail node (Send Email action). Connect your Google account in Credentials. Set To to your ops team email address, Subject to Zendrop Low Stock Warning, and Message to {{ $json.alertBody }}. Enable HTML off 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.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.