Marketing · n8n

Auto-Optimize Zendrop Product Descriptions with ChatGPT for Higher Shopify SEO Rankings

Pulls raw product descriptions from Zendrop via HTTP, sends them to ChatGPT for SEO-optimized rewrites, and pushes the polished copy directly to your Shopify store. Save hours of manual copywriting while boosting organic traffic.

difficulty Intermediatesetup 45 minresult Every Zendrop product gets a keyword-rich, SEO-optimized description automatically published to Shopify without any manual editing.
  1. 1

    Trigger: Fetch a Zendrop Product on Schedule

    Add a Schedule Trigger node and set it to run every hour (or daily). This kicks off the workflow automatically. In the Interval field choose Hours and set the value to 1. You can also trigger it manually while testing by clicking Execute Workflow.

  2. 2

    Fetch Product from Zendrop API

    Add an HTTP Request node. Set Method to GET and URL to https://api.zendrop.com/api/v1/products. Add a header Authorization with value Bearer YOUR_ZENDROP_API_KEY. In the node Notes field paste your API key placeholder. The response returns a list of products with title, description, and id fields.

  3. 3

    Build the SEO Prompt with Set Node

    Add a Set node to construct the prompt string. Create a field called prompt and set its value to a plain text expression such as: Rewrite the following product description for SEO. Include primary keywords naturally, write a compelling meta-friendly opening sentence, use bullet points for features, and keep it under 300 words. Product title: followed by {{$json["data"][0]["title"]}} and then Description: followed by {{$json["data"][0]["description"]}}. Also capture product_id from {{$json["data"][0]["id"]}} as a separate field.

  4. 4

    Send Prompt to ChatGPT for SEO Rewrite

    Add an OpenAI node. Set Resource to Text and Operation to Complete (or Message if using Chat model). Select model gpt-4o. In the Prompt field reference {{$json["prompt"]}} from the previous Set node. Add your OpenAI credential under Credentials. The node returns a field text (or message.content) containing the optimized description.

  5. 5

    Push Optimized Description to Shopify

    Add an HTTP Request node configured as PUT to https://YOUR-STORE.myshopify.com/admin/api/2024-01/products/PRODUCT_ID.json. Replace PRODUCT_ID with {{$json["product_id"]}} mapped from the Set node using $node["Set"].json["product_id"]. Set Authentication to Header Auth with header X-Shopify-Access-Token and your Shopify Admin API token. In Body use JSON mode and pass {"product": {"id": "{{$node["Set"].json["product_id"]}}", "body_html": "{{$json["text"]}}"}}. Save and activate the workflow.

Frequently asked questions

How do I get my Zendrop API key?

Log in to your Zendrop account, go to Settings > API, and generate a new API key. Copy it and paste it into the Authorization header of the first HTTP Request node.

Can I target specific keywords in the ChatGPT prompt?

Yes. In the Set node where you build the prompt, append a sentence like 'Target these keywords: [keyword1, keyword2]' to the prompt string. ChatGPT will naturally incorporate them into the rewritten description.

What happens if Zendrop returns multiple products at once?

The current workflow processes the first product in the array. To handle multiple products, add a `Split In Batches` node after the HTTP Request node so each product is processed individually through the ChatGPT and Shopify steps.

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.