How to use Rows AI to create lists

Learn how to use Rows AI inside the spreadsheet to create lists of data.

Rows AI template

There's a near-infinite amount of tasks you can solve using Rows AI. Follow this guide on how to set up the integration and use this template showcase to get started with 10 pre-built examples, follow along the list, or watch our video tutorial.

Connect the Rows AI integration

To connect the integration, open a new spreadsheet, and search for the Rows AI inside the Data panel.

SCR-20250808-jsmj-2

Finally, Connect the integration to get started.

How to use CREATE_LIST_AI to create lists of data

Tips for creating lists of data

Specify the number of items expected

As a second parameter, you can specify the number of items you expect from the list or table, such as 5. In this case, the table will contain 5 rows.

Use the max_tokens parameter

Set a large number in the max_tokens argument to ensure that the OpenAI response is not inadvertently capped to the default max_token value (200).

If that happens, the ASK_OPENAI formula response will be an incomplete JSON file, like the one below. This is an indication that the max_tokens parameter might be too low.

Incomplete JSON

Be clear on the columns' names

Be specific on which columns you expect to be part of the list. If you want a list of the names of the last 5 US Presidents, include exactly what you want to see.

1=CREATE_LIST_AI("Names and birth dates of the last 5 US Presidents",5,,500)

US Presidents

Be clear on the columns formats

The same applies to the formats of the data. If you want the output to be formatted in a specific way - e.g. dates as YYYY-MM-DD be explicit on the prompt.

1=CREATE_LIST_OPENAI("Names and birth dates (YYYY-MM-DD) of the last 5 US Presidents",5,,500)

US Presidents YYYY-MM-DD

Examples

Create a table with dummy names and email addresses

Goal

Create a table with 10 names and email addresses to create a dataset to test a feature in QA.

Example

1=CREATE_LIST_OPENAI("First names, last names and email addressess",10,,500)

Dummy email addresses

💡 Add variations to the prompt to get different responses of the same structure. If you want to generate a list of email addresses but add diversity to them (e.g mix English with non-English names), be specific on the prompt:

1=CREATE_LIST_OPENAI("First names, last names and email addresses. It should contain a mix of nationalities",10,,500)

Emails mix