WooCommerce: Generate Product Descriptions with Gemini

Looking for a way to generate WooCommerce product descriptions with Gemini? You’re in the right place, as in this tutorial we will show you how to use Google Gemini to write product descriptions. You won’t have to write the descriptions manually, because you can use AI to create beautiful descriptions that are appealing to your customers and good for SEO.

Tools to create descriptions with Google Gemini

Manually writing product descriptions is no easy task. It takes a lot of time and creativity. This can drain your energy. Fortunately, we have the right tools for you to have AI write your product descriptions. This will give your online store consistency across products and SEO optimization for WooCommerce.

Besides the WooCommerce plugin, here’s what you need to create product descriptions with Gemini:

1- WP Sheet Editor – WooCommerce Products

This plugin allows you to view and edit your WooCommerce products in a spreadsheet interface on WordPress.

Note: Skip this step if you already have the plugin.

2- WP Sheet Editor – AI

WP Sheet Editor – AI is a service that allows you to connect your WordPress site with different AI providers and LLMs and integrate artificial intelligence in all WP Sheet Editor spreadsheets.

3- OpenRouter API for using Gemini

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.

In this example, we will use Gemini through our OpenRouter API (more info here).

To set up Google Gemini 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 Google: Gemini Flash 2.0, so we need to add this: google/gemini-2.0-flash-001
  4. API Name: openrouter – google/gemini-2.0-flash-001
  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.

woocommerce generate product descriptions with gemini

Prompt for Google Gemini: Generate WooCommerce descriptions

To simplify the process of creating WooCommerce product descriptions using Google Gemini, we’re providing a prompt that you can try and modify to fit your needs. This prompt is designed to generate descriptions based on the product title. If you’d like to include additional details, you can do so by specifying the field name in this format: $Field Name$. For instance, you can reference fields like $Product Color$, $Product Category$, or $Product Brand$ to add more context.

Generate a complete, engaging product description 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 store a collection of global prompts for use within your spreadsheets. This is especially useful because instead of typing out a full prompt each time, you can simply use a shortcut like ai:product-description or ai:short-description.

Here’s how you can set up and save a global prompt to generate product descriptions using Google Gemini AI:

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

Click on Add new to create a new prompt.

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

Once you’re done, click on Save.

woocommerce-generate-product-descriptions-gemini

Once you save the changes, the newly generated slug will appear, allowing you to use this prompt in WP Sheet Editor.

If you plan to use this prompt within spreadsheet cells, simply type ai:product-description, for example, to apply the prompt you just created.

woocommerce-generate-product-descriptions-gemini

Generate product descriptions with Google Gemini

Once you have set up everything you need, you can proceed to write your product descriptions using Gemini AI. To do this, you need to first go to WP Sheet Editor > Edit products to open the spreadsheet.

woocommerce generate product descriptions with gemini

Once there, you have at least three options to set up AI-generated product descriptions.

Option 1: Generate descriptions in the spreadsheet

WP Sheet Editor – AI allows you to generate or edit content in spreadsheet cells. In this case, you can generate new product descriptions or refine existing descriptions.

Depending on the type of descriptions you want to generate, you need to move to the corresponding column:

  • Content: This column allows you to set the products’ long/full description.
  • Short description: This column allows you to set the products’ short description.

You can add full prompts in spreadsheet cells. Just type ai:prompt, replacing “prompt” with the actual full prompt. However, in this example, we will use the global prompt we just created to generate product descriptions, so we need to type:

ai:product-description

woocommerce generate product descriptions with gemini

Once you click ENTER, you’ll see that Gemini will start working to generate your product description.

woocommerce generate product descriptions with gemini

And once the request has been processed and completed, you’ll see the generated product description in the spreadsheet.

woocommerce generate product descriptions with gemini

Here you can see the description we have just generated with Google Gemini AI.

woocommerce generate product descriptions with gemini

Something great is that you can generate multiple product descriptions at once by pasting the same prompt/prompt shortcut in multiple cells at once.

woocommerce generate product descriptions with gemini

And once your product descriptions have been generated, you can save the changes.

woocommerce generate product descriptions with gemini

Writing product descriptions with AI in spreadsheet cells is a great way of saving a lot of time.

Option 2: Generate descriptions in TinyMCE editors

Both Content and Short description columns can be edited using a TinyMCE editor in a popup, and WP Sheet Editor – AI allows you to generate or edit content from those fields with AI in the text editor.

In this case, you’ll be able to generate product descriptions in TinyMCE editors. Just click on Edit in the spreadsheet cell you want to edit.

woocommerce-generate-product-descriptions-gemini

Once the popup opens, you need to click on Edit with AI.

woocommerce-generate-product-descriptions-gemini

Paste the prompt you want to use to generate the product descriptions in the Prompt field and click on Generate.

woocommerce-generate-product-descriptions-gemini

Gemini will start generating your product description, and you’ll be able to edit the description in the text editor.

woocommerce generate product descriptions with gemini

This is great for working with each product individually and pasting the most attention to detail and human changes.

Option 3: Generate descriptions in bulk

WP Sheet Editor allows you to bulk edit any field on thousands of WooCommerce products at once.

And with our Bulk AI API, you can now bulk generate or edit content with AI.

In this case, you’ll be able to bulk write product descriptions with Google Gemini, using WP Sheet Editor’s Bulk Edit tool.

In this example, we will search for all products missing product description and bulk generate the descriptions with Gemini.

Let’s start by opening the Search tool.

woocommerce-generate-product-descriptions-gemini

Now select these values to filter all the products without description:

  • Tick the Enable advanced filters checkbox.
  • Field: Content
  • Operator: =
  • Value: Leave this field empty.
  • Click on Run search.

woocommerce-generate-product-descriptions-gemini

After filtering the products you will edit, you need to open the Bulk Edit tool.

woocommerce-generate-product-descriptions-gemini

Now you can select these values to bulk generate product descriptions with Google Gemini:

  • Select the rows that you want to update: Edit all the rows from my current search.
  • What field do you want to edit: Content
  • Select type of edit: Here you have two options:
    • First option: You can select a pre-saved global prompt. For example, we will select our pre-saved product description prompt, displayed as AI command: Product description. This way, you don’t have to type the prompt.
    • Second option: You can select AI Prompt, and you can paste or type the full prompt.
  • AI Provider: In this example, we will use Google Gemini 2.0 Flash.
  • You can click on Show preview to see the result before saving the changes.
  • Now you can click on Execute Now and Gemini will start generating descriptions.

woocommerce generate product descriptions with gemini

These three ways of generating WooCommerce product descriptions with Google Gemini AI allow you to save a lot of time. You don’t have to manually write the product descriptions, so you can use that time and creativity to other tasks! Of course, product descriptions are not the only thing you can generate with AI. You can use generative AI to edit any field in WP Sheet Editor.

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.