gws-workflow-file-announce

Announces a Google Drive file in a Google Chat space via the gws CLI.

Updated Nov 9, 2023
One-click install
npx skills add https://github.com/oresttokovenko/dot-files --skill gws-workflow-file-announce-oresttokovenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-workflow-file-announce
Source: https://github.com/oresttokovenko/dot-files/tree/main/chezmoi/dot_agents/skills/gws-workflow-file-announce
Command: npx skills add https://github.com/oresttokovenko/dot-files --skill gws-workflow-file-announce-oresttokovenko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Sharing a Drive file often requires manually copying links and composing notification messages in Chat. This Skill automates that step by posting an announcement of a specific Drive file directly into a Chat space with a single command. ## Core Features & Use Cases - Drive-to-Chat Announcement: Posts a message about a Drive file into a specified Chat space, automatically fetching the file name from Drive. - Custom Messages: Supports an optional custom announcement message and multiple output formats (json, table, yaml, csv). - Use Case: After uploading a report with gws drive +upload, immediately notify your team by announcing the file in the team's Chat space without switching apps. ## Quick Start Ask the assistant to announce a Drive file in a Chat space by providing the file ID and the space name, optionally with a custom message.

Frequently Asked Questions about gws-workflow-file-announce

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I announce a Google Drive file in a Chat space?

Run gws workflow +file-announce with the --file-id and --space flags. The command fetches the file name from Drive and posts an announcement message to the specified Chat space.

How to add a custom message when sharing a Drive file to Chat?

Pass the --message flag with your custom text, for example --message 'Check this out!'. Without it, the command builds a default announcement using the file name fetched from Drive.

What is required before using gws workflow +file-announce?

You need the gws binary installed and authentication configured as described in the gws-shared skill. You also need a valid Drive file ID and a Chat space name in the form spaces/SPACE_ID.

Does announcing a file in Chat modify the Drive file?

No, it only sends a Chat message referencing the file. It is a write command for Chat, but the Drive file itself is only read to fetch its name for the announcement.

What output formats does the file-announce workflow support?

The --format flag supports json (default), table, yaml, and csv. Choose the format that fits your downstream processing or readability needs.