Drive file names and custom text are disclosed to the target Chat space
Source references: 4The command reads the Drive file name, constructs an announcement, and sends it to a caller-supplied space. The provided material shows no member check or content preview before sending.
If the space is wrong, has an overly broad membership, or the file name or custom message is sensitive, its members will receive that information. The action also leaves a persistent message under the caller's account.
The workflow fetches the Drive filename and sends an announcement to the caller-selected Chat space; an optional custom message is also part of that announcement. If the space identifier is wrong or its membership is broader than intended, the filename and message text could be disclosed. The provided material shows no membership check or pre-send preview. Users can ask for recipient confirmation and message preview, and restrict allowed spaces.
|------|----------|---------|-------------|| `--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 |Show 3 other places
- 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.```bashgws workflow +file-announce --file-id <ID> --space <SPACE>```| `--space` | ✓ | — | Chat space name (e.g. spaces/SPACE_ID) || `--message` | — | — | Custom announcement message || `--format` | — | — | Output format: json (default), table, yaml, csv |