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

**Use case:** 

Have a Google Sheet or Excel file with one ChatGPT prompt per SKU, product or row? Paste the link and every prompt runs exactly as written with GPT-5 Mini, no copy-pasting into ChatGPT one by one. You get your sheet back as Excel with the answer next to each row. Works for product descriptions, emails, summaries and more.

## Input

```json
{
  "prompts": [
    "{{Prompt}}"
  ],
  "spreadsheet_file": "https://api.apify.com/v2/key-value-stores/I40EWpLzQaVq08gCm/records/sku-chatgpt-prompts-sample.csv",
  "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",
  "enable_web_search": false,
  "enable_file_parser": false,
  "temperature": 70,
  "max_tokens": 2048,
  "response_format": "text",
  "reasoning_effort": "low",
  "provider_sort": "default",
  "max_retries": 2,
  "concurrency": 4
}
```

## Output

```json
{
  "prompt": {
    "label": "Prompt",
    "format": "text"
  },
  "model": {
    "label": "Model",
    "format": "text"
  },
  "response": {
    "label": "Response",
    "format": "text"
  },
  "tools_used": {
    "label": "Tools used",
    "format": "array"
  },
  "cost_usd": {
    "label": "Cost (USD)",
    "format": "number"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Run ChatGPT, Claude, Gemini & DeepSeek in Bulk (No API Key)](https://apify.com/fayoussef/bulk-llm-runner.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fayoussef/bulk-llm-runner.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/fayoussef/bulk-llm-runner.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
