Amazon Seller & ChatGPT: Customers by Number of Units Purchased

Amazon Seller & ChatGPT: Customers by Number of Units Purchased

Managing an Amazon store’s performance can be overwhelming, especially with the vast amounts of sales and customer data to analyze. However, understanding customer ordering behavior, like the number of units purchased, helps businesses tailor their product availability and pricing. By identifying key quantity ranges, companies can better align their offerings with customer demand and improve inventory planning. This article will explore how you can use ChatGPT and Defog, through its seamless integration with Amazon Seller Central and Google Sheets, to help plot a chart showing the number of customers who bought only one, two, three, or more units from the store.

Artificial Intelligence (AI) revolutionizes how Amazon sellers manage and analyze their sales data. It helps them uncover valuable trends and predict customer demand. By using tools like Defog, sellers can automate the organization and analysis of their sales information. 

This streamlined process enables sellers to understand the number of customers who purchase various units efficiently. This information allows sellers to optimize their advertising, product pricing, inventory, and promotional strategies, aligning them with customer needs to maximize growth. By analyzing customer behavior at scale, sellers can make data-driven decisions that enhance visibility, increase sales, and boost profitability.

This is what the results of this article will look like:


One good thing about doing this in Defog’s spreadsheet is that as soon as Defog updates the data, you will have the latest information about your customer behavior as the answer if you repeat the prompt. 

ChatGPT – Setting Up Google Sheets Integration

Step 1: To facilitate the data upload from Defog to ChatGPT, we suggest you connect your ChatGPT with Google Drive. Here is how to set up this integration. Start by clicking on the paper clip icon and then click on Connect to Google Drive (see images below):

Follow the login and authorization process presented by Google Drive. Then, you can upload data from Google Drive to ChatGPT.

ChatGPT – Upload Your Defog from Google Drive

Step 2: Now that you have connected your Google Drive with ChatGPT, click on the paper clip icon again and then click Add from Google Drive.


You can choose your Defog on Google Drive. In this example, we will use a Defog named “Joe’s Coffee – Defog.”

Using ChatGPT to Generate a Bar Chart Visualizing the Percentage of Customers per Range of Units Ordered

Step 3: Copy and paste the prompt below into your ChatGPT and press send.

I need help analyzing the OrdersTable worksheet. The goal is to generate a histogram chart showing the percentage of the number of unique customers who purchased the same range of units. For example, 70% of customers bought just one unit, 8% bought between 6 and 10 units, etc. Please create the chart for the following ranges: 1, 2, 3, 4 to 5, 6 to 10, and more than 10. Sort the chart by the ranges in ascending order.

After ChatGPT analyzes the data, you will get a result like the one below.

You may change the ranges following your store’s needs, of course.

Visit this article if you want to create a dashboard in Google Sheets that tracks monthly advertising and organic sales trends, enabling you to analyze performance and customer buying patterns without relying on external tools like ChatGPT.

If you want to learn what a particular column stands for on Defog’s tables, please visit our glossary.

Thank you for reading this post. If you still haven’t used Defog, you can do so for free here.

If you need any help, we are here for you.

Disclaimer: Defog is not responsible for any decisions made by the reader of this post regarding the data, formulas, and visuals provided.