Home > Docs > Product Import Export Plugin for WooCommerce > Automatically Generate Product Description using ChatGPT while Importing Products via CSV

Automatically Generate Product Description using ChatGPT while Importing Products via CSV

Last updated on September 20, 2023

Using Product Import Export Plugin For WooCommerce, you can easily import all the products from one store to another. However, there may be instances where the products in the CSV may have empty post_content, that is, the description for the product won’t be there. In such cases, simply enable the ChatGPT option in the plugin interface and import. This action will auto-generate description for the imported product from the product name, that is, post_title provided in the input file using the ChatGPT API.

Empty post content in CSV file
Empty post content in CSV file

Sample CSV for generating description using ChatGPT.

To begin with the process, download and install the Product Import Export Plugin For WooCommerce and follow the below mentioned steps.

Step 1: Enable ChatGPT

Once the plugin is activated, navigate to WebToffee Import/Export(Pro) > General Settings. Under General tab, expand Advanced options and enable ChatGPT as shown. Enabling this option will automatically generate product descriptions from product titles.

  • ChatGPT API Key: In this field, enter the ChatGPT API Key. Click here to find your secret API key.
  • ChatGPT Tone: Here, you can choose the tone that best suits your product descriptions from formal, casual, flowery and convincing. Click on Update Settings to save changes.
Enabling ChatGPT
Enabling ChatGPT

Step 2: Import products

From the WordPress admin dashboard, navigate to WebToffee Import/Export(Pro) > Import and follow these steps.

  1. Step 1: Select a post type – Select the post type as Product.
  2. Step 2: Select an import method – Select an import method and upload the import file(product description, that is, post_content column must be empty).
  3. Step 3: Map import columns – Here, you can map, edit and reorder the import columns.
  4. Step 4: Advanced options – Provides advanced options for import and schedule import.

Know more about importing products.

Importing product successfully
Importing product successfully

Generated product description

The product description auto-generated using ChatGPT will appear on the Edit product page as shown below.

Product description added automatically using ChatGPT
Product description added automatically using ChatGPT