# Hotel Rate Tracker in Google Sheets: Daily Competitor Prices

**Use case:** 

Build a hotel rate shopping sheet: Google Hotels prices for every hotel and check-in date, with the cheapest booking site and the official website price, updated in place after each daily run. Revenue managers get a live competitor rate grid in Google Sheets without paid rate shopping tools. Try it on our demo sheet, then paste your own sheet link.

## Input

```json
{
  "spreadsheetId": "https://docs.google.com/spreadsheets/d/1XEl1x1BNcQrfP1ZdDyBtvshMn7Pa50-I6eWy6etH9wk/edit",
  "mode": "update",
  "sheetName": "Hotel rates",
  "rawData": [
    {
      "entityId": "sample-1",
      "name": "Sample Hotel Berlin",
      "checkInDate": "2026-10-10",
      "pricePerNight": 189,
      "cheapestSource": "Booking.com",
      "officialPricePerNight": 199
    },
    {
      "entityId": "sample-1",
      "name": "Sample Hotel Berlin",
      "checkInDate": "2026-10-11",
      "pricePerNight": 172,
      "cheapestSource": "Official site",
      "officialPricePerNight": 172
    }
  ],
  "offset": 0,
  "deduplicateByField": "entityId,checkInDate",
  "columnsOrder": [
    "name",
    "checkInDate",
    "pricePerNight",
    "cheapestSource",
    "officialPricePerNight"
  ],
  "onlyListedColumns": false,
  "arrayMode": "join",
  "addTimestamp": true,
  "formatHeader": true,
  "parseValues": false,
  "headerRow": 1
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "text"
  },
  "mode": {
    "label": "Mode",
    "format": "text"
  },
  "sheetName": {
    "label": "Tab",
    "format": "text"
  },
  "rowsAppended": {
    "label": "Rows added",
    "format": "number"
  },
  "rowsUpdated": {
    "label": "Rows updated",
    "format": "number"
  },
  "duplicatesSkipped": {
    "label": "Duplicates skipped",
    "format": "number"
  },
  "columns": {
    "label": "Columns",
    "format": "number"
  },
  "sheetCreated": {
    "label": "New tab",
    "format": "boolean"
  },
  "spreadsheetUrl": {
    "label": "Sheet",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Sheets Import & Export: Sync Datasets, Update Rows](https://apify.com/s_actors/google-sheets-import-export.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/s_actors/google-sheets-import-export.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/s_actors/google-sheets-import-export.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`).
