Extracts each row from a spreadsheet, assigns a category to it using ChatGPT, and updates the row

Automatically classify your spreadsheet data with a sprinkle of AI magic.

  • Execute the task periodically
  • Extract the next new row (gspreadsheet → read_row)
  • Send a Prompt for a structured response (chatgpt → completion_as_data)
  • Update a row of a sheet (gspreadsheet → update_row_by_number)

Manually reviewing every row in your Google Sheets and categorizing text entries is a tedious, error-prone grind—especially if you’re handling dozens or hundreds of updates on a regular basis. Not only does this sap valuable focus and time, but it also exposes you to inconsistencies that undermine data quality. Left unautomated, you end up spending hours on repetitive admin work, losing momentum on analysis and missing out on faster reporting cycles—all of which can hinder business decisions, cost money, and kill productivity.

This formula by Botize completely transforms that process: it reads each new row in your sheet, sends the specified column’s content straight to ChatGPT, which assigns it a category from your own predefined list, and then instantly updates the result in the column you've chosen. Set the automation to run as often as you want—every hour, or at your preferred interval—and customize which columns and categories to use. No more repetitive sorting or second-guessing: each item is classified with consistency, accuracy, and the speed of AI. The before: hours lost poring over data and worrying about errors; the after: hands-off precision and up-to-date categorization, letting you get back to work that matters.

Ready to put your spreadsheets on autopilot? Let’s walk through how to set it up in just a few steps. You have full control over sheet selection, categorization lists, column mapping, and processing frequency—so it works exactly the way you need. Or, if you prefer, you can jump straight to the ready-made formula in Botize where everything’s prepared for you. Let’s dive in and unlock your next big productivity win!

Automate this task with 4 simple prompts

Copy and paste the following prompts into Botize's AI task editor

  1. 2

    Select the AI editing tool.

    AI Prompt Tool
  2. 3

    Let's set up a trigger so that this automation runs every hour.

    Copy and paste this prompt into the AI editing tool.

    Schedule this automation to run automatically every 1 hour. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  3. 4

    Now, let's add a step to read each new row from the specified Google Sheets document.

    Copy and paste this prompt into the AI editing tool.

    Extract the next new row from the first sheet of my Google Sheets document, and pull out the values from column A (or another specified column), along with the row number. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  4. 5

    Next, let's send the text from the selected column to ChatGPT so it can assign a category.

    Copy and paste this prompt into the AI editing tool.

    Take the value from the chosen column in the current row and ask ChatGPT to classify it into one of these categories: Ficción, No ficción, Ciencia ficción, Fantasía, Biografías, Historia, Misterio y suspense, Autoayuda, Romance, Desarrollo personal. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  5. 6

    Finally, let's update the sheet with the category assigned by ChatGPT.

    Copy and paste this prompt into the AI editing tool.

    Write the assigned category from ChatGPT into column B (or the specified column) of the same row in the sheet. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  6. 7

    Your automation is ready to use. Click the 'Save changes' button.

    Save changes

Transform Your Spreadsheet Chaos into Clarity

Experience the magic of automation: From extracting rows in Google Sheets to categorizing them through ChatGPT, and updating instantly - it's all seamless now!

Manual Botize
Classifying rows manually 120 0 Minutes
Verifying updates 30 0 Minutes
Total 150 0 Minutes

Yes, this is exactly what you've been searching for: a smarter way to manage your data!


Book Genre Classification

Automatically assign genres to your book inventory to make data management a breeze.

Time Saver

No more manual categorization—let AI do the heavy lifting.

Boost Productivity

Focus on what matters while automation handles the rest.

Consistent Results

Enjoy precise classifications every single time.


Customer Feedback Analysis

Sort customer comments by sentiment or topic, gaining insights at a glance.

🚀

⌾︎ You need to classify large datasets seamlessly.

⌾︎ You love efficiency and cutting-edge tech.

🛑

âś• You don't use spreadsheets at all.

âś• You prefer doing everything manually.


âś“ Select any column for classification input.

âś“ Define your own category list to suit any need.

âś“ Choose where to update the classified data in your sheet.




It extracts each row from a Google Sheets document, takes the value from column A (or a specified column), sends it to ChatGPT to assign a category from a predefined list, and updates the result in column B (or the column you specify). You will need to provide the Google Sheets URL, specify which column contains the text to be classified, customize the category list, and define in which column the assigned category will be stored.

Related automations