Skip to content
Skillpedia
Automations32k · #9191

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.md

Copy 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

Use this skill to help me: https://github.com/googleworkspace/cli/blob/main/skills/gws-workflow-file-announce/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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.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

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

See Also

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills