---
title: "Run a ChatGPT prompt for every row of a Google Sheet"
slug: "run-chatgpt-prompts-from-google-sheet"
type: "apify-task-example"
url: "https://automationbyexperts.com/apify/examples/run-chatgpt-prompts-from-google-sheet"
actor: "Run GPT, Claude, DeepSeek... Prompts in Bulk (No API Key)"
actor_url: "https://automationbyexperts.com/apify/bulk-llm-runner"
apify_url: "https://apify.com/fayoussef/bulk-llm-runner/examples/run-chatgpt-prompts-from-google-sheet?fpr=youssef&fp_sid=abe_ex_run-chatgpt-prompts-from-google-sheet"
price: "$0.002"
price_unit: "per result"
---

# Run a ChatGPT prompt for every row of a Google Sheet

One ChatGPT prompt per row, run for a whole Google Sheet or Excel file. Paste the link, get the file back with each answer in a new column. No API key of your own required.

**Run it:** [Run a ChatGPT prompt for every row of a Google Sheet on Apify](https://apify.com/fayoussef/bulk-llm-runner/examples/run-chatgpt-prompts-from-google-sheet?fpr=youssef&fp_sid=abe_ex_run-chatgpt-prompts-from-google-sheet)  
**Actor:** [Run GPT, Claude, DeepSeek... Prompts in Bulk (No API Key)](https://automationbyexperts.com/apify/bulk-llm-runner)  
**Pricing:** $0.002 per result

## What this task is for

The prompt column is used exactly as written, one run per row, with GPT-5 Mini behind it and a system prompt that tells the model to return finished copy with no preamble. That is the difference between an export you can paste into a product feed and one you have to clean up first.

It replaces the copy-paste loop of putting each row into ChatGPT by hand, which is what makes a few hundred product descriptions, emails or summaries a single run. Billing is per result, and no OpenAI account or API key is needed because the actor carries the model access.

## The input this task runs with

```json
{
  "spreadsheet_file": "https://api.apify.com/v2/key-value-stores/I40EWpLzQaVq08gCm/records/sku-chatgpt-prompts-sample.csv",
  "prompts": [
    "{{Prompt}}"
  ],
  "system_prompt": "You are an ecommerce copywriter. Follow each prompt exactly as written and return only the finished copy, with no preamble, headings or notes.",
  "model": "openai/gpt-5-mini",
  "response_format": "text"
}
```

## What every run returns

- `Prompt`
- `Model used`
- `Response text`
- `Structured JSON columns`
- `Web search sources`
- `Source row (Excel/CSV/Sheet)`
- `Status`
- `Timestamp`

## How to run it

1. Open the task on Apify. New accounts get $5 of free credit.
2. Check the pre-filled input above and change anything you need.
3. Click Run. Pagination, proxies and anti-bot handling are automatic.
4. Export CSV, JSON or Excel, or save it as your own task and schedule it.

---

Part of [AutomationByExperts](https://automationbyexperts.com) - see [all example tasks](https://automationbyexperts.com/apify/examples) or [request a new one](https://automationbyexperts.com/suggest).
