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 November 21, 2024

Using Product Import Export Plugin For WooCommerce, you can easily import all the products from one store to another. However, if the CSV file contains products with missing descriptions (empty post_content), simply enable the ChatGPT option in the plugin interface during import. This feature will automatically generate product descriptions based on their names (post_title) using the ChatGPT API, ensuring no product is left without a description.

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

Sample CSV for generating description using ChatGPT.

To begin 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 auto-generated product description using ChatGPT will appear on the Edit product page, as shown below.

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