Source Nate Herk: AIOS course
Ch 10: Google Workspace CLI (GWS)
Collection: Nate Herk: AIOS course · Creator: Nate Herk (@nateherk)
Original: raw source · demo-lab/research/nate-herk-course/transcript.txt @ 0:51:00 · 3,775 words · 10 sections
Content by Nate Herk (@nateherk). Chapter starts at 0:51:00. Auto-transcribed; names may be misheard.
Summary
- And what happened was I realized that across my company, Everyone had spun up so many different Google Docs and so many different Google Sheets and we had tracker sheets all over and Google search is horrible.
- So if that doesn't appeal to you or not interesting to you, or you already have it set up, then go ahead and skip past this next part, but I'm gonna play this clip real quick.
- The first thing that I wanted to show you is if you go down here to the skills, this is where we can actually see all of the different kind of recipes they call them for pre-made multi-step workflows that it has.
- So I just said, hey, I finished option B, the credentials are called client underscore secret, and then I told it to run the auth login.
- But anyways, I just wanted to give you guys a little taste of how you can use the GWS CLI, but also use it with other tools to make the functionality even more powerful.
Entities mentioned
Google · Claude Code · CLI · GWS CLI · Google Docs · GitHub · Google Workspace · YouTube · Gmail · MCP · OAuth · ClickUp · Skool
Topics
Topic: youtube video · google · gave · Topic: project · step
Key points by section
[0:51:00]
- If 500, new community members showed up on Monday, what would break first and growth lever, what would give you 500 more clients tomorrow?
- Every time that you answer these five questions, it will find an opportunity for you to automate something, to build a skill out of something, to connect something else.
- And that is why I built these two skills to go together, audit and level up, to make sure that you're constantly improving and that you don't ever feel alone and you don't ever feel stuck with your AI OS.
- And what happened was I realized that across my company, Everyone had spun up so many different Google Docs and so many different Google Sheets and we had tracker sheets all over and Google search is horrible.
- Topic: Topic: youtube video · google · gave
[0:52:30]
- And it created this Google sheet because it analyzed everything that was going on in that dock.
- Another thing I was able to do is I have like all my YouTube videos stored locally and it was able to search through that, organize everything, date, everything, and then upload all of that to drive.
- So it can just help you organize things, move things around, create things.
- And all of this living inside of my Google Drive, inside of a shared company Google Drive, is awesome because it can find things instantly.
- Topic: Topic: youtube video · google · gave
[0:54:00]
- So if that doesn't appeal to you or not interesting to you, or you already have it set up, then go ahead and skip past this next part, but I'm gonna play this clip real quick.
- Google just dropped what some are already calling the most powerful workspace CLI on the internet.
- So it can search list upload download move copy share anything in my Google Drive.
- These are patterns for common tasks like code, code, and then you can do a command patterns for common tasks like creating docs from templates, reading sheet data, and creating a report doc, finding free time and scheduling a meeting, and there are over a hundred of these that it actually has.
- Topic: Topic: youtube video · google · gave
[0:55:30]
- And now what it's doing is it's creating the Google doc, not via API call, not via MCP, but via a bash command, meaning it's literally running a terminal command in order to talk to Google and make this.
- It's got the image inserted up here as a header, it's got a link that goes right back to my YouTube channel, it breaks down the market, traditional automation, it goes through all this stuff, and then even has my CTA at the bottom as you can see after all of these horizontal lines to join the plus group.
- So that was obviously just one quick example, but there's so many different benefits here using this workspace CLI.
- So basically, like I said, it was one GWS CLI that Claude Code now has access to, and it can access my Gmail, my Drive, Docs, Sheets, Calendar, Admin, and more.
- Topic: Topic: youtube video · google · gave
[0:57:00]
- And this is an open source Google workspace product. and obviously it's completely free.
- So I'll leave a link to this GitHub repository down in the description if you wanna check it out, read more about it.
- The first thing that I wanted to show you is if you go down here to the skills, this is where we can actually see all of the different kind of recipes they call them for pre-made multi-step workflows that it has.
- As you can see, creating events from sheets, creating presentations, creating meet space, label and archiving emails.
- Topic: Topic: project · step
[0:58:30]
- And you can see, like I said, when Google workspace adds an API end points or method, GWS picks it up automatically.
- What I do is I basically copy the link to this GitHub repository, as you can see.
- And I'm gonna basically just give it to Claude Code and say, hey, I want to install this GWS CLI, read through the documentation and help me install everything that I need to install.
- So new project, I'm gonna call this one, Claude code GWS, and we're just gonna go ahead and create this project.
- Topic: Topic: project · step
[1:00:00]
- So I'm gonna go back into APIs and services, I'm gonna go to credentials, and then I'm gonna go ahead and do a create credential of client ID.
- I called mine client underscore secret, and Claude Code will be able to look at this globally now.
- And so what you'll notice is that we didn't in this project yet enable these APIs.
- So it says the last step is to run gws auth login.
- Topic: Topic: project · step
[1:01:30]
- So I just said, hey, I finished option B, the credentials are called client underscore secret, and then I told it to run the auth login.
- And it went ahead and pulled links to all five of these because obviously that was a very vague request.
- But like I said, I just got this set up today and I've been playing around with it a ton in my executive assistant project and it's been awesome.
- So here I'm asking it to grab my unread emails from today and based on what it knows about my business
- Topic: Topic: project · step
[1:03:00]
- So then I started playing around with the Google Slides because I use Gamma right now, but at some point I could imagine that if this gets good enough, then I wouldn't need Gamma anymore.
- You created this using the Google Slides, and it's okay, but there's some weird things that I need you to fix.
- But we have custom images here that were generated with Nano Banana 2.
- We've got this slide. and it even ends with a CTA for the free Skool community.
- Topic: Topic: youtube video · google · gave
[1:04:30]
- So just to see what else happens, I'm gonna say take a look at the slide deck and do another audit.
- So it's gonna go ahead, open up a tab as you guys just saw, it's gonna take images, it's gonna flick through the different slides and capture them, and as you can see over here, it now says, take screenshot, and now it's reading that screenshot right there.
- And we could probably do a similar visual and validate flow with creating Google Docs as well.
- But anyways, I just wanted to give you guys a little taste of how you can use the GWS CLI, but also use it with other tools to make the functionality even more powerful.
- Topic: Topic: project · step
Backlinks
CLI · Claude Code · ClickUp · GWS CLI · GitHub · Gmail · Google · Google Docs · Google Workspace · MCP · OAuth · Skool · YouTube · Index · Topic: project · step · Topic: youtube video · google · gave