Cli gws-workflow-file-announce

Google Workflow: Announce a Drive file in a Chat space.

install
source · Clone the upstream repo
git clone https://github.com/googleworkspace/cli
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/googleworkspace/cli "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/gws-workflow-file-announce" ~/.claude/skills/googleworkspace-cli-gws-workflow-file-announce && rm -rf "$T"
manifest: skills/gws-workflow-file-announce/SKILL.md
source content

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

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

Flags

FlagRequiredDefaultDescription
--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 +upload
    first to upload the file, then announce it here.
  • Fetches the file name from Drive to build the announcement.

See Also