E-commerce · n8n

Auto-Import Zendrop Trending Products as Shopify Draft Listings

Fetches trending product data from Zendrop via HTTP request and automatically creates draft product listings in your Shopify store. This saves e-commerce managers hours of manual copy-paste work every week.

difficulty Intermediatesetup 45 minresult Every time the workflow runs, new trending Zendrop products appear as draft listings in Shopify, ready for your review and pricing before publishing.
  1. 1

    Schedule the workflow to run daily

    Add a Schedule Trigger node. Set Trigger Interval to Days and Days Between Triggers to 1. Choose a time when your store traffic is low, such as 3:00 AM, so draft creation does not interfere with live store performance. No credentials are needed for this node.

  2. 2

    Fetch trending products from Zendrop

    Add an HTTP Request node named Get Zendrop Trending. Set Method to GET and URL to https://app.zendrop.com/api/v1/products/trending. Under Authentication, select Header Auth and add a header named Authorization with value Bearer YOUR_ZENDROP_API_KEY. In the node Notes, store your API key hint. Set Response Format to JSON. This returns an array of trending product objects.

  3. 3

    Extract and map product fields

    Add a Set node named Map Product Fields. Enable Keep Only Set to avoid passing unnecessary data. Create four fields: title mapped to {{ $json.name }}, body_html mapped to {{ $json.description }}, vendor set to the static text Zendrop, and status set to the static text draft. This shapes the data to match Shopify's product creation API.

  4. 4

    Create draft product in Shopify

    Add an HTTP Request node named Create Shopify Draft. Set Method to POST and URL to https://YOUR-STORE.myshopify.com/admin/api/2024-01/products.json. Under Authentication, select Header Auth and add X-Shopify-Access-Token with your Shopify Admin API token. Set Body Content Type to JSON and in Body Parameters add a single field product with value {{ $json }}. Replace YOUR-STORE with your actual Shopify subdomain in the URL.

  5. 5

    Log results to confirm success

    Add a Set node named Log Result. Create two fields: shopify_product_id mapped to {{ $json.product.id }} and product_title mapped to {{ $json.product.title }}. This gives you a clean output record for each created draft that you can review in the n8n execution log or pipe to a Slack message in a future enhancement.

Frequently asked questions

Where do I find my Zendrop API key?

Log in to your Zendrop account, go to Settings, then API Access. If you do not see this option, contact Zendrop support to have API access enabled on your plan. Copy the key and paste it into the Authorization header of the HTTP Request node.

How do I get a Shopify Admin API token?

In your Shopify admin panel, go to Settings > Apps and sales channels > Develop apps. Create a new app, grant it the write_products scope, and install it. Shopify will then display your Admin API access token. Copy it into the X-Shopify-Access-Token header of the Create Shopify Draft node.

Will this create duplicate products if it runs every day?

By default this workflow does not check for duplicates. To prevent duplicates, add an IF node between the Set and Shopify nodes that checks whether the Zendrop product ID already exists in a Google Sheet you maintain as a log. Only proceed to create the Shopify draft if the ID is not found in the sheet.

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.