gws-workflow-file-announce
What it does
This command sends a message to a Google Chat space announcing a Google Drive file. It uses the file ID and space name to make the announcement.
When to use it
- ✓When you want your team to see an important new document.
- ✓To quickly share a work file with a specific group.
- ✓When updating a document and wanting to notify relevant people.
Skill link
https://github.com/googleworkspace/cli/blob/main/skills/gws-workflow-file-announce/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Announce file 'XYZ123' in space 'My Team'.”
5 new skills a week. 1 minute to read.
How it works
You provide the Google Drive file ID and the Google Chat space name. The tool fetches the file name and creates the announcement message for you.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
FAQ
Do I need to do anything before using this command?
Yes, you need to have the ID of the Google Drive file you want to announce. If the file hasn't been uploaded yet, you can use the `gws drive +upload` command first.
Can I add a custom message?
Yes, you can use the `--message` option to add an extra note to your announcement.
Where do I find the Google Drive file ID?
The file ID is the part of the Google Drive URL that comes after '/d/' and before '/edit' or '/view'.
Details
Original description by the author
Google Workflow: Announce a Drive file in a Chat space.
repo: googleworkspace/cli
Popularity
- GitHub stars
- 32k
- Ranking position
- #9191
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- …
More skills from this repository
gws-admin-reports
32kHelps your agent get activity reports from Google Workspace. It collects audit and usage data.
gws-calendar-agenda
32kHelps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
gws-calendar-insert
32kLets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
gws-calendar
32kAllows your agent to manage calendars and events. It's useful for organizing your life and work.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.