Gws Workflow File Announce
googleworkspace/cliThis skill allows users to announce a Google Drive file in a Google Chat space by sending a message with a link or custom message. It supports uploading files beforehand and fetching file details dynamically, making it ideal for teams and productivity workflows. Designed for users who want to automate sharing files within Workspace, it integrates seamlessly with other commands and offers customizable output formats.
workflow +file-announce
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it. Announce a Drive file in a Chat space
Usage
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
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 +uploadfirst to upload the file, then announce it here. - Fetches the file name from Drive to build the announcement.
See Also
- gws-shared — Global flags and auth
- gws-workflow — All cross-service productivity workflows commands
GitHub Owner
Owner: googleworkspace
GitHub Links
- Website: https://developers.google.com/workspace
- Twitter: https://twitter.com/workspacedevs
Files
gws-shared
gws-workflow
SKILL.md
name: gws-workflow-file-announce version: 1.0.0 description: "Google Workflow: Announce a Drive file in a Chat space." metadata: openclaw: category: "productivity" requires: bins: ["gws"] cliHelp: "gws workflow +file-announce --help"
workflow +file-announce
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it. Announce a Drive file in a Chat space
Usage
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
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 +uploadfirst to upload the file, then announce it here. - Fetches the file name from Drive to build the announcement.
See Also
- gws-shared — Global flags and auth
- gws-workflow — All cross-service productivity workflows commands