# Schedule Google Chat messages

Send messages to a Google Chat space on a schedule: standup prompts, reminders, and daily numbers from any API, through the space's incoming webhook.

## Example: a daily standup prompt

```json
{
  "name": "Standup prompt",
  "cron": { "expression": "0 10 * * 1-5", "time_zone": "Asia/Kolkata" },
  "nodes": [
    { "id": "post", "google_chat_send_message": {
        "webhook_url": "https://chat.googleapis.com/v1/spaces/AAAAxyz/messages?key=KEY&token=TOKEN",
        "text": "*Standup* for {{ format(now:Asia/Kolkata, \"ddd DD MMM\") }}: what did you ship, what's next, anything blocked?" } }
  ]
}
```

## Set up

In Google Chat, open the space, then **Apps & integrations → Webhooks → Add webhook**. Copy the URL into `webhook_url`. It includes a key and token, so keep it private.

## Reference

### Send a Google Chat message: `google_chat_send_message`

**Sends** POST to the space’s incoming webhook URL with `{"text": …}`. **Output** for the next step: The created message.

| Field | Type | Notes |
| --- | --- | --- |
| `webhook_url` | string, required | A space webhook, `https://chat.googleapis.com/v1/spaces/…`. Space → Apps & integrations → Webhooks. |
| `text` | string, required | Up to 4,096 characters. `*bold*`, `_italic_`, `<https://example.com\|link>`. Placeholders allowed. |

## More ideas

- Post yesterday's sales from your store's API every morning: `0 8 * * *`.
- Remind a space about a weekly review: `0 14 * * THU`.
- Post a [weather forecast](/integrations/open-meteo) before a site visit.
