---
name: gws-workflow-file-announce
description: "Google Workflow: Announce a Drive file in a Chat space."
license: "Apache-2.0"
metadata:
  decimalai-skill-id: "67c8e2c4-46d1-4c4f-95a3-a65d2e373ab4"
  decimalai-version-id: "e9c4ce55-fb0b-4f1c-9c17-f7216e65b6f3"
  decimalai-version: "1"
  decimalai-body-sha256: "df4bbb627b64fb39a1e51455de82a905ecb9f94e2867c4211c4841e355f4e2a7"
  decimalai-name: "gws-workflow-file-announce"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "productivity"
  decimalai-source: "https://app.decimal.ai/s/gws-workflow-file-announce@1/SKILL.md"
---
# workflow +file-announce

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

Announce a Drive file in a Chat space

## Usage

```bash
gws workflow +file-announce --file-id <ID> --space <SPACE>
```

## Flags

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--file-id` | ✓ | — | Drive file ID to announce |
| `--space` | ✓ | — | Chat space name (e.g. spaces/SPACE_ID) |
| `--message` | — | — | Custom announcement message |
| `--format` | — | — | Output format: json (default), table, yaml, csv |

## Examples

```bash
gws workflow +file-announce --file-id FILE_ID --space spaces/ABC123
gws workflow +file-announce --file-id FILE_ID --space spaces/ABC123 --message 'Check this out!'
```

## Tips

- This is a write command — sends a Chat message.
- Use `gws drive +upload` first to upload the file, then announce it here.
- Fetches the file name from Drive to build the announcement.

## See Also

- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
- [gws-workflow](../gws-workflow/SKILL.md) — All cross-service productivity workflows commands
