Generate WooCommerce Product Descriptions with Claude Sonnet AI

Want to generate WooCommerce product descriptions with Claude Sonnet AI or any other LLM? You can do it with WP Sheet Editor – AI. It’s an AI assistant that allows you to integrate AI in all WP Sheet Editor spreadsheets. And in this case, you can use it to write great product descriptions using Claude Sonnet AI or your favorite LLM.

This is what you need to generate descriptions with Claude

Besides the WooCommerce plugin and the products for which you will generate descriptions, you need these elements:

1- WP Sheet Editor – WooCommerce Products

It allows you to manage your WooCommerce products in a spreadsheet interface. You can skip this step if you already have the plugin.

2- WP Sheet Editor – AI

It’s a service that allows you to connect with different AI providers and LLMs. You can integrate the use of artificial intelligence in all spreadsheets of the WP Sheet Editor suite.

3- OpenRouter API

The AI functionality in WP Sheet Editor relies on an external API like OpenAI, OpenRouter, etc.

WP Sheet Editor – AI works perfectly with OpenAI and other providers that use the same format as OpenAI.

But to use the Claude Sonnet models, you need an OpenRouter API (more info here).

To set up Claude Sonnet for generating product descriptions, you need to follow these steps:

  1. On your WordPress dashboard, go to WP Sheet Editor > AI > Settings > Settings.
  2. Provider: OpenRouter
  3. Model Key: In this example, we will use Claude 3.7, so we need to add this: anthropic/claude-3.7-sonnet
  4. API Name: openrouter – anthropic/claude-3.7-sonnet
  5. API Key: Add your OpenRouter API key here.
  6. Model Context Lenght: Context length is the maximum amount of tokens that you want to send to the model in a request, this includes the past messages in a chat or the row context when you edit in the sheet. The higher context length, the more expensive your API usage will be.
  7. What is the purpose of this model: You can select any of these options:
    • Chat
    • Add new rows with AI
    • Cell editions
    • Bulk Edit
  8. Save the changes.

generate-woocommerce-product-descriptions-claude-sonnet-ai

Prompt for writing product descriptions with Claude Sonnet

To make it easier for you to generate WooCommerce product descriptions with Claude Sonnet, we share with you a prompt that you can test and customize. As you will notice, this prompt is for generating product descriptions based on the product title. If you want to add other fields as context, you can do it by setting the field name like this: $Field Name$. For example, you can add references to fields such as $Product Color$, $Product category$, $Product Brands$, etc.

Generate a complete, engaging product description for a WooCommerce product based on the $Title$, $Product categories$, $Product Color$, and $Product Size$. The description should highlight key features and benefits hastily, with a maximum of 200 words. Use HTML format without Markdown, and keep the formatting simple with paragraphs only. Focus on creating a description that attracts customer interest and encourages sales.

Please make sure you test and customize this prompt before using it in bulk.

Optional: Save it as a global prompt

With WP Sheet Editor – AI, you can create a bank of global prompts that you can use in WP Sheet Editor spreadsheets. This is great because when you want to use a specific prompt, you won’t have to type it in full, but you could use a simple shortcut like ai:product-description, ai:short-description, etc.

Here’s how you can create and save a global prompt for generating product descriptions with Claude:

Go to WP Sheet Editor > AI > Settings > Prompts.

Once there, click on Add new to create a new prompt.

generate-woocommerce-product-descriptions-claude-sonnet-ai

Add the prompt Name and Prompt text. You can learn more about global prompts here.

generate-woocommerce-product-descriptions-claude-sonnet-ai

Once you’re done, click on Save.

generate-woocommerce-product-descriptions-claude-sonnet-ai

After saving the changes, you’ll see the newly generated slug, which you can now use to run this prompt in WP Sheet Editor.

If you’ll use this prompt in spreadsheet cells, you can type ai:product-description, for example, in order to use the prompt you’ve just created.

generate-woocommerce-product-descriptions-claude-sonnet-ai

Open the WooCommerce products spreadsheet

Go to WP Sheet Editor > Edit products to open the products’ spreadsheet.

generate-woocommerce-product-descriptions-claude-sonnet-ai

Generate product descriptions with Claude Sonnet AI

In this example, we will edit all the products missing description, so we will first filter them using the Search tool.

generate-woocommerce-product-descriptions-claude-sonnet-ai

Once you’re in the Search tool, tick the Enable advanced filters checkbox and select these values:

  • Field: Content
  • Operator: =
  • Value: Leave this field empty

Click on Run search to filter all the products missing descriptions.

generate-woocommerce-product-descriptions-claude-sonnet-ai

We have filtered all our WooCommerce products without descriptions.

generate-woocommerce-product-descriptions-claude-sonnet-ai

Here are some options to generate WooCommerce product descriptions with Claude AI in WP Sheet Editor.

Option 1: Generate product descriptions in spreadsheet cells

You have two options to write descriptions with Claude AI in spreadsheet cells:

a) Using prompt shortcuts

This is great if, for example, you have a presaved global prompt named Product Description , whose prompt slug is product-description.

In that case, you can write ai:product-description in the corresponding cell.

Once you hit Enter, the Claude Sonnet will start automatically writing the product description.

woocommerce product descriptions ai

b) Using full prompts

If you have not saved the global prompt, you can type the complete prompt instead of the prompt slug.

This method works perfectly for:

  • Polishing existing descriptions
  • Generating new descriptions with a full prompt written on the spot
  • Translating product descriptions into other languages

For example, you can enter something like this:

ai:generate a product description under 100 words based on the $Title$, $Product categories$, $Product color$ and $Product size$ fields.

And if you don’t want to generate a new description but polish the existing description, you can enter a custom prompt like this:

ai:add important information about the product, like $Product categories$, $Product Color$, and $Produc Size$, and make the description more appealing.

In this example, we have added the complete prompt providing detailed requirements for generating the description.

woocommerce product descriptions ai

Just hit Enter and Claude Sonnet will generate your product description.

woocommerce product descriptions ai

You can paste the same prompt shortcut/full prompt in multiple cells in order to bulk generate descriptions.

woocommerce product descriptions ai

Once you have generated all the product descriptions you want, click on Save.

generate-woocommerce-product-descriptions-claude-sonnet-ai

Option 2: Write Claude Sonnet descriptions in TinyMCE editors

When the cells to be edited have TinyMCE editors, you can open the editor in a popup by clicking the “Edit” button.

generate-woocommerce-product-descriptions-claude-sonnet-ai

For example, the Content (Description) and Short Description columns have TinyMCE editors, so let’s see how to generate product descriptions on those fields.

You need to click on Edit with AI, enter the Prompt and click on Generate.

woocommerce product descriptions ai

Once you hit Generate, the product description will be generated.

woocommerce product descriptions ai

Option 3: Bulk generate product descriptions with Claude Sonnet AI

WP Sheet Editor – AI allows you to generate product descriptions in bulk with Claude Sonnet AI.

Start by opening the Bulk Edit tool.

generate-woocommerce-product-descriptions-claude-sonnet-ai

Once you’re in the Bulk Edit tool, you have two options to bulk generate descriptions with Claude AI.

We will use the global prompt to generate descriptions in bulk.

  • Select the rows that you want to update: You can edit all the rows from the current search or all the rows you have manually selected in the spreadsheet.
  • What field do you want to edit: Content
  • Select type of edit: Select your global prompt. In this case, we will select the “AI command: Product description” prompt.
  • AI Provider: In this example, we will use Claude 3.7 to generate the product descriptions.
  • Optional: You can click on Show preview, and you’ll see a preview of the result before saving the changes.
  • Click on Execute Now.

generate-woocommerce-product-descriptions-claude-sonnet-ai

Optional – Summarize the full description in the short description

You can use Claude Sonnet AI to summarize the full description in the Short description field. This way, you can generate consistent product descriptions and short descriptions.

For example, you can enter a prompt like this in the cells of the Short Description column:

ai:Summarize the $Content$ in 25 words

Please note that, in WP Sheet Editor, the “Product description” column is named “Content”.

You can also use that prompt in the Bulk Edit tool.

woocommerce short description ai

Once you’ve generated the short descriptions, you need to Save the changes.

woocommerce short description ai

Claude Sonnet AI and WP Sheet Editor – AI are your best companions to generate product descriptions with AI.

Besides, you can automatically summarize the product descriptions to create the short descriptions.

Do you need help?

You can receive instant help in the live chat during business hours, or you can contact us and we will help you via email.