Labsco
googleworkspace logo

gws-workflow-file-announce

โœ“ Officialโ˜… 29,425

by Google ยท part of googleworkspace/cli

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

๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup
๐Ÿงฐ Not standalone. This skill ships with googleworkspace/cli and only works together with that tool โ€” install the tool first, then add this skill.

This is the playbook your agent receives when the skill activates โ€” you don't need to read it to use the skill, but it's here to audit before installing.

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

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

  • gws-shared โ€” Global flags and auth
  • gws-workflow โ€” All cross-service productivity workflows commands