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.
- 1
Schedule the workflow to run daily
Add a
Schedule Triggernode. SetTrigger IntervaltoDaysandDays Between Triggersto1. 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
Fetch trending products from Zendrop
Add an
HTTP Requestnode namedGet Zendrop Trending. SetMethodtoGETandURLtohttps://app.zendrop.com/api/v1/products/trending. UnderAuthentication, selectHeader Authand add a header namedAuthorizationwith valueBearer YOUR_ZENDROP_API_KEY. In the nodeNotes, store your API key hint. SetResponse FormattoJSON. This returns an array of trending product objects. - 3
Extract and map product fields
Add a
Setnode namedMap Product Fields. EnableKeep Only Setto avoid passing unnecessary data. Create four fields:titlemapped to{{ $json.name }},body_htmlmapped to{{ $json.description }},vendorset to the static textZendrop, andstatusset to the static textdraft. This shapes the data to match Shopify's product creation API. - 4
Create draft product in Shopify
Add an
HTTP Requestnode namedCreate Shopify Draft. SetMethodtoPOSTandURLtohttps://YOUR-STORE.myshopify.com/admin/api/2024-01/products.json. UnderAuthentication, selectHeader Authand addX-Shopify-Access-Tokenwith your Shopify Admin API token. SetBody Content TypetoJSONand inBody Parametersadd a single fieldproductwith value{{ $json }}. ReplaceYOUR-STOREwith your actual Shopify subdomain in the URL. - 5
Log results to confirm success
Add a
Setnode namedLog Result. Create two fields:shopify_product_idmapped to{{ $json.product.id }}andproduct_titlemapped 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.