Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Announce a Google Drive file in a Google Chat space using the gws CLI.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: gws-workflow-file-announce3description: "Google Workflow: Announce a Drive file in a Chat space."4metadata:5version: 0.22.56openclaw:7category: "productivity"8requires:9bins:10- gws11cliHelp: "gws workflow +file-announce --help"12---1314# workflow +file-announce1516> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.1718Announce a Drive file in a Chat space1920## Usage2122```bash23gws workflow +file-announce --file-id <ID> --space <SPACE>24```2526## Flags2728| Flag | Required | Default | Description |29|------|----------|---------|-------------|30| `--file-id` | ✓ | — | Drive file ID to announce |31| `--space` | ✓ | — | Chat space name (e.g. spaces/SPACE_ID) |32| `--message` | — | — | Custom announcement message |33| `--format` | — | — | Output format: json (default), table, yaml, csv |3435## Examples3637```bash38gws workflow +file-announce --file-id FILE_ID --space spaces/ABC12339gws workflow +file-announce --file-id FILE_ID --space spaces/ABC123 --message 'Check this out!'40```4142## Tips4344- This is a write command — sends a Chat message.45- Use `gws drive +upload` first to upload the file, then announce it here.46- Fetches the file name from Drive to build the announcement.4748## See Also4950- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth51- [gws-workflow](../gws-workflow/SKILL.md) — All cross-service productivity workflows commands52