Agent Skills
› googleworkspace/cli
› gws-workflow-file-announce
gws-workflow-file-announce
GitHub用于将 Google Drive 文件在 Chat 空间中发布通知的自动化工作流,支持自定义消息与多种输出格式。
Trigger Scenarios
需要在聊天室中分享或通知特定文件时
结合文件上传操作进行自动公告时
Install
npx skills add googleworkspace/cli --skill gws-workflow-file-announce -g -y
SKILL.md
Frontmatter
{
"name": "gws-workflow-file-announce",
"metadata": {
"version": "0.22.5",
"openclaw": {
"cliHelp": "gws workflow +file-announce --help",
"category": "productivity",
"requires": {
"bins": [
"gws"
]
}
}
},
"description": "Google Workflow: Announce a Drive file in a Chat space."
}
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
Version History
- a3768d0 Current 2026-08-20 07:25


