# New Review Created (Multiple Locations) — Google Business Profile

> Emit new event for each new review on any of the selected locations See the documentation

- Key: `google_my_business-new-review-created-multiple-locations`
- Type: Trigger (Polling)
- Version: 0.0.5
- App: Google Business Profile (`google_my_business`) — https://pipedream.com/apps/google-my-business.md
- This page (HTML): https://pipedream.com/apps/google-my-business/triggers/new-review-created-multiple-locations
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/google_my_business/sources/new-review-created-multiple-locations/new-review-created-multiple-locations.ts

## Description

Emit new event for each new review on any of the selected locations [See the documentation](https://developers.google.com/my-business/content/review-data#get_reviews_from_multiple_locations)

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `timer` | `$.interface.timer` | Yes | Timer |
| `account` | `string` | Yes | Select an Account or provide a custom Account Name. Options are loaded from the connected account. |
| `location` | `string[]` | Yes | One or more locations to monitor for new reviews Options are loaded from the connected account. |

## Returns

Events emitted by Google Business Profile.

## Run it

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const deployed = await pd.triggers.deploy({
  id: "google_my_business-new-review-created-multiple-locations",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    google_my_business: { authProvisionId: "apn_xxxxxxx" },
    timer: { "intervalSeconds": 900 },
    account: "Account Name",
  },
  webhookUrl: "https://example.com/webhooks/google-my-business",
})

console.log(deployed.id)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/triggers/deploy \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "google_my_business-new-review-created-multiple-locations",
    "webhook_url": "https://example.com/webhooks/google-my-business",
    "configured_props": {
      "google_my_business": { "authProvisionId": "apn_xxxxxxx" },
      "timer": { "intervalSeconds": 900 },
      "account": "Account Name"
    }
  }'
```

**MCP**

MCP servers expose Google Business Profile actions as on-demand tools.

New Review Created (Multiple Locations) is an event source, so your application deploys it with the Connect SDK or API and then either receives each event at a webhook URL or retrieves events on demand with the trigger events API.

## Event delivery

Every event is sent to the HTTP endpoint you choose when you deploy the source. Or: no webhook required — your app or agent can fetch recent events from the [trigger events API](https://pipedream.com/docs/connect/api-reference/list-trigger-events.md) instead.

---

- App: https://pipedream.com/apps/google-my-business.md · All apps: https://pipedream.com/apps
